diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-09-25 19:55:29 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-09-25 19:55:29 -0600 |
| commit | fa370016708149976c748c14eadad1f89cf5a8ea (patch) | |
| tree | 785ca92bebaef645e15f26a97d4892ef2ba2dad9 /rtl/core/cycles.sv | |
| parent | 3aa075cf009d9aa8c602389853cc3ea78cda8701 (diff) | |
Refactor CPSR and uarch.sv
Diffstat (limited to 'rtl/core/cycles.sv')
| -rw-r--r-- | rtl/core/cycles.sv | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/rtl/core/cycles.sv b/rtl/core/cycles.sv index c5ad62f..0f6ce15 100644 --- a/rtl/core/cycles.sv +++ b/rtl/core/cycles.sv @@ -1,4 +1,3 @@ -`include "core/psr.sv" `include "core/uarch.sv" module core_cycles @@ -11,7 +10,6 @@ module core_cycles input ptr decode_branch_offset, input alu_op decode_data_op, input ptr fetch_insn_pc, - input psr_flags alu_flags, output logic stall, branch, @@ -21,9 +19,7 @@ module core_cycles pc, pc_visible, output psr_mode reg_mode, - output alu_op data_op, - output psr_flags flags, - next_flags + output alu_op data_op ); enum @@ -34,12 +30,10 @@ module core_cycles assign stall = next_cycle != EXECUTE; assign pc_visible = pc + 2; assign next_cycle = EXECUTE; //TODO - assign next_flags = alu_flags; //TODO assign reg_mode = `MODE_SVC; //TODO always_ff @(posedge clk) begin cycle <= next_cycle; - flags <= next_flags; if(next_cycle == EXECUTE) begin branch <= 0; |
