From: Alain Péteut Date: Sun, 7 Jul 2019 21:36:32 +0000 (+0200) Subject: vendor.xilinx_7series: generate also binary bitfile. X-Git-Tag: locally_working~101 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31c54d32efb9c2851460adc954f5d1fa97800925;p=nmigen.git vendor.xilinx_7series: generate also binary bitfile. Fixes #139. --- diff --git a/nmigen/vendor/xilinx_7series.py b/nmigen/vendor/xilinx_7series.py index 3027070..193221a 100644 --- a/nmigen/vendor/xilinx_7series.py +++ b/nmigen/vendor/xilinx_7series.py @@ -42,7 +42,8 @@ class Xilinx7SeriesPlatform(TemplatedPlatform): * ``{{name}}_timing.rpt``: Vivado report. * ``{{name}}_power.rpt``: Vivado report. * ``{{name}}_route.dcp``: Vivado design checkpoint. - * ``{{name}}.bit``: binary bitstream. + * ``{{name}}.bit``: binary bitstream with metadata. + * ``{{name}}.bin``: binary bitstream. """ toolchain = "Vivado" @@ -92,7 +93,7 @@ class Xilinx7SeriesPlatform(TemplatedPlatform): report_timing_summary -datasheet -max_paths 10 -file {{name}}_timing.rpt report_power -file {{name}}_power.rpt {{get_override("script_before_bitstream")|default("# (script_before_bitstream placeholder)")}} - write_bitstream -force {{name}}.bit + write_bitstream -force -bin_file {{name}}.bit {{get_override("script_after_bitstream")|default("# (script_after_bitstream placeholder)")}} quit """,