3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-22 15:34:36 +00:00
yosys/techlibs/analogdevices/lutrams.txt
Krystine Sherwin 6e5524ee9c analogdevices: Add BRAM options
Enable `-force-params`, and tidy up lutram mapping too.
2025-10-18 12:14:01 +01:00

20 lines
353 B
Text

ram distributed $__ANALOGDEVICES_LUTRAM_ {
option "SIZE" 32 abits 5;
option "SIZE" 64 abits 6;
width 1;
init no_undef;
prune_rom;
port arsw "RW" {
clock posedge;
}
option "MODE" "SP" {
option "SIZE" 32 cost 1;
option "SIZE" 64 cost 2;
}
option "MODE" "DP" {
option "SIZE" 32 cost 2;
option "SIZE" 64 cost 4;
port ar "R" {
}
}
}