mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	DM accesses to DPC address point to PCM
This commit is contained in:
		
							parent
							
								
									2fc214bb2d
								
							
						
					
					
						commit
						5ba6e4da0f
					
				@ -151,6 +151,7 @@
 | 
				
			|||||||
// wallypipelinedcore
 | 
					// wallypipelinedcore
 | 
				
			||||||
`define TRAPM_REGNO       16'hC000 // 1'b  P.ZICSR_SUPPORTED (Read Only)
 | 
					`define TRAPM_REGNO       16'hC000 // 1'b  P.ZICSR_SUPPORTED (Read Only)
 | 
				
			||||||
// src/ifu
 | 
					// src/ifu
 | 
				
			||||||
 | 
					`define DPC_REGNO         16'h07B1 // BOZO: Alias to PCM until DPC CSR is added
 | 
				
			||||||
`define PCM_REGNO         16'hC001 // XLEN P.ZICSR_SUPPORTED | P.BPRED_SUPPORTED
 | 
					`define PCM_REGNO         16'hC001 // XLEN P.ZICSR_SUPPORTED | P.BPRED_SUPPORTED
 | 
				
			||||||
`define INSTRM_REGNO      16'hC002 // 32'b P.ZICSR_SUPPORTED | P.A_SUPPORTED
 | 
					`define INSTRM_REGNO      16'hC002 // 32'b P.ZICSR_SUPPORTED | P.A_SUPPORTED
 | 
				
			||||||
// ieu/controller
 | 
					// ieu/controller
 | 
				
			||||||
 | 
				
			|||||||
@ -101,6 +101,7 @@ module rad import cvw::*; #(parameter cvw_t P) (
 | 
				
			|||||||
        InvalidRegNo = ~P.ZICSR_SUPPORTED;
 | 
					        InvalidRegNo = ~P.ZICSR_SUPPORTED;
 | 
				
			||||||
        RegReadOnly = 1;
 | 
					        RegReadOnly = 1;
 | 
				
			||||||
      end
 | 
					      end
 | 
				
			||||||
 | 
					      `DPC_REGNO,  // BOZO: Alias to PCM until DPC CSR is added
 | 
				
			||||||
      `PCM_REGNO : begin
 | 
					      `PCM_REGNO : begin
 | 
				
			||||||
        ShiftCount = SCANCHAINLEN - PCM_IDX;
 | 
					        ShiftCount = SCANCHAINLEN - PCM_IDX;
 | 
				
			||||||
        InvalidRegNo = ~(P.ZICSR_SUPPORTED | P.BPRED_SUPPORTED);
 | 
					        InvalidRegNo = ~(P.ZICSR_SUPPORTED | P.BPRED_SUPPORTED);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user