mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-05 19:00:26 +00:00
commit
c3ae33da33
11 changed files with 48 additions and 32 deletions
|
@ -161,9 +161,13 @@ struct SynthEfinixPass : public ScriptPass
|
|||
if (check_label("map_ram"))
|
||||
{
|
||||
std::string args = "";
|
||||
if (nobram)
|
||||
args += " -no-auto-block";
|
||||
run("memory_libmap -lib +/efinix/brams.txt" + args);
|
||||
if (help_mode)
|
||||
args += " [-no-auto-block]";
|
||||
else {
|
||||
if (nobram)
|
||||
args += " -no-auto-block";
|
||||
}
|
||||
run("memory_libmap -lib +/efinix/brams.txt" + args, "(-no-auto-block if -nobram)");
|
||||
run("techmap -map +/efinix/brams_map.v");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue