Skip to content

Commit

Permalink
vendor._gowin: Document SDC parsing quirk
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanthom committed Sep 3, 2024
1 parent d763280 commit a285a73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions amaranth/vendor/_gowin.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,8 @@ def _osc_div(self):
file delete -force {{name}}.fs
file copy -force impl/pnr/project.fs {{name}}.fs
""",
# Gowin is using neither Tcl nor the Synopsys code to parse SDC files, so the grammar
# deviates from the usual (eg. no quotes, no nested braces).
"{{name}}.sdc": r"""
// {{autogenerated}}
{% for signal, frequency in platform.iter_signal_clock_constraints() -%}
Expand Down

0 comments on commit a285a73

Please sign in to comment.