vendor.xilinx_7series: read extra .xdc files.

This commit is contained in:
Alain Péteut 2019-07-02 09:47:40 +02:00 committed by whitequark
parent 94e8f479a5
commit b67f5cfa65

View file

@ -62,6 +62,11 @@ class Xilinx7SeriesPlatform(TemplatedPlatform):
{% endfor %}
add_files {{name}}.v
read_xdc {{name}}.xdc
{% for file in platform.extra_files %}
{% if file.endswith("xdc") -%}
read_xdc {{file}}
{% endif %}
{% endfor %}
{{get_override("script_after_read")|default("# (script_after_read placeholder)")}}
synth_design -top {{name}} -part {{platform.device}}{{platform.package}}-{{platform.speed}}
{{get_override("script_after_synth")|default("# (script_after_synth placeholder)")}}