From 8fb6d175a7f1003ff441e3fc82b8ed39bb7dabbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20B=2E=20Preu=C3=9Fer?= Date: Thu, 21 Nov 2024 10:58:23 +0000 Subject: [PATCH] Refuse useless clock pumping for SIMD=1. --- finn-rtllib/mvu/mvu_vvu_axi.sv | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/finn-rtllib/mvu/mvu_vvu_axi.sv b/finn-rtllib/mvu/mvu_vvu_axi.sv index 0ee84b2f79..d534a4e1e7 100644 --- a/finn-rtllib/mvu/mvu_vvu_axi.sv +++ b/finn-rtllib/mvu/mvu_vvu_axi.sv @@ -102,6 +102,10 @@ module mvu_vvu_axi #( $error("Matrix height (%0d) is not a multiple of PE (%0d).", MH, PE); $finish; end + if (PUMPED_COMPUTE && (SIMD == 1)) begin + $error("Clock pumping an input of SIMD=1 is not meaningful."); + $finish; + end if (WEIGHT_WIDTH > 8) begin $error("Weight width of %0d-bits exceeds maximum of 8-bits", WEIGHT_WIDTH); $finish;