aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/xilinx/xc7_xcu_brams.txt
diff options
context:
space:
mode:
authorDiego H <diego@symbioticeda.com>2019-12-15 23:33:09 -0600
committerDiego H <diego@symbioticeda.com>2019-12-15 23:33:09 -0600
commitb35559fc335181d7c8f8046fa17bf05550c21ba7 (patch)
tree6293cb01ff8137aad0fee27aa575a080b2c2d206 /techlibs/xilinx/xc7_xcu_brams.txt
parent266993408a2b926ffefcf536feb92b36b11e398e (diff)
downloadyosys-b35559fc335181d7c8f8046fa17bf05550c21ba7.tar.gz
yosys-b35559fc335181d7c8f8046fa17bf05550c21ba7.tar.bz2
yosys-b35559fc335181d7c8f8046fa17bf05550c21ba7.zip
Merging attribute rules into a single match block; Adding tests
Diffstat (limited to 'techlibs/xilinx/xc7_xcu_brams.txt')
-rw-r--r--techlibs/xilinx/xc7_xcu_brams.txt30
1 files changed, 12 insertions, 18 deletions
diff --git a/techlibs/xilinx/xc7_xcu_brams.txt b/techlibs/xilinx/xc7_xcu_brams.txt
index a52dd9352..2d94ac4a8 100644
--- a/techlibs/xilinx/xc7_xcu_brams.txt
+++ b/techlibs/xilinx/xc7_xcu_brams.txt
@@ -77,51 +77,45 @@ endbram
# https://www.xilinx.com/support/documentation/user_guides/ug473_7Series_Memory_Resources.pdf
match $__XILINX_RAMB36_SDP
+ attribute ram_style=block ram_block=1
+ attribute !ram_style=distributed
+ attribute !logic_block
min bits 1024
min efficiency 5
shuffle_enable B
make_transp
- attribute !ram_style !logic_block
or_next_if_better
endmatch
match $__XILINX_RAMB18_SDP
+ attribute ram_style=block ram_block=1
+ attribute !ram_style=distributed
+ attribute !logic_block
min bits 1024
min efficiency 5
shuffle_enable B
make_transp
- attribute !ram_style !logic_block
- or_next_if_better
-endmatch
-
-match $__XILINX_RAMB18_SDP
- shuffle_enable B
- make_transp
- attribute ram_block=1 ram_style=block
or_next_if_better
endmatch
match $__XILINX_RAMB36_TDP
+ attribute ram_style=block ram_block=1
+ attribute !ram_style=distributed
+ attribute !logic_block
min bits 1024
min efficiency 5
shuffle_enable B
make_transp
- attribute !ram_style !logic_block
or_next_if_better
endmatch
match $__XILINX_RAMB18_TDP
+ attribute ram_style=block ram_block=1
+ attribute !ram_style=distributed
+ attribute !logic_block
min bits 1024
min efficiency 5
shuffle_enable B
make_transp
- attribute !ram_style !logic_block
- or_next_if_better
endmatch
-match $__XILINX_RAMB18_TDP
- min efficiency 5
- shuffle_enable B
- make_transp
- attribute ram_block=1 ram_style=block
-endmatch