Additional trace signals

This commit is contained in:
Eric Matthews 2019-09-16 12:20:46 -07:00
parent 8aa593807d
commit 9903073465
4 changed files with 18 additions and 0 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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",