URL
https://opencores.org/ocsvn/socgen/socgen/trunk
Subversion Repositories socgen
[/] [socgen/] [trunk/] [Projects/] [opencores.org/] [Mos6502/] [ip/] [cpu/] [sim/] [testbenches/] [verilog/] [sram.load] - Rev 135
Compare with Previous | Blame | View Log
parameter PREFIX ="../../../../../../../code/";
initial
begin
if( PROG_ROM_FILE != "NONE") begin $readmemh({PREFIX,PROG_ROM_FILE}, dut.prog_rom.mem);end
if( PROG_ROM_FILE != "NONE") begin $readmemh({PREFIX,PROG_ROM_FILE}, sh_prog_rom.mem);end
if( ROM_FILE != "NONE") begin $readmemh({PREFIX,ROM_FILE}, boot_rom.mem);end
end