Friday, 15 June 2012

RAM VLSI CODE



//RAM
module ram( we, en, addr, di, dout);
input        we;
input        en;
input  [4:0] addr;
input  [3:0] di;
output [3:0] dout;
reg    [3:0] RAM [31:0];
reg    [3:0] dout;
always @(en)
                begin
                   if (en) begin
                      if (we)
                                 RAM[addr] <= di;
                      else
                                 dout <= RAM[addr];
                   end
                end
endmodule


1 comments:

  1. casino, poker room, blackjack, bingo
    casino, poker room, blackjack, 1xbet login bingo room, blackjack, goyangfc.com bingo room, poker https://vannienailor4166blog.blogspot.com/ room, poker room, poker room, poker bsjeon room, poker room, poker room,

    ReplyDelete

Search Here...