mibuild: add bitstream_ext parameter to platforms

This commit is contained in:
Florent Kermarrec 2014-04-08 19:59:15 +02:00 committed by Sebastien Bourdeauducq
parent 82e4980f5c
commit fef08e8c70
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -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