Fixes the unittest files to work with the changes in this PR and #312
Adds unittests to CI
Simplifies the way dependences are added in Flow and Tool classes. Previously the deps list was passed in by reference and returned by value, causing some duplication and extra boilerplate code. Now it is just passed in by reference.
Some helper functions are added to the Tool class for creating the rules/build snippets to reduce duplicated code.
Changes the VivadoOoc class to be inherited from Vivado flow.
Renames some rules/build ninja files to be consistent with naming. The new helper functions in Tool take advantage of this consistent naming.
Updates vivado_and_reversed flow :
Renames to vivado_bit_analysis
Adds a new tool that will be expanded on in the future that cleans up the x-ray netlist prior to analysis.
This PR:
Makes several changes to the Ninja tools:
Flow
andTool
classes. Previously thedeps
list was passed in by reference and returned by value, causing some duplication and extra boilerplate code. Now it is just passed in by reference.Tool
class for creating the rules/build snippets to reduce duplicated code.VivadoOoc
class to be inherited fromVivado
flow.Tool
take advantage of this consistent naming.Updates vivado_and_reversed flow :