mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 12:57:13 -04:00
Use enum type for csr_op*
instead of logic, resolves #34
This commit is contained in:
parent
967834db0c
commit
db6cb55656
2 changed files with 4 additions and 4 deletions
|
@ -129,10 +129,10 @@ module ibex_core #(
|
|||
|
||||
// CSR control
|
||||
logic csr_access_ex;
|
||||
logic [1:0] csr_op_ex;
|
||||
csr_op_e csr_op_ex;
|
||||
|
||||
logic csr_access;
|
||||
logic [1:0] csr_op;
|
||||
csr_op_e csr_op;
|
||||
csr_num_e csr_addr;
|
||||
logic [31:0] csr_rdata;
|
||||
logic [31:0] csr_wdata;
|
||||
|
|
|
@ -86,7 +86,7 @@ module ibex_id_stage #(
|
|||
|
||||
// CSR
|
||||
output logic csr_access_ex_o,
|
||||
output logic [1:0] csr_op_ex_o,
|
||||
output ibex_defines::csr_op_e csr_op_ex_o,
|
||||
output ibex_defines::exc_cause_e csr_cause_o,
|
||||
output logic csr_save_if_o,
|
||||
output logic csr_save_id_o,
|
||||
|
@ -220,7 +220,7 @@ module ibex_id_stage #(
|
|||
|
||||
// CSR control
|
||||
logic csr_access;
|
||||
logic [1:0] csr_op;
|
||||
csr_op_e csr_op;
|
||||
logic csr_status;
|
||||
|
||||
// Forwarding
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue