Skip to content

Commit

Permalink
ql-qlf: qlf_k6n10f: bram: use 4 port matching rules to enable TDP RAM…
Browse files Browse the repository at this point in the history
… inference

Signed-off-by: Paweł Czarnecki <pczarnecki@antmicro.com>
  • Loading branch information
lpawelcz committed Mar 8, 2022
1 parent f7a5d47 commit d84e8ed
Showing 1 changed file with 11 additions and 34 deletions.
45 changes: 11 additions & 34 deletions ql-qlf-plugin/qlf_k6n10f/brams.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

bram $__QLF_FACTOR_BRAM36_TDP
init 1
abits 10 @a10d36
Expand All @@ -13,43 +12,21 @@ bram $__QLF_FACTOR_BRAM36_TDP
dbits 2 @a14d2
abits 15 @a15d1
dbits 1 @a15d1
groups 2
ports 1 1
wrmode 0 1
enable 1 4 @a10d36
enable 1 2 @a11d18
enable 1 1 @a12d9 @a13d4 @a14d2 @a15d1
transp 0 0
clocks 2 3
clkpol 2 3
endbram

bram $__QLF_FACTOR_BRAM18_TDP
init 1
abits 10 @a10d18
dbits 18 @a10d18
abits 11 @a11d9
dbits 9 @a11d9
abits 12 @a12d4
dbits 4 @a12d4
abits 13 @a13d2
dbits 2 @a13d2
abits 14 @a14d1
dbits 1 @a14d1
groups 2
ports 1 1
wrmode 0 1
enable 1 2 @a10d18
enable 1 1 @a11d9 @a12d4 @a13d2 @a14d1
transp 0 0
clocks 2 3
clkpol 2 3
groups 4
ports 1 1 1 1
wrmode 0 1 0 1
enable 1 4 1 4 @a10d36
enable 1 2 1 2 @a11d18
enable 1 1 1 1 @a12d9 @a13d4 @a14d2 @a15d1
transp 0 0 0 0
clocks 1 1 2 2
clkpol 1 1 1 1
endbram


match $__QLF_FACTOR_BRAM36_TDP
min bits 128
min efficiency 2
max dbits 36
max abits 15
shuffle_enable B
make_transp
endmatch
Expand Down

0 comments on commit d84e8ed

Please sign in to comment.