nexus: Add MULTADDSUB9X9WIDE sim model
[yosys.git] / techlibs / nexus / brams.txt
1 bram $__NX_PDP16K
2 init 1
3
4 abits 9 @a9d36
5 dbits 36 @a9d36
6 abits 10 @a10d18
7 dbits 18 @a10d18
8 abits 11 @a11d9
9 dbits 9 @a11d9
10 abits 12 @a12d4
11 dbits 4 @a12d4
12 abits 13 @a13d2
13 dbits 2 @a13d2
14 abits 14 @a14d1
15 dbits 1 @a14d1
16
17 groups 2
18 ports 1 1
19 wrmode 1 0
20 enable 4 1 @a9d36
21 enable 2 1 @a10d18
22 enable 1 1 @a11d9 @a12d4 @a13d2 @a14d1
23 transp 0 0
24 clocks 2 3
25 clkpol 2 3
26 endbram
27
28 match $__NX_PDP16K
29 # implicitly requested RAM or ROM
30 attribute !syn_ramstyle syn_ramstyle=auto
31 attribute !syn_romstyle syn_romstyle=auto
32 attribute !ram_block
33 attribute !rom_block
34 attribute !logic_block
35 min bits 2048
36 min efficiency 5
37 shuffle_enable A
38 make_transp
39 or_next_if_better
40 endmatch
41
42 match $__NX_PDP16K
43 # explicitly requested RAM
44 attribute syn_ramstyle=block_ram ram_block
45 attribute !syn_romstyle
46 attribute !rom_block
47 attribute !logic_block
48 min wports 1
49 shuffle_enable A
50 make_transp
51 or_next_if_better
52 endmatch
53
54 match $__NX_PDP16K
55 # explicitly requested ROM
56 attribute syn_romstyle=ebr rom_block
57 attribute !syn_ramstyle
58 attribute !ram_block
59 attribute !logic_block
60 max wports 0
61 make_transp
62 shuffle_enable A
63 endmatch