File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -175,6 +175,9 @@ class GowinPlatform(TemplatedPlatform):
175
175
The environment is populated by running the script specified in the environment variable
176
176
``AMARANTH_ENV_APICULA``, if present.
177
177
178
+ Available overrides:
179
+ * ``add_preferences``: inserts commands at the end of the CST file.
180
+
178
181
Build products:
179
182
* ``{{name}}.fs``: binary bitstream.
180
183
@@ -186,6 +189,9 @@ class GowinPlatform(TemplatedPlatform):
186
189
The environment is populated by running the script specified in the environment variable
187
190
``AMARANTH_ENV_GOWIN``, if present.
188
191
192
+ Available overrides:
193
+ * ``add_preferences``: inserts commands at the end of the CST file.
194
+
189
195
Build products:
190
196
* ``{{name}}.fs``: binary bitstream.
191
197
"""
@@ -346,6 +352,7 @@ def _osc_div(self):
346
352
IO_PORT "{{port_name}}" {{attr_name}}={{attr_value}};
347
353
{% endfor %}
348
354
{% endfor %}
355
+ {{get_override("add_preferences")|default("# (add_preferences placeholder)")}}
349
356
""" ,
350
357
}
351
358
You can’t perform that action at this time.
0 commit comments