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/control/coproc.sv | |
| parent | a8bc5a353ea997f73209b39377ee15a73e471237 (diff) | |
rtl: refactor filenames and directory hierarchy
Diffstat (limited to 'rtl/core/control/coproc.sv')
| -rw-r--r-- | rtl/core/control/coproc.sv | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/rtl/core/control/coproc.sv b/rtl/core/control/coproc.sv deleted file mode 100644 index 05ac655..0000000 --- a/rtl/core/control/coproc.sv +++ /dev/null @@ -1,32 +0,0 @@ -`include "core/uarch.sv" - -module core_control_coproc -( - input logic clk, - rst_n, - - input insn_decode dec, - input word coproc_read, - - input ctrl_cycle next_cycle, - input logic issue, - - output logic coproc, - output word coproc_wb, - output coproc_decode coproc_ctrl -); - - always_ff @(posedge clk or negedge rst_n) - if(!rst_n) begin - coproc <= 0; - coproc_wb <= 0; - coproc_ctrl <= {$bits(coproc_ctrl){1'b0}}; - end else if(next_cycle.issue && issue) begin - coproc <= dec.ctrl.coproc; - coproc_ctrl <= dec.coproc; - end else if(next_cycle.coproc) begin - coproc <= 0; - coproc_wb <= coproc_read; - end - -endmodule |
