Techmapping to Infer Parameters #4891
-
This is part of an OpenFPGA project. I am trying to infer different parametrizations of a hard logic block in the .blif file via Yosys Techmap without having parameters in the top level RTL. (E.g. Having Here is what I'm doing: The top level module instantiated as:
The following RTL provided as lib:
Finally the map file:
The script looks something like:
Am I missing something? Any help would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I'm not very familiar with techmap, but the error you're seeing is raised when trying to assign a parameter to a module which doesn't have that parameter. I think this might be something to do with the names of modules? The following appears to work correctly:
This maps the Changing the name of the whitebox module to
|
Beta Was this translation helpful? Give feedback.
I'm not very familiar with techmap, but the error you're seeing is raised when trying to assign a parameter to a module which doesn't have that parameter. I think this might be something to do with the names of modules? The following appears to work correctly:
This maps the
top_secret
module intop
so that the finalstat
call shows a singles…