OpenCores
URL https://opencores.org/ocsvn/zet86/zet86/trunk

Subversion Repositories zet86

[/] [zet86/] [trunk/] [sim/] [memory.v] - Diff between revs 14 and 15

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 14 Rev 15
Line 22... Line 22...
  // Behaviour
  // Behaviour
  always @(posedge clk)
  always @(posedge clk)
    if (we) if (byte_m) ram[addr] <= wr_data[7:0];
    if (we) if (byte_m) ram[addr] <= wr_data[7:0];
            else { ram[addr1], ram[addr] } <= wr_data;
            else { ram[addr1], ram[addr] } <= wr_data;
 
 
  initial $readmemh("/home/zeus/zet/sim/01_jmpmov.rtlrom", ram, 20'hf0000);
  initial $readmemh("/home/zeus/zet/sim/08_rep.rtlrom", ram, 20'hf0000);
endmodule
endmodule
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.