mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
ecp5: do not map FFRAM if explicitly requested otherwise.
This commit is contained in:
parent
ebee746ad2
commit
763401fc82
2 changed files with 65 additions and 17 deletions
|
@ -279,7 +279,9 @@ struct SynthEcp5Pass : public ScriptPass
|
|||
if (check_label("map_ffram"))
|
||||
{
|
||||
run("opt -fast -mux_undef -undriven -fine");
|
||||
run("memory_map");
|
||||
run("memory_map -iattr -attr !ram_block -attr !rom_block -attr logic_block "
|
||||
"-attr syn_ramstyle=auto -attr syn_ramstyle=registers "
|
||||
"-attr syn_romstyle=auto -attr syn_romstyle=logic");
|
||||
run("opt -undriven -fine");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue