yosys/techlibs/analogdevices/lutrams.txt

40 lines
483 B
Plaintext
Raw Normal View History

2025-09-23 12:08:17 +02:00
# Single-port RAMs.
ram distributed $__ANALOGDEVICES_LUTRAM_SP_ {
option "ABITS" 5 {
cost 1;
2025-09-23 12:08:17 +02:00
abits 5;
}
option "ABITS" 6 {
cost 2;
2025-09-23 12:08:17 +02:00
abits 6;
}
2025-10-09 05:38:49 +02:00
width 1;
2025-09-23 12:08:17 +02:00
init no_undef;
prune_rom;
port arsw "RW" {
clock posedge;
2025-09-23 12:08:17 +02:00
}
}
# Dual-port RAMs.
ram distributed $__ANALOGDEVICES_LUTRAM_DP_ {
option "ABITS" 5 {
cost 2;
2025-09-23 12:08:17 +02:00
abits 5;
}
option "ABITS" 6 {
cost 4;
2025-09-23 12:08:17 +02:00
abits 6;
}
2025-10-09 05:38:49 +02:00
width 1;
2025-09-23 12:08:17 +02:00
init no_undef;
prune_rom;
2025-10-09 05:38:49 +02:00
port arsw "RW" {
2025-09-23 12:08:17 +02:00
clock posedge;
}
port ar "R" {
}
2025-09-23 12:08:17 +02:00
}