diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-09-12 10:48:14 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2019-09-12 10:50:45 +0200 |
commit | 392ee1dd91fc637b48b6fc778fc838ec11633ec7 (patch) | |
tree | a611f6ba0d7767395d55032c06fd2c354d4441b2 /testbench_wb.v | |
parent | 3bb692a9545eddfb3538fda32ac8d3f7b4f4f544 (diff) | |
download | picorv32-392ee1dd91fc637b48b6fc778fc838ec11633ec7.tar.gz picorv32-392ee1dd91fc637b48b6fc778fc838ec11633ec7.zip |
Improve test firmware, increase testbench memory size to 128kB
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'testbench_wb.v')
-rw-r--r-- | testbench_wb.v | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/testbench_wb.v b/testbench_wb.v index 789ec78..e78dbfa 100644 --- a/testbench_wb.v +++ b/testbench_wb.v @@ -56,8 +56,6 @@ endmodule `endif module picorv32_wrapper #( - parameter BOOTROM_MEMFILE = "", - parameter BOOTROM_MEMDEPTH = 16384 * 4, parameter VERBOSE = 0 ) ( input wb_clk, @@ -89,7 +87,7 @@ module picorv32_wrapper #( wire wb_s2m_ack; wb_ram #( - .depth (16384 * 4), + .depth (128*1024), .VERBOSE (VERBOSE) ) ram ( // Wishbone interface .wb_clk_i(wb_clk), @@ -266,7 +264,7 @@ module wb_ram #( end always @(posedge wb_clk_i) begin - if (waddr2 < 64 * 1024 / 4) begin + if (waddr2 < 128 * 1024 / 4) begin if (we[0]) mem[waddr2][7:0] <= wb_dat_i[7:0]; |