mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-29 23:43:16 +00:00
efinix: Use memory_libmap
pass.
This commit is contained in:
parent
f4d1426229
commit
9d11575856
4 changed files with 164 additions and 102 deletions
|
@ -158,11 +158,13 @@ struct SynthEfinixPass : public ScriptPass
|
|||
run("synth -run coarse");
|
||||
}
|
||||
|
||||
if (!nobram || check_label("map_bram", "(skip if -nobram)"))
|
||||
if (check_label("map_ram"))
|
||||
{
|
||||
run("memory_bram -rules +/efinix/brams.txt");
|
||||
std::string args = "";
|
||||
if (nobram)
|
||||
args += " -no-auto-block";
|
||||
run("memory_libmap -lib +/efinix/brams.txt" + args);
|
||||
run("techmap -map +/efinix/brams_map.v");
|
||||
run("setundef -zero -params t:EFX_RAM_5K");
|
||||
}
|
||||
|
||||
if (check_label("map_ffram"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue