mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-29 01:24:25 +02:00
xilinx: Add support for LUT RAM on LUT4-based devices.
There are multiple other kinds of RAMs supported on these devices, but RAM16X1D is the only dual-port one. Fixes #1549
This commit is contained in:
committed by
Marcelina Kościelnicka
parent
d48950d92d
commit
89adef352f
@@ -318,7 +318,6 @@ struct SynthXilinxPass : public ScriptPass
|
||||
if (lut_size != 6) {
|
||||
log_warning("Shift register inference not yet supported for family %s.\n", family.c_str());
|
||||
nosrl = true;
|
||||
nolutram = true;
|
||||
}
|
||||
|
||||
if (widemux != 0 && widemux < 2)
|
||||
@@ -518,7 +517,7 @@ struct SynthXilinxPass : public ScriptPass
|
||||
|
||||
if (check_label("map_lutram", "(skip if '-nolutram')")) {
|
||||
if (!nolutram || help_mode) {
|
||||
run("memory_bram -rules +/xilinx/lutrams.txt");
|
||||
run("memory_bram -rules +/xilinx/lut" + lut_size_s + "_lutrams.txt");
|
||||
run("techmap -map +/xilinx/lutrams_map.v");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user