intel / rohd

The Rapid Open Hardware Development (ROHD) framework is a framework for describing and verifying hardware in the Dart programming language.
https://intel.github.io/rohd-website
BSD 3-Clause "New" or "Revised" License
374 stars 67 forks source link

Allow `SynthBuilder` to accept multiple `Module`s. #434

Open mkorbel1 opened 11 months ago

mkorbel1 commented 11 months ago

Motivation

Sometimes there's a bunch of different independent hierarchies that we want to generate SystemVerilog for. If we generate them with independent SynthBuilders, then any shared sub-modules may be declared with the same definition name, causing issues building all them together.

Desired solution

Make it possible to pass multiple independent top-level Modules to a SynthBuilder to generate code that is uniquified properly across all of them.

Alternatives considered

No response

Additional details

No response