Skip to content

Effect of SYNTH_NO_FLAT #1595

Answered by maliberty
hmzsaeed asked this question in Q&A
Dec 26, 2022 · 4 comments · 3 replies
Discussion options

You must be logged in to vote

It is a bit incomplete as a test case as you didn't provide any script to run in yosys. I made one up and I see the general trend you describe.

I also see a lot of constants being passed through the hierarchy in your netlist. Those case can't be optimized when running hierarchical synthesis. In the flat case they can. I suspect you have effectively disabled almost all the logic in your design this way and so yosys optimizes it away. Its a bit hard to tell in a large generated .v file - is that your intent?

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@hmzsaeed
Comment options

Comment options

You must be logged in to vote
1 reply
@hmzsaeed
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by hmzsaeed
Comment options

You must be logged in to vote
1 reply
@hmzsaeed
Comment options

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