Skip to content

Commit

Permalink
bring back openocd configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
wsipak committed Nov 27, 2024
1 parent 597caf9 commit d14fcdb
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions testbench/tb_top.sv
Original file line number Diff line number Diff line change
Expand Up @@ -258,17 +258,17 @@ module tb_top
.hrdata_i (mux_hrdata)
);
`else
// assign mux_hsel = 1'b1;
// assign mux_haddr = lsu_haddr;
// assign mux_hwdata = lsu_hwdata;
// assign mux_hwrite = lsu_hwrite;
// assign mux_htrans = lsu_htrans;
// assign mux_hsize = lsu_hsize;
// assign mux_hready = lsu_hready;

// assign lsu_hresp = mux_hresp;
// assign lsu_hrdata = mux_hrdata;
// assign lsu_hready = mux_hreadyout;
assign mux_hsel = 1'b1;
assign mux_haddr = lsu_haddr;
assign mux_hwdata = lsu_hwdata;
assign mux_hwrite = lsu_hwrite;
assign mux_htrans = lsu_htrans;
assign mux_hsize = lsu_hsize;
assign mux_hreadyout = lsu_hready;

assign lsu_hresp = mux_hresp;
assign lsu_hrdata = mux_hrdata;
assign lsu_hready = mux_hready;
`endif

`ifdef RV_BUILD_AXI4
Expand Down Expand Up @@ -1433,19 +1433,19 @@ ahb_lsu_dma_bridge #(.pt(pt)) bridge (
.clk(core_clk),
.reset_l(rst_l),

.m_ahb_haddr(lsu_haddr[31:0]),
.m_ahb_hburst(lsu_hburst),
.m_ahb_hmastlock(lsu_hmastlock),
.m_ahb_hprot(lsu_hprot[3:0]),
.m_ahb_hsize(lsu_hsize[2:0]),
.m_ahb_htrans(lsu_htrans[1:0]),
.m_ahb_hwrite(lsu_hwrite),
.m_ahb_hwdata(lsu_hwdata[63:0]),
.m_ahb_haddr(mux_haddr[31:0]),
.m_ahb_hburst(mux_hburst),
.m_ahb_hmastlock(mux_hmastlock),
.m_ahb_hprot(mux_hprot[3:0]),
.m_ahb_hsize(mux_hsize[2:0]),
.m_ahb_htrans(mux_htrans[1:0]),
.m_ahb_hwrite(mux_hwrite),
.m_ahb_hwdata(mux_hwdata[63:0]),
.m_ahb_hsel('1),
.m_ahb_hreadyin('1),
.m_ahb_hrdata(lsu_hrdata[63:0]),
.m_ahb_hreadyout(lsu_hready),
.m_ahb_hresp(lsu_hresp),
.m_ahb_hrdata(mux_hrdata[63:0]),
.m_ahb_hreadyout(mux_hready),
.m_ahb_hresp(mux_hresp),

.s0_axi_awvalid(bridge_s0_awvalid),
.s0_axi_awready(bridge_s0_awready),
Expand Down

0 comments on commit d14fcdb

Please sign in to comment.