testbench.v: fix whitespaces
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
This commit is contained in:
parent
0967a39c1d
commit
1fbe25c994
|
@ -176,7 +176,7 @@ module picorv32_wrapper #(
|
||||||
|
|
||||||
reg [1023:0] firmware_file;
|
reg [1023:0] firmware_file;
|
||||||
initial begin
|
initial begin
|
||||||
if(!$value$plusargs("firmware=%s", firmware_file))
|
if (!$value$plusargs("firmware=%s", firmware_file))
|
||||||
firmware_file = "firmware/firmware.hex";
|
firmware_file = "firmware/firmware.hex";
|
||||||
$readmemh(firmware_file, mem.memory);
|
$readmemh(firmware_file, mem.memory);
|
||||||
end
|
end
|
||||||
|
@ -300,7 +300,7 @@ module axi4_memory #(
|
||||||
end endtask
|
end endtask
|
||||||
|
|
||||||
task handle_axi_rvalid; begin
|
task handle_axi_rvalid; begin
|
||||||
if(verbose)
|
if (verbose)
|
||||||
$display("RD: ADDR=%08x DATA=%08x%s", latched_raddr, memory[latched_raddr >> 2], latched_rinsn ? " INSN" : "");
|
$display("RD: ADDR=%08x DATA=%08x%s", latched_raddr, memory[latched_raddr >> 2], latched_rinsn ? " INSN" : "");
|
||||||
if (latched_raddr < 64*1024) begin
|
if (latched_raddr < 64*1024) begin
|
||||||
mem_axi_rdata <= memory[latched_raddr >> 2];
|
mem_axi_rdata <= memory[latched_raddr >> 2];
|
||||||
|
|
Loading…
Reference in New Issue