mirror of
https://github.com/openhwgroup/cva5.git
synced 2025-04-20 03:57:18 -04:00
Additional trace signals
This commit is contained in:
parent
8aa593807d
commit
9903073465
4 changed files with 18 additions and 0 deletions
|
@ -61,6 +61,9 @@ module decode(
|
|||
output logic tr_no_id_stall,
|
||||
output logic tr_no_instruction_stall,
|
||||
output logic tr_other_stall,
|
||||
output logic tr_branch_operand_stall,
|
||||
output logic tr_alu_operand_stall,
|
||||
output logic tr_ls_operand_stall,
|
||||
|
||||
output logic tr_instruction_issued_dec,
|
||||
output logic [31:0] tr_instruction_pc_dec,
|
||||
|
@ -435,6 +438,9 @@ module decode(
|
|||
assign tr_no_id_stall = (|issue_ready) & (fb_valid & ~ti.id_available & ~gc_issue_hold & ~gc_fetch_flush) & load_store_operands_ready;
|
||||
assign tr_no_instruction_stall = ~fb_valid;
|
||||
assign tr_other_stall = fb_valid & ~instruction_issued & ~(tr_operand_stall | tr_unit_stall | tr_no_id_stall | tr_no_instruction_stall) & ~gc_fetch_flush;
|
||||
assign tr_branch_operand_stall = tr_operand_stall & new_request[BRANCH_UNIT_ID];
|
||||
assign tr_alu_operand_stall = tr_operand_stall & new_request[ALU_UNIT_WB_ID] & ~new_request[BRANCH_UNIT_ID];
|
||||
assign tr_ls_operand_stall = tr_operand_stall & new_request[LS_UNIT_WB_ID];
|
||||
|
||||
assign tr_instruction_issued_dec = instruction_issued;
|
||||
assign tr_instruction_pc_dec = fb.pc;
|
||||
|
|
|
@ -120,6 +120,9 @@ module taiga (
|
|||
logic tr_no_id_stall;
|
||||
logic tr_no_instruction_stall;
|
||||
logic tr_other_stall;
|
||||
logic tr_branch_operand_stall;
|
||||
logic tr_alu_operand_stall;
|
||||
logic tr_ls_operand_stall;
|
||||
|
||||
logic tr_instruction_issued_dec;
|
||||
logic [31:0] tr_instruction_pc_dec;
|
||||
|
@ -215,6 +218,9 @@ module taiga (
|
|||
tr.events.no_instruction_stall <= tr_no_instruction_stall;
|
||||
tr.events.other_stall <= tr_other_stall;
|
||||
tr.events.instruction_issued_dec <= tr_instruction_issued_dec;
|
||||
tr.events.branch_operand_stall <= tr_branch_operand_stall;
|
||||
tr.events.alu_operand_stall <= tr_alu_operand_stall;
|
||||
tr.events.ls_operand_stall <= tr_ls_operand_stall;
|
||||
tr.events.branch_misspredict <= tr_branch_misspredict;
|
||||
tr.events.return_misspredict <= tr_return_misspredict;
|
||||
tr.events.wb_mux_contention <= tr_wb_mux_contention;
|
||||
|
|
|
@ -450,6 +450,9 @@ package taiga_types;
|
|||
logic no_instruction_stall;
|
||||
logic other_stall;
|
||||
logic instruction_issued_dec;
|
||||
logic branch_operand_stall;
|
||||
logic alu_operand_stall;
|
||||
logic ls_operand_stall;
|
||||
|
||||
//Branch Unit
|
||||
logic branch_misspredict;
|
||||
|
|
|
@ -43,6 +43,9 @@ static const char * const eventNames[] = {
|
|||
"no_instruction_stall",
|
||||
"other_stall",
|
||||
"instruction_issued_dec",
|
||||
"branch_operand_stall",
|
||||
"alu_operand_stall",
|
||||
"ls_operand_stall",
|
||||
"branch_misspredict",
|
||||
"return_misspredict",
|
||||
"wb_mux_contention",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue