aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/xilinx/xc7_xcu_brams.txt
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-12-16 13:31:15 -0800
committerEddie Hung <eddie@fpgeh.com>2019-12-16 13:31:15 -0800
commit5a00d5578cea91ce84f3d95e6138c85d1a949b89 (patch)
tree6734b8efe4366ebccc958c302984aa2be9d5601a /techlibs/xilinx/xc7_xcu_brams.txt
parent6b384861e4b1e02b24bf11d266cf11f461115cd8 (diff)
downloadyosys-5a00d5578cea91ce84f3d95e6138c85d1a949b89.tar.gz
yosys-5a00d5578cea91ce84f3d95e6138c85d1a949b89.tar.bz2
yosys-5a00d5578cea91ce84f3d95e6138c85d1a949b89.zip
Add unconditional match blocks for force RAM
Diffstat (limited to 'techlibs/xilinx/xc7_xcu_brams.txt')
-rw-r--r--techlibs/xilinx/xc7_xcu_brams.txt40
1 files changed, 36 insertions, 4 deletions
diff --git a/techlibs/xilinx/xc7_xcu_brams.txt b/techlibs/xilinx/xc7_xcu_brams.txt
index 60425fed9..c63218ae1 100644
--- a/techlibs/xilinx/xc7_xcu_brams.txt
+++ b/techlibs/xilinx/xc7_xcu_brams.txt
@@ -77,7 +77,7 @@ endbram
# https://www.xilinx.com/support/documentation/user_guides/ug473_7Series_Memory_Resources.pdf
match $__XILINX_RAMB36_SDP
- attribute !ram_style ram_style=block ram_block
+ attribute !ram_style
attribute !logic_block
min bits 1024
min efficiency 5
@@ -86,8 +86,16 @@ match $__XILINX_RAMB36_SDP
or_next_if_better
endmatch
+match $__XILINX_RAMB36_SDP
+ attribute ram_style=block ram_block
+ attribute !logic_block
+ shuffle_enable B
+ make_transp
+ or_next_if_better
+endmatch
+
match $__XILINX_RAMB18_SDP
- attribute !ram_style ram_style=block ram_block
+ attribute !ram_style
attribute !logic_block
min bits 1024
min efficiency 5
@@ -96,8 +104,16 @@ match $__XILINX_RAMB18_SDP
or_next_if_better
endmatch
+match $__XILINX_RAMB18_SDP
+ attribute ram_style=block ram_block
+ attribute !logic_block
+ shuffle_enable B
+ make_transp
+ or_next_if_better
+endmatch
+
match $__XILINX_RAMB36_TDP
- attribute !ram_style ram_style=block ram_block
+ attribute !ram_style
attribute !logic_block
min bits 1024
min efficiency 5
@@ -106,12 +122,28 @@ match $__XILINX_RAMB36_TDP
or_next_if_better
endmatch
+match $__XILINX_RAMB36_TDP
+ attribute ram_style=block ram_block
+ attribute !logic_block
+ shuffle_enable B
+ make_transp
+ or_next_if_better
+endmatch
+
match $__XILINX_RAMB18_TDP
- attribute !ram_style ram_style=block ram_block
+ attribute !ram_style
attribute !logic_block
min bits 1024
min efficiency 5
shuffle_enable B
make_transp
+ or_next_if_better
+endmatch
+
+match $__XILINX_RAMB18_TDP
+ attribute ram_style=block ram_block
+ attribute !logic_block
+ shuffle_enable B
+ make_transp
endmatch