34 enable 1 1 @a11d9 @a12d4 @a13d2 @a14d1
40 # The syn_* attributes are described in:
41 # https://www.latticesemi.com/-/media/LatticeSemi/Documents/Tutorials/AK/LatticeDiamondTutorial311.ashx
44 match $__ECP5_PDPW16KD
45 # implicitly requested RAM or ROM
46 attribute !syn_ramstyle syn_ramstyle=auto
47 attribute !syn_romstyle syn_romstyle=auto
50 attribute !logic_block
58 match $__ECP5_PDPW16KD
59 # explicitly requested RAM
60 attribute syn_ramstyle=block_ram ram_block
61 attribute !syn_romstyle
63 attribute !logic_block
70 match $__ECP5_PDPW16KD
71 # explicitly requested ROM
72 attribute syn_romstyle=ebr rom_block
73 attribute !syn_ramstyle
75 attribute !logic_block
83 # implicitly requested RAM or ROM
84 attribute !syn_ramstyle syn_ramstyle=auto
85 attribute !syn_romstyle syn_romstyle=auto
88 attribute !logic_block
96 # explicitly requested RAM
97 attribute syn_ramstyle=block_ram ram_block
98 attribute !syn_romstyle
100 attribute !logic_block
107 # explicitly requested ROM
108 attribute syn_romstyle=ebr rom_block
109 attribute !syn_ramstyle
111 attribute !logic_block