Skip to content

Commit

Permalink
roll back axi_ctrl_logic.sv to get the error log
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyho authored and tonyho committed Sep 29, 2023
1 parent a33d910 commit 98dacaf
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions custom_design/fsic/user_proj_example/axi_ctrl_logic.sv
Expand Up @@ -287,13 +287,7 @@ module axi_ctrl_logic(
logic [9:0]aa_index; // for index of aa_regs
logic [9:0]mb_index; // for index of mb_regs

//assign next_trans = (next_ss) ? TRANS_SS : TRANS_LS;
/*
if (next_ss)
next_trans = TRANS_SS;
else
next_trans = TRANS_LS;
*/
assign next_trans = (next_ss) ? TRANS_SS : TRANS_LS;

// compute control signals according to source (LS / SS) and address range
// note this is combinational, so the signals can only exist when state is AXI_DECIDE_DEST,
Expand All @@ -320,10 +314,6 @@ module axi_ctrl_logic(
//mb_index = 10'b0;

//next_trans = (next_ss) ? TRANS_SS : TRANS_LS;
if (next_ss)
next_trans = TRANS_SS;
else
next_trans = TRANS_LS;

if(axi_state == AXI_DECIDE_DEST)begin
case(next_trans)
Expand Down Expand Up @@ -787,4 +777,4 @@ module axi_ctrl_logic(
end
end

endmodule
endmodule

0 comments on commit 98dacaf

Please sign in to comment.