diff --git a/docker/finn_entrypoint.sh b/docker/finn_entrypoint.sh index 7d06b50997f8ff44eca743d222c430f4b032e0b0..7edb3f9a9e831e005440dd69b36998272d727da5 100644 --- a/docker/finn_entrypoint.sh +++ b/docker/finn_entrypoint.sh @@ -18,7 +18,7 @@ recho () { # checkout the correct dependency repo commits # the repos themselves are cloned in the Dockerfile FINN_BASE_COMMIT=ac0b86a63eb937b869bfa453a996a8a8b8506546 -FINN_EXP_COMMIT=e9f97dcdb4db2f889b0f36af079a6a1792b7d4de +FINN_EXP_COMMIT=f82c0d9868bb88ea045dfadb28508d327d287221 BREVITAS_COMMIT=d7ded80fa9557da2998ea310669edee7fb2d9526 CNPY_COMMIT=4e8810b1a8637695171ed346ce68f6984e585ef4 HLSLIB_COMMIT=4d74baefa79df48b5a0348d63f39a26df075de51 diff --git a/src/finn/custom_op/fpgadataflow/streamingfclayer_batch.py b/src/finn/custom_op/fpgadataflow/streamingfclayer_batch.py index 3cc01ade73fc6b735509f2839e5c10785a8b9f54..48b40f105c8cbcba1d82990d91c23e4e6614fc4d 100644 --- a/src/finn/custom_op/fpgadataflow/streamingfclayer_batch.py +++ b/src/finn/custom_op/fpgadataflow/streamingfclayer_batch.py @@ -239,7 +239,8 @@ class StreamingFCLayer_Batch(HLSCustomOp): mmode = self.get_nodeattr("mem_mode") mstyle = self.get_nodeattr("ram_style") if (mmode == "decoupled" and mstyle != "ultra") or ( - mmode == "const" and self.calc_wmem() <= 128 + mmode == "const" and self.calc_wmem() <= 128) or ( + mmode == "external" ): return 0 width_multiplier = math.ceil(mem_width / 72) @@ -266,7 +267,8 @@ class StreamingFCLayer_Batch(HLSCustomOp): mmode = self.get_nodeattr("mem_mode") mstyle = self.get_nodeattr("ram_style") if (mmode == "decoupled" and mstyle in ["distributed", "ultra"]) or ( - mmode == "const" and self.calc_wmem() <= 128 + mmode == "const" and self.calc_wmem() <= 128) or ( + mmode == "external" ): return 0 # assuming SDP mode RAMB18s (see UG573 Table 1-10)