From 5202bce32bd9157508ed48da37e114b7ade0ec70 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Wed, 25 Oct 2023 19:13:19 -0600 Subject: rtl/gfx: implement skid buffers --- rtl/gfx/vec_dot.sv | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'rtl/gfx/vec_dot.sv') diff --git a/rtl/gfx/vec_dot.sv b/rtl/gfx/vec_dot.sv index 4e1fdee..c0926ac 100644 --- a/rtl/gfx/vec_dot.sv +++ b/rtl/gfx/vec_dot.sv @@ -15,11 +15,11 @@ module vec_dot output fp q ); - vec4 products; + vec4 products_fold, products_mul; horizontal_fold fold ( - .vec(products), + .vec(products_fold), .stall(stall_fold), .* ); @@ -31,7 +31,15 @@ module vec_dot ( .a(a[i]), .b(b[i]), - .q(products[i]), + .q(products_mul[i]), + .stall(stall_mul), + .* + ); + + skid_buf #(.WIDTH($bits(vec4))) skid_i + ( + .in(products_mul[i]), + .out(products_fold[i]), .stall(stall_mul), .* ); -- cgit v1.2.3