Replies: 1 comment
-
Although I'm not sure it's necessary, what seemed to work was running |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I have a model that I've generated that contains many wire-wire assignments that could be removed, but I'm having trouble using Yosys to remove them. The model was hierarchical with many submodules, and then I ran the following script with the following module:
https://gist.github.com/asraa/232196c4ac9be8a39cdf78cc229d64d6
The result of stat after this:
As a result, I see many outputs and inputs to the submodules that are not removed, likely because private wire bits were used to flatten the submodule.
I think that I need to expose the private wires as public, and then either run
opt -clean
,freduce
, or something else that will allow Yosys to optimize these assignments. However, runningexpose
isn't quite right, since it seem to create module ports, rather than convert.Beta Was this translation helpful? Give feedback.
All reactions