URL
https://opencores.org/ocsvn/amber/amber/trunk
[/] [amber/] [trunk/] [hw/] [vlog/] [tb/] [tb.v] - Diff between revs 2 and 11
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 11 |
Line 389... |
Line 389... |
main_mem_file_data = hex_chars_to_32bits (aligned_line[110*8-1:102*8]);
|
main_mem_file_data = hex_chars_to_32bits (aligned_line[110*8-1:102*8]);
|
|
|
`ifdef XILINX_FPGA
|
`ifdef XILINX_FPGA
|
mm_ddr3_addr = {main_mem_file_address[13:11], main_mem_file_address[26:14], main_mem_file_address[10:4]};
|
mm_ddr3_addr = {main_mem_file_address[13:11], main_mem_file_address[26:14], main_mem_file_address[10:4]};
|
|
|
main_mem_file_data_128 = tb.u_ddr3_model_c3.memory [mm_ddr3_addr];
|
main_mem_file_data_128 = tb.u_ddr3_model.memory [mm_ddr3_addr];
|
tb.u_ddr3_model_c3.memory [mm_ddr3_addr] =
|
tb.u_ddr3_model.memory [mm_ddr3_addr] =
|
insert_32_into_128 ( main_mem_file_address[3:2],
|
insert_32_into_128 ( main_mem_file_address[3:2],
|
main_mem_file_data_128,
|
main_mem_file_data_128,
|
main_mem_file_data );
|
main_mem_file_data );
|
|
|
`ifdef AMBER_LOAD_MEM_DEBUG
|
`ifdef AMBER_LOAD_MEM_DEBUG
|
main_mem_file_data_128 = tb.u_ddr3_model_c3.memory [mm_ddr3_addr];
|
main_mem_file_data_128 = tb.u_ddr3_model.memory [mm_ddr3_addr];
|
$display ("Load DDR3: PAddr: 0x%08x, DDR3 Addr 0x%08h, Data 0x%032x",
|
$display ("Load DDR3: PAddr: 0x%08x, DDR3 Addr 0x%08h, Data 0x%032x",
|
main_mem_file_address, mm_ddr3_addr, main_mem_file_data_128);
|
main_mem_file_address, mm_ddr3_addr, main_mem_file_data_128);
|
`endif
|
`endif
|
|
|
`else
|
`else
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.