aboutsummaryrefslogtreecommitdiffstats
path: root/icefuzz/tests/sb_spram256ka.v
blob: e1e14031e6cd195ab08ab5f6bb3b73852c2df816 (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
module top(
  input clk,
  input [13:0] addr,
  input [7:0] din,
  input wren,
  input cs,
  output [7:0] dout
);

SB_SPRAM256KA spram_i
  (
    .ADDRESS(addr),
    .DATAIN(din),
    .MASKWREN(4'b1111),
    .WREN(wren),
    .CHIPSELECT(cs),
    .CLOCK(clk),
    .STANDBY(1'b0),
    .SLEEP(1'b0),
    .POWEROFF(1'b0),
    .DATAOUT(dout)
  );
  

endmodule