pkgsrc/cad
mef d83949aa37 Update cad/MyHDL from 0.9.0 to 0.10
pkgsrc packages altered:
 - cad/MyHDL-gplcver
 - cad/MyHDL-iverilog
 - cad/py-MyHDL

upstream changelog
------------------------
What’s new in MyHDL 0.10

The block decorator

Rationale

The historical approach for hierarchy extraction in MyHDL suffers from
significant issues. This results in complex code, a number of non-intuitive API
concepts, and difficulties for future development.

In this release, a new block decorator is introduced to address these issues.

For an in-depth discussion, see mep-114.

API

block() :noindex:

    The block decorator enables a method-based API which is more consistent,
    simplifies implementation, and reduces the size of the myhdl namespace.

    The methods work on block instances, created by calling a function
    decorated with the block decorator:

    @block
    def myblock(<ports>):
    ...
    return <instances>

    inst = myblock(<port-associations>)
    # inst supports the methods of the block instance API

The API on a block instance looks as follows:

<block_instance>.run_sim(duration=None)

    Run a simulation “forever” (default) or for a specified duration.

<block_instance>.config_sim(backend='myhdl', trace=False)

    - Optional simulation configuration:
    - backend: Defaults to ‘myhdl
    - trace: Enable waveform tracing, default False.

<block_instance>.quit_sim()

    Quit an active simulation. This is method is currently required because
    only a single simulation can be active.

<block_instance>.convert(hdl='Verilog', **kwargs)

    - Converts MyHDL code to a target HDL.
    - hdl: ‘VHDL’ or ‘Verilog’. Defaults to Verilog.
    - Supported keyword arguments:
    - path: Destination folder. Defaults to current working dir.
    - name: Module and output file name. Defaults to self.mod.__name__.
    - trace: Whether the testbench should dump all signal waveforms. Defaults to
      False.
    - testbench: Verilog only. Specifies whether a testbench should be created.
      Defaults to True.
    - timescale: timescale parameter. Defaults to ‘1ns/10ps’. Verilog only.

<block_instance>.verify_convert()

    Verify conversion output, by comparing target HDL simulation log with MyHDL
    simulation log.

<block_instance>.analyze_convert()

    Analyze conversion output by compilation with target HDL compiler.

Backwards compatibility issues

In the 0.10 release, the old API still available next to the new API based on
the block decorator.

It is likely that the old API will be deprecated in a future release, resulting
in backwards incompatibility for legacy code. Therefore, users are encouraged
to start using the new API in their development methodology.
2018-04-12 15:08:58 +00:00
..
adms Add SHA512 digests for distfiles for cad category 2015-11-03 00:21:15 +00:00
atlc Add SHA512 digests for distfiles for cad category 2015-11-03 00:21:15 +00:00
boolean Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
cascade Sort PLIST files. 2018-01-01 22:29:15 +00:00
cgi-wcalc
covered Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
dinotrace Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:37:46 +00:00
dinotrace-mode Add SHA512 digests for distfiles for cad category 2015-11-03 00:21:15 +00:00
diylc Update HOMEPAGE. 2017-09-11 07:51:44 +00:00
eagle The licensing terms for EAGLE changed in version 7.7, when Autodesk inc 2017-04-26 21:28:34 +00:00
electric Extend SHA512 checksums to various files I have on my local distfile 2017-03-23 17:06:45 +00:00
fastcap Sort PLIST files. 2018-01-01 22:29:15 +00:00
fasthenry Sort PLIST files. 2018-01-01 22:29:15 +00:00
felt Sort PLIST files. 2018-01-01 22:29:15 +00:00
freehdl Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:37:46 +00:00
gdsreader Add SHA512 digests for distfiles for cad category 2015-11-03 00:21:15 +00:00
geda Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
gerbv Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
ghdl recursive bump after mpfr shlib major bump 2018-01-28 16:24:10 +00:00
gnetman Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
gnucap Convert all occurrences (353 by my count) of 2017-01-19 18:52:01 +00:00
gplcver Add SHA512 digests for distfiles for cad category 2015-11-03 00:21:15 +00:00
gsmc Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
gtk1-wcalc
gtk2-wcalc Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
gtkwave Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
iverilog Fix indentation in buildlink3.mk files. 2018-01-07 13:03:53 +00:00
kicad Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
kicad-doc Updated cad/kicad{,-footprints,-doc,-i18n,-lib} to 4.0.7, provided the patch by @tristelo, 2018-03-01 13:59:11 +00:00
kicad-footprints Updated cad/kicad{,-footprints,-doc,-i18n,-lib} to 4.0.7, provided the patch by @tristelo, 2018-03-01 13:59:11 +00:00
kicad-i18n Updated cad/kicad{,-footprints,-doc,-i18n,-lib} to 4.0.7, provided the patch by @tristelo, 2018-03-01 13:59:11 +00:00
kicad-lib Updated cad/kicad{,-footprints,-doc,-i18n,-lib} to 4.0.7, provided the patch by @tristelo, 2018-03-01 13:59:11 +00:00
klayout Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
librecad Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
libwcalc Fix indentation in buildlink3.mk files. 2018-01-07 13:03:53 +00:00
magic Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
mcalc Add SHA512 digests for distfiles for cad category 2015-11-03 00:21:15 +00:00
mex-wcalc
mpac Add SHA512 digests for distfiles for cad category 2015-11-03 00:21:15 +00:00
MyHDL-gplcver Update MyHDL from 0.8.1 to 0.9.0 2016-10-09 03:15:57 +00:00
MyHDL-iverilog Update MyHDL from 0.8.1 to 0.9.0 2016-10-09 03:15:57 +00:00
nelma Follow some redirects. 2017-09-03 08:53:04 +00:00
ng-spice Updated cad/ng-spice 23 to 27 2018-03-08 14:11:24 +00:00
ntesla Add SHA512 digests for distfiles for cad category 2015-11-03 00:21:15 +00:00
oce Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
openscad Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
p5-gds2 p5-gds2: update to 3.35. 2017-10-09 07:12:22 +00:00
pcb Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
py-gds Updated cad/py-gds to 1.2.1 2018-01-12 12:55:50 +00:00
py-gdscad Correction to failure of fetch. (Py library needs tweek to GITHUB_PROJECT) 2018-03-30 14:49:51 +00:00
py-MyHDL Update cad/MyHDL from 0.9.0 to 0.10 2018-04-12 15:08:58 +00:00
py-simpy Updated cad/py-simpy to 3.0.10 2017-01-28 23:39:24 +00:00
qcad Optimistically remove MAKE_JOBS_SAFE=no. 2018-03-24 17:11:57 +00:00
qcad-partlibrary Update the QCAD parts library to the latest versions 2016-08-30 10:57:35 +00:00
sci-wcalc
solvespace Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
spice Add SHA512 digests for distfiles for cad category 2015-11-03 00:21:15 +00:00
spiceprm Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:37:46 +00:00
stdio-wcalc
tkgate Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
tnt-mmtl Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
transcalc Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
verilog-mode Add SHA512 digests for distfiles for cad category 2015-11-03 00:21:15 +00:00
veriwell Import veriwell-2.8.7 as cad/veriwell 2016-10-09 13:14:06 +00:00
wcalc Add SHA512 digests for distfiles for cad category 2015-11-03 00:21:15 +00:00
wcalc-docs
xchiplogo Comment out dead sites. 2017-09-06 10:40:25 +00:00
xcircuit Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
Makefile Added cad/py-gdscad version 0.4.5 2018-03-17 22:20:13 +00:00