Skip to content

Commit

Permalink
Fix SConstruct bug for ecp5 boards and support for custom top module …
Browse files Browse the repository at this point in the history
…by command line
  • Loading branch information
cavearr committed Oct 7, 2023
1 parent 4ee8237 commit 6a6a40d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apio/resources/ecp5/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ except IndexError:

# -- Define the Sintesizing Builder
synth = Builder(
action='yosys -p \"synth_ecp5 -json $TARGET\" {} $SOURCES'.format(
action='yosys -p \"synth_ecp5 {0} -json $TARGET\" {1} $SOURCES'.format(
('-top '+YOSYS_TOP) if YOSYS_TOP else '',
'' if VERBOSE_ALL or VERBOSE_YOSYS else '-q'
),
Expand Down

0 comments on commit 6a6a40d

Please sign in to comment.