Skip to content

Commit 512d8bf

Browse files
committed
vendor.gowin: do not overwrite synthesis JSON with P&R result.
1 parent 78ce3ad commit 512d8bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

amaranth/vendor/gowin.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def _osc_div(self):
223223
read_ilang {{name}}.il
224224
delete w:$verilog_initial_trigger
225225
{{get_override("script_after_read")|default("# (script_after_read placeholder)")}}
226-
synth_gowin {{get_override("synth_opts")|options}} -top {{name}} -json {{name}}.json
226+
synth_gowin {{get_override("synth_opts")|options}} -top {{name}} -json {{name}}.syn.json
227227
{{get_override("script_after_synth")|default("# (script_after_synth placeholder)")}}
228228
""",
229229
}
@@ -242,16 +242,16 @@ def _osc_div(self):
242242
--log {{name}}.tim
243243
--device {{platform.part}}
244244
--family {{platform._chipdb_device}}
245-
--json {{name}}.json
245+
--json {{name}}.syn.json
246246
--cst {{name}}.cst
247-
--write {{name}}.json
247+
--write {{name}}.pnr.json
248248
""",
249249
r"""
250250
{{invoke_tool("gowin_pack")}}
251251
-d {{platform._chipdb_device}}
252252
-o {{name}}.fs
253253
{{get_override("gowin_pack_opts")|options}}
254-
{{name}}.json
254+
{{name}}.pnr.json
255255
"""
256256
]
257257

0 commit comments

Comments
 (0)