removes mscratchcsw from CLIC feature
This commit is contained in:
		| @@ -419,10 +419,10 @@ riscv_hart_m_p<BASE, FEAT>::riscv_hart_m_p(feature_config cfg) | |||||||
|         csr_wr_cb[mxnti] = &this_class::write_csr_reg; |         csr_wr_cb[mxnti] = &this_class::write_csr_reg; | ||||||
|         csr_rd_cb[mintstatus] = &this_class::read_csr_reg; |         csr_rd_cb[mintstatus] = &this_class::read_csr_reg; | ||||||
|         csr_wr_cb[mintstatus] = &this_class::write_null; |         csr_wr_cb[mintstatus] = &this_class::write_null; | ||||||
|         csr_rd_cb[mscratchcsw] = &this_class::read_csr_reg; | //        csr_rd_cb[mscratchcsw] = &this_class::read_csr_reg; | ||||||
|         csr_wr_cb[mscratchcsw] = &this_class::write_csr_reg; | //        csr_wr_cb[mscratchcsw] = &this_class::write_csr_reg; | ||||||
|         csr_rd_cb[mscratchcswl] = &this_class::read_csr_reg; | //        csr_rd_cb[mscratchcswl] = &this_class::read_csr_reg; | ||||||
|         csr_wr_cb[mscratchcswl] = &this_class::write_csr_reg; | //        csr_wr_cb[mscratchcswl] = &this_class::write_csr_reg; | ||||||
|         csr_rd_cb[mintthresh] = &this_class::read_csr_reg; |         csr_rd_cb[mintthresh] = &this_class::read_csr_reg; | ||||||
|         csr_wr_cb[mintthresh] = &this_class::write_intthresh; |         csr_wr_cb[mintthresh] = &this_class::write_intthresh; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -466,10 +466,10 @@ riscv_hart_mu_p<BASE, FEAT>::riscv_hart_mu_p(feature_config cfg) | |||||||
|         csr_wr_cb[mxnti] = &this_class::write_csr_reg; |         csr_wr_cb[mxnti] = &this_class::write_csr_reg; | ||||||
|         csr_rd_cb[mintstatus] = &this_class::read_csr_reg; |         csr_rd_cb[mintstatus] = &this_class::read_csr_reg; | ||||||
|         csr_wr_cb[mintstatus] = &this_class::write_null; |         csr_wr_cb[mintstatus] = &this_class::write_null; | ||||||
|         csr_rd_cb[mscratchcsw] = &this_class::read_csr_reg; | //        csr_rd_cb[mscratchcsw] = &this_class::read_csr_reg; | ||||||
|         csr_wr_cb[mscratchcsw] = &this_class::write_csr_reg; | //        csr_wr_cb[mscratchcsw] = &this_class::write_csr_reg; | ||||||
|         csr_rd_cb[mscratchcswl] = &this_class::read_csr_reg; | //        csr_rd_cb[mscratchcswl] = &this_class::read_csr_reg; | ||||||
|         csr_wr_cb[mscratchcswl] = &this_class::write_csr_reg; | //        csr_wr_cb[mscratchcswl] = &this_class::write_csr_reg; | ||||||
|         csr_rd_cb[mintthresh] = &this_class::read_csr_reg; |         csr_rd_cb[mintthresh] = &this_class::read_csr_reg; | ||||||
|         csr_wr_cb[mintthresh] = &this_class::write_intthresh; |         csr_wr_cb[mintthresh] = &this_class::write_intthresh; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user