diff options
author | Diego H <diego@symbioticeda.com> | 2019-12-15 23:33:09 -0600 |
---|---|---|
committer | Diego H <diego@symbioticeda.com> | 2019-12-15 23:33:09 -0600 |
commit | b35559fc335181d7c8f8046fa17bf05550c21ba7 (patch) | |
tree | 6293cb01ff8137aad0fee27aa575a080b2c2d206 /techlibs/xilinx | |
parent | 266993408a2b926ffefcf536feb92b36b11e398e (diff) | |
download | yosys-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')
-rw-r--r-- | techlibs/xilinx/xc7_xcu_brams.txt | 30 |
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 |