diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-01-21 06:23:46 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-02-20 11:11:17 -0600 |
| commit | f3b18ead59ae02f95dabbf0a1dea40873a816975 (patch) | |
| tree | 8979e50f2a37f66a4cd27e937b480efe60d72cf7 /rtl/core/decode/coproc_dec.sv | |
| parent | a8bc5a353ea997f73209b39377ee15a73e471237 (diff) | |
rtl: refactor filenames and directory hierarchy
Diffstat (limited to 'rtl/core/decode/coproc_dec.sv')
| -rw-r--r-- | rtl/core/decode/coproc_dec.sv | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/rtl/core/decode/coproc_dec.sv b/rtl/core/decode/coproc_dec.sv deleted file mode 100644 index 153cadf..0000000 --- a/rtl/core/decode/coproc_dec.sv +++ /dev/null @@ -1,24 +0,0 @@ -`include "core/decode/isa.sv" -`include "core/uarch.sv" - -module core_decode_coproc -( - input word insn, - - output coproc_decode decode, - output reg_num rd, - output logic writeback, - update_flags -); - - assign rd = insn `FIELD_CP_RD; - assign writeback = decode.load && rd != `R15; - assign update_flags = decode.load && rd == `R15; - - assign decode.crn = insn `FIELD_CP_CRN; - assign decode.crm = insn `FIELD_CP_CRM; - assign decode.op1 = insn `FIELD_CP_OPCODE; - assign decode.op2 = insn `FIELD_CP_OPCODE2; - assign decode.load = insn `FIELD_CP_LOAD; - -endmodule |
