aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ice40/brams.txt
blob: 03d596111fc806a356dcbf5be8955d5506be3907 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
bram $__ICE40_RAM4K_M0
  init 1
  abits 8
  dbits 16
  groups 2
  ports  1  1
  wrmode 0  1
  enable 1 16
  transp 0  0
  clocks 2  3
  clkpol 2  3
endbram

bram $__ICE40_RAM4K_M123
  init 1
  abits  9 @M1
  dbits  8 @M1
  abits 10 @M2
  dbits  4 @M2
  abits 11 @M3
  dbits  2 @M3
  groups 2
  ports  1 1
  wrmode 0 1
  enable 1 1
  transp 0 0
  clocks 2 3
  clkpol 2 3
endbram

match $__ICE40_RAM4K_M0
  min efficiency 2
  make_transp
  or_next_if_better
endmatch

match $__ICE40_RAM4K_M123
  min efficiency 2
  make_transp
endmatch