From fef08e8c7045c3dd45d6a93d04072894b007c4f4 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 8 Apr 2014 19:59:15 +0200 Subject: [PATCH] mibuild: add bitstream_ext parameter to platforms --- mibuild/altera_quartus.py | 1 + mibuild/xilinx_ise.py | 1 + 2 files changed, 2 insertions(+) diff --git a/mibuild/altera_quartus.py b/mibuild/altera_quartus.py index 8783201d..cfda1cf0 100644 --- a/mibuild/altera_quartus.py +++ b/mibuild/altera_quartus.py @@ -77,6 +77,7 @@ quartus_sta {build_name}.qpf raise OSError("Subprocess failed") class AlteraQuartusPlatform(GenericPlatform): + bitstream_ext = ".sof" def build(self, fragment, build_dir="build", build_name="top", quartus_path="/opt/Altera", run=True): tools.mkdir_noerror(build_dir) diff --git a/mibuild/xilinx_ise.py b/mibuild/xilinx_ise.py index cc089328..8bab531a 100644 --- a/mibuild/xilinx_ise.py +++ b/mibuild/xilinx_ise.py @@ -184,6 +184,7 @@ class XilinxMultiReg: return XilinxMultiRegImpl(dr.i, dr.o, dr.odomain, dr.n) class XilinxISEPlatform(GenericPlatform): + bitstream_ext = ".bit" xst_opt = """-ifmt MIXED -opt_mode SPEED -reduce_control_sets auto -- 2.30.2