//--------------------------------------------------------------------------- // Behavioral model of a static ram chip // // Organization: // // 16 bit x 2**(adr_width-1) //--------------------------------------------------------------------------- module sram16 #( parameter adr_width = 18 ) ( input [adr_width-1:0] adr, inout [15:0] dat, input ub_n, input lb_n, input cs_n, input we_n, input oe_n ); parameter dat_width = 16; //--------------------------------------------------------------------------- // Actual RAM cells //--------------------------------------------------------------------------- reg [7:0] mem_ub [0:1<