Skip to content

Commit 6828b73

Browse files
committed
Changed the location in which 'yosys-extra-options' are injected into the Yosys command.
1 parent f716800 commit 6828b73

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apio/scons/plugin_ecp5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def synth_builder(self) -> BuilderBase:
6767
# -- The yosys synth builder.
6868
return Builder(
6969
action=(
70-
'yosys -p "synth_ecp5 -top {0} {1} -json $TARGET" '
70+
'yosys -p "synth_ecp5 -top {0} -json $TARGET {1}" '
7171
"{2} -DSYNTHESIZE {3} $SOURCES"
7272
).format(
7373
params.apio_env_params.top_module,

apio/scons/plugin_gowin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def synth_builder(self) -> BuilderBase:
6363
# -- The yosys synth builder.
6464
return Builder(
6565
action=(
66-
'yosys -p "synth_gowin -top {0} {1} -json $TARGET" '
66+
'yosys -p "synth_gowin -top {0} -json $TARGET {1}" '
6767
"{2} -DSYNTHESIZE {3} $SOURCES"
6868
).format(
6969
params.apio_env_params.top_module,

apio/scons/plugin_ice40.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def synth_builder(self) -> BuilderBase:
6363
# -- The yosys synth builder.
6464
return Builder(
6565
action=(
66-
'yosys -p "synth_ice40 -top {0} {1} -json $TARGET" '
66+
'yosys -p "synth_ice40 -top {0} -json $TARGET {1}" '
6767
"{2} -DSYNTHESIZE {3} $SOURCES"
6868
).format(
6969
params.apio_env_params.top_module,

0 commit comments

Comments
 (0)