File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ class IntelPlatform(TemplatedPlatform):
19
19
``NMIGEN_ENV_Quartus``, if present.
20
20
21
21
Available overrides:
22
+ * ``add_settings``: inserts commands at the end of the QSF file.
23
+ * ``add_constraints``: inserts commands at the end of the SDC file.
22
24
* ``nproc``: sets the number of cores used by all tools.
23
25
* ``quartus_map_opts``: adds extra options for ``quartus_map``.
24
26
* ``quartus_fit_opts``: adds extra options for ``quartus_fit``.
@@ -103,6 +105,8 @@ class IntelPlatform(TemplatedPlatform):
103
105
{% endfor %}
104
106
105
107
set_global_assignment -name GENERATE_RBF_FILE ON
108
+
109
+ {{get_override("add_settings")|default("# (add_settings placeholder)")}}
106
110
""" ,
107
111
"{{name}}.sdc" : r"""
108
112
{% for net_signal, port_signal, frequency in platform.iter_clock_constraints() -%}
@@ -112,6 +116,7 @@ class IntelPlatform(TemplatedPlatform):
112
116
create_clock -name {{net_signal.name|tcl_quote}} -period {{1000000000/frequency}} [get_nets {{net_signal|hierarchy("|")|tcl_quote}}]
113
117
{% endif %}
114
118
{% endfor %}
119
+ {{get_override("add_constraints")|default("# (add_constraints placeholder)")}}
115
120
""" ,
116
121
"{{name}}.srf" : r"""
117
122
{% for warning in platform.quartus_suppressed_warnings %}
You can’t perform that action at this time.
0 commit comments