PyGears 0.1.2 released¶
Features¶
Add support for user configuration
.pygears.py
files that are loaded at startup. These files can be local to the project or located in~/.pygears.py
and 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_traceback
Add 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
,unary
andvalve
width_reductor
is now version ofserialize
gear 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
conf
subpackage.Allow for modules to specify callbacks to be triggered when their configuration is changed in registry
Module
err.py
has 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/level
is set fromTraceLevel.user
toTraceLevel.debug
Fix clashing between class and instance methods
Tuple.replace
Turn-off pretty sieve naming by default since it creates performance issues for large designs
Make importing of
yaml
package optional, since the package doesn’t come with Python and needs to be installed separately.
Documentation¶
Document PyGears registry.
typing/tuple
documented.Separate pages and additional documentation for
typing/integer
,typing/uint
andtyping/int
types.Document
drv
gear.