summaryrefslogtreecommitdiff
path: root/rtl/gfx/vec_dot.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-11-02 22:19:26 -0600
committerAlejandro Soto <alejandro@34project.org>2023-11-10 01:43:02 -0600
commitd5de20fade70a0d454e3aa0087313ca715ff8759 (patch)
tree55751c829e989500972c56f05a7b0cb5e4e07621 /rtl/gfx/vec_dot.sv
parent09fcdbe01553385658fe437dcb1777008c0ceb39 (diff)
rtl/gfx: rename modules
Diffstat (limited to 'rtl/gfx/vec_dot.sv')
-rw-r--r--rtl/gfx/vec_dot.sv49
1 files changed, 0 insertions, 49 deletions
diff --git a/rtl/gfx/vec_dot.sv b/rtl/gfx/vec_dot.sv
deleted file mode 100644
index a386e6d..0000000
--- a/rtl/gfx/vec_dot.sv
+++ /dev/null
@@ -1,49 +0,0 @@
-`include "gfx/gfx_defs.sv"
-
-module vec_dot
-(
- input logic clk,
-
- input logic stall_mul,
- stall_fold,
- feedback,
- feedback_last,
-
- input vec4 a,
- b,
-
- output fp q
-);
-
- vec4 products_fold, products_mul;
-
- horizontal_fold fold
- (
- .vec(products_fold),
- .stall(stall_fold),
- .*
- );
-
- genvar i;
- generate
- for (i = 0; i < `FLOATS_PER_VEC; ++i) begin: entries
- fp_mul entry_i
- (
- .a(a[i]),
- .b(b[i]),
- .q(products_mul[i]),
- .stall(stall_mul),
- .*
- );
-
- skid_buf #(.WIDTH($bits(fp))) skid_i
- (
- .in(products_mul[i]),
- .out(products_fold[i]),
- .stall(stall_mul),
- .*
- );
- end
- endgenerate
-
-endmodule