diff --git a/FABulous/fabric_generator/fabric_gen.py b/FABulous/fabric_generator/fabric_gen.py index adf720f3..2eee6eba 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 ###