PyGears 0.1.2 released¶
Features¶
Add support for user configuration
.pygears.pyfiles that are loaded at startup. These files can be local to the project or located in~/.pygears.pyand active globally.Registry paths can be accessed by Unix path strings (e.g.
logger/svgen/print_traceback), take a look at registryWildcards can be used in registry paths, e.g.
logger/*/print_tracebackAdd support for user configuration files in JSON and YAML formats
Loggers are organized better and are configured more easily. Checkout docs for Logger
Added generation of Questa run script in SystemVerilog generation subsystem
Added Python implementation for the following gears from the gear library:
accumulator,clip,iceil,max_gears,qlen_cnt,reverse,take,tr_cnt,unaryandvalvewidth_reductoris now version ofserializegear when active field is suppliedGears can now be scheduled multiple times within forward/backward phases, which handles the problems with fictive cycles in simulation graph when multiple gears are combined to be simulated in external RTL simulator.
Output interfaces are now named after the returned variable names in hierarchical gears
Infrastructure¶
Move infrastructure modules to
confsubpackage.Allow for modules to specify callbacks to be triggered when their configuration is changed in registry
Module
err.pyhas been removed and its functionality has been moved totrace.py
Bug-fixes¶
Fix __str__ for generic Queue and Array.
Correct unpatch-ing of PDB when
trace/levelis set fromTraceLevel.usertoTraceLevel.debugFix clashing between class and instance methods
Tuple.replaceTurn-off pretty sieve naming by default since it creates performance issues for large designs
Make importing of
yamlpackage optional, since the package doesn’t come with Python and needs to be installed separately.
Documentation¶
Document PyGears registry.
typing/tupledocumented.Separate pages and additional documentation for
typing/integer,typing/uintandtyping/inttypes.Document
drvgear.