diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-11-08 13:00:40 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-11-08 13:29:23 -0600 |
| commit | f6929f9a4703e3eee9d7bd9752de055729cdd498 (patch) | |
| tree | 770acb4f96fd16e0f12bec2c5ed5cfdfa5a4c315 /rtl/core/decode/conds.sv | |
| parent | 89a8edd4bb96787c69118dd5f549345015b2d480 (diff) | |
Register decode output in a new porch stage
Diffstat (limited to '')
| -rw-r--r-- | rtl/core/porch/conds.sv (renamed from rtl/core/decode/conds.sv) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rtl/core/decode/conds.sv b/rtl/core/porch/conds.sv index 60922a0..b8db1e7 100644 --- a/rtl/core/decode/conds.sv +++ b/rtl/core/porch/conds.sv @@ -1,9 +1,9 @@ `include "core/decode/isa.sv" `include "core/uarch.sv" -module core_decode_conds +module core_porch_conds ( - input logic[3:0] cond, + input word insn, input psr_flags flags, output logic execute, @@ -15,7 +15,7 @@ module core_decode_conds undefined = 0; conditional = 1; - unique case(cond) + unique case(insn `FIELD_COND) `COND_EQ: execute = flags.z; `COND_NE: execute = ~flags.z; `COND_HS: execute = flags.c; |
