Skip to content

Commit 2e447f7

Browse files
Update FABulous/fabric_cad/gen_design_top_wrapper.py
Co-authored-by: Kelvin Chung <[email protected]>
1 parent c8e373b commit 2e447f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FABulous/fabric_cad/gen_design_top_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def generateUserDesignTopWrapper(
7878
f"Skipping bel {bel.name} in tile X{x}Y{y} since it has no external ports"
7979
)
8080
continue
81-
if len(bel.inputs and bel.outputs) == 0:
81+
if len(bel.inputs + bel.outputs) == 0:
8282
logger.info(
8383
f"{bel.name} in tile X{x}Y{y} has no internal ports, only external ports, we just add a dummy to the user design top wrapper!"
8484
)

0 commit comments

Comments
 (0)