3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-11 10:18:07 +00:00
yosys/techlibs/analogdevices/brams.txt
2025-10-11 12:06:35 +13:00

56 lines
1.1 KiB
Text

# family: T16FFC T40LP
# BRAM: RBRAM2 RBRAM
# Supported: SDP_8192x05 SDP_4096x05
# SDP_4096x10 SDP_2048x10
# SDP_2048x40 SDP_1024x40
# Ignored: SDP_4096x09 SDP_2048x09
# Unimplemented: SP_2048x20 SP_1024x20
# TDP_4096x09
# TDP_8192x05
# TDP_2048x40
# SP2_2048x09 SP2_1024x09
# SP2_4096x05 SP2_2048x05
# Simple Dual Port
ram block $__ANALOGDEVICES_BLOCKRAM_SDP_ {
option "ENABLE_WIDTH" "BIT" {
ifdef IS_T40LP {
abits 12;
}
ifdef IS_T16FFC {
abits 13;
}
widths 5 10 global;
byte 1;
cost 1;
}
option "ENABLE_WIDTH" "BYTE" {
ifdef IS_T40LP {
abits 10;
}
ifdef IS_T16FFC {
abits 11;
}
width 40;
byte 8;
cost 4;
}
# Unclear if/how RBRAM is initialized, default SIM_INIT_BEHAVIOUR is UNINITIALIZED
init none;
port sr "R" {
clock anyedge;
clken;
}
port sw "W" {
clock anyedge;
clken;
}
}
# Single Port
# True Dual Port
# Dual Single Port