3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-23 16:04:37 +00:00

analogdevices: Add BRAM options

Enable `-force-params`, and tidy up lutram mapping too.
This commit is contained in:
Krystine Sherwin 2025-10-18 12:59:55 +13:00
parent 72208095dd
commit 4f49a7fe18
No known key found for this signature in database
5 changed files with 528 additions and 247 deletions

View file

@ -356,10 +356,9 @@ struct SynthAnalogDevicesPass : public ScriptPass
params = " [...]";
} else {
params += " -logic-cost-rom 0.015625";
params += " -force-params";
params += " -lib +/analogdevices/lutrams.txt";
lutrams_map = "+/analogdevices/lutrams_map.v";
params += " -lib +/analogdevices/brams.txt";
brams_map = "+/analogdevices/brams_map.v";
params += tech_param;
brams_map += tech_param;
if (nolutram)