[<<][rtl][>>][..]
Wed Aug 15 12:02:21 EDT 2018

Yosys ram init

blif below. indented for readability.  it should be possible to
identify these based on any of the names of the attached ports.  how
does the ram write tool work?

https://github.com/cliffordwolf/icestorm/tree/master/icebram

It seems there are 3 options:
- manually instantiate SB_RAM40_4K and provide init params
- edit the .blif
- edit the .asc

I believe the init parameters are bit vectors, so leas significant
word is to the right.


.gate SB_RAM40_4K
MASK[0]=$true MASK[1]=$true MASK[2]=$true MASK[3]=$true
MASK[4]=$true MASK[5]=$true MASK[6]=$true MASK[7]=$true
MASK[8]=$true MASK[9]=$true MASK[10]=$true MASK[11]=$true
MASK[12]=$true MASK[13]=$true MASK[14]=$true MASK[15]=$true
RADDR[0]=s60_ra[0] RADDR[1]=s60_ra[1] RADDR[2]=s60_ra[2] RADDR[3]=s60_ra[3]
RADDR[4]=s60_ra[4] RADDR[5]=s60_ra[5] RADDR[6]=s60_ra[6] RADDR[7]=s60_ra[7]
RADDR[8]=$false RADDR[9]=$false RADDR[10]=$false 
RCLK=CLK RCLKE=$true
RDATA[0]=s60_rd[0] RDATA[1]=s60_rd[1] RDATA[2]=s60_rd[2] RDATA[3]=s60_rd[3]
RDATA[4]=s60_rd[4] RDATA[5]=s60_rd[5] RDATA[6]=s60_rd[6] RDATA[7]=s60_rd[7]
RDATA[8]=s60_rd[8] RDATA[9]=s60_rd[9] RDATA[10]=s60_rd[10] RDATA[11]=s60_rd[11]
RDATA[12]=s60_rd[12] RDATA[13]=s60_rd[13] RDATA[14]=s60_rd[14] RDATA[15]=s60_rd[15]
RE=$true
WADDR[0]=$false WADDR[1]=$false WADDR[2]=$false WADDR[3]=$false WADDR[4]=$false
WADDR[5]=$false WADDR[6]=$false WADDR[7]=$false WADDR[8]=$false WADDR[9]=$false
WADDR[10]=$false WCLK=$false WCLKE=$false
WDATA[0]=$false WDATA[1]=$false WDATA[2]=$false WDATA[3]=$false WDATA[4]=$false
WDATA[5]=$false WDATA[6]=$false WDATA[7]=$false WDATA[8]=$false WDATA[9]=$false
WDATA[10]=$false WDATA[11]=$false WDATA[12]=$false WDATA[13]=$false WDATA[14]=$false WDATA[15]=$false
WE=$true
.attr src "/usr/local/bin/../share/yosys/ice40/brams_map.v:191|/usr/local/bin/../share/yosys/ice40/brams_map.v:35"
.param INIT_0 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
.param INIT_1 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
.param INIT_2 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
.param INIT_3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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