Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function automatic void PutSnoopResult(
- input logic [31:0] Address, // Address for the snoop result
- input snoop_result_e SnoopResult, // Snoop result value
- input bit NormalMode // Debug mode flag
- );
- if (NormalMode) begin
- $display("SnoopResult: Address = %h, SnoopResult = %0d", Address, SnoopResult);
- end
- endfunction
- function automatic void MessageToCache(
- input l2_l1_message_e Message, // Message type (e.g., `GETLINE`, `SENDLINE`)
- input logic [31:0] Address, // Address related to the message
- input bit NormalMode // Debug mode flag
- );
- if (NormalMode) begin
- $display("L2: Message = %0d, Address = %h", Message, Address);
- end
- endfunction
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement