From 8f04ad316e1d8f74f6b620881497c38a60a05a67 Mon Sep 17 00:00:00 2001 From: Kelvin Chung Date: Wed, 13 Nov 2024 10:25:39 +0000 Subject: [PATCH] fix configuration bit problem after #242 --- FABulous/fabric_generator/fabric_gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FABulous/fabric_generator/fabric_gen.py b/FABulous/fabric_generator/fabric_gen.py index adf720f..2eee6eb 100644 --- a/FABulous/fabric_generator/fabric_gen.py +++ b/FABulous/fabric_generator/fabric_gen.py @@ -704,7 +704,7 @@ def genTileSwitchMatrix(self, tile: Tile) -> None: ) # update the configuration bitstream position - configBitstreamPosition += len(connections[portName]).bit_length() - 1 + configBitstreamPosition += paddedMuxSize.bit_length() - 1 ### SwitchMatrixDebugSignals ### SwitchMatrixDebugSignals ### ### SwitchMatrixDebugSignals ### SwitchMatrixDebugSignals ###