opc_ROM_ctrl_real.v
626 Bytes
//
`timescale 10ps/10ps
module opc_ROM_ctrl ;
`define OPC_CIRCUIT_INSTANCE bb_top.bb_shell.bb
initial begin
$write( "ROM code assignment\n" ) ;
$write(
" ROM-code file: %s\n",
"./2krom.vrom"
) ;
$readmemh(
"./2krom.vrom",
`ifdef NEC_TEST_RTL
`OPC_CIRCUIT_INSTANCE.bcp.rsp.vu.div1.udivrom.rom.rom_data
`else
`OPC_CIRCUIT_INSTANCE.bcp.rsp.vu_div1_udivrom_rom.rom_data
`endif
) ;
$write(
" ROM-code file: %s\n",
"./ROMDATA/4krom.vrom"
) ;
$readmemh(
"./4krom.vrom",
`OPC_CIRCUIT_INSTANCE.bcp.mi.brom.brom.rom_data
) ;
end
endmodule