summaryrefslogtreecommitdiff
path: root/rtl/gfx/fp_mul.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-10-22 00:16:40 -0600
committerAlejandro Soto <alejandro@34project.org>2023-10-22 00:16:50 -0600
commitc1c1f1e823099c82d02e94827a64d7a0b223048e (patch)
treecc6466fad9a943bbde314feb151bbacadf5b338a /rtl/gfx/fp_mul.sv
parenta14fc04f3b9f5bcef941ea79c794532d7ca0e7fc (diff)
rtl/gfx: reimplement multiplier as a much smaller mat-vec pipeline
Diffstat (limited to 'rtl/gfx/fp_mul.sv')
-rw-r--r--rtl/gfx/fp_mul.sv11
1 files changed, 2 insertions, 9 deletions
diff --git a/rtl/gfx/fp_mul.sv b/rtl/gfx/fp_mul.sv
index c5aa56a..90d30fb 100644
--- a/rtl/gfx/fp_mul.sv
+++ b/rtl/gfx/fp_mul.sv
@@ -3,25 +3,18 @@
module fp_mul
(
input logic clk,
- rst_n,
- input logic start,
input fp a,
b,
+ input logic stall,
- output logic done,
output fp q
);
- pipelined_flow #(.STAGES(`FP_MUL_STAGES)) stages
- (
- .*
- );
-
`ifndef VERILATOR
ip_fp_mul ip_mul
(
- .en(1),
+ .en(!stall),
.areset(0),
.*
);