Skip to content

How to get flat netlist from design checkpoint generated from vivado synthesis? #1003

Answered by clavin-xlnx
wengwz asked this question in Q&A
Discussion options

You must be logged in to vote

The easiest approach is to create a new flattened netlist as a copy of the existing hierarchical one. Trying to modify an existing netlist in place to remove all the hierarchy could be done, but it is probably better to avoid that approach. I'm not sure about the code above, it is touching on some of the important APIs that are needed, but it doesn't address some of the corner cases such as VCC and GND nets and their respective sources that need to be collapsed in a flattened netlist.

I've drafted up a PR that includes code that can accomplish this, see #1006 for details, it includes a test that should demonstrate how it can be used and will accommodate designs that contain black boxes.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@wengwz
Comment options

@wengwz
Comment options

@clavin-xlnx
Comment options

Answer selected by wengwz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants