Closed chaseruskin closed 3 years ago
In addition, it has been noted that export
does not currently rewrite the top-level and bench metadata fields when the user explicitly defines the top-level. Is this going to be intended behavior?
export
and graph
behavior is now more defined. By default, a top-level entity will be detected and its test bench as well. Users can explicitly define a top-level to graph or export by passing the entity name. If the entity has a test bench, it will be included by default. Passing the -ignore-tb
flag will ignore the design entity's test-bench (this flag may change to -force
in the future for more clarity, as ignore-tb
has no effect if the explicit entity is already a test-bench).
Design question: switch behavior of explicitly setting top-level to not try to automatically find top-level testbench associated with the design if the design is passed in (user can always pass in tb).
Also, fix if user defines a test bench to be passed in, then that label must be "-SIM-TOP" and not "-SRC-TOP" as currently being defined.