initial work on dm for FP regs in debug spec

This commit is contained in:
James Stine 2024-06-06 18:12:43 -05:00
parent cd7624fb97
commit 12a4f2b97e

View File

@ -50,7 +50,13 @@ module dm import cvw::*; #(parameter cvw_t P) (
output logic [4:0] GPRAddr, output logic [4:0] GPRAddr,
output logic GPRScanEn, output logic GPRScanEn,
input logic GPRScanIn, input logic GPRScanIn,
output logic GPRScanOut output logic GPRScanOut,
output logic FPRSel,
output logic DebugFPRUpdate,
output logic [4:0] FPRAddr,
output logic FPRScanEn,
input logic FPRScanIn,
output logic FPRScanOut
); );
`include "debug.vh" `include "debug.vh"
@ -154,7 +160,6 @@ module dm import cvw::*; #(parameter cvw_t P) (
logic [2:0] CmdErr; logic [2:0] CmdErr;
const logic [3:0] DataCount = (P.XLEN/32); const logic [3:0] DataCount = (P.XLEN/32);
// Pack registers // Pack registers
assign DMControl = {2'b0, 1'b0, 2'b0, 1'b0, 10'b0, assign DMControl = {2'b0, 1'b0, 2'b0, 1'b0, 10'b0,
10'b0, 4'b0, NdmReset, DmActive}; 10'b0, 4'b0, NdmReset, DmActive};
@ -357,7 +362,6 @@ module dm import cvw::*; #(parameter cvw_t P) (
end end
end end
// Abstract command engine // Abstract command engine
// Due to length of the register scan chain, // Due to length of the register scan chain,
// abstract commands execute independently of other DM operations // abstract commands execute independently of other DM operations