mibuild: add bitstream_ext parameter to platforms
This commit is contained in:
parent
82e4980f5c
commit
fef08e8c70
|
@ -77,6 +77,7 @@ quartus_sta {build_name}.qpf
|
||||||
raise OSError("Subprocess failed")
|
raise OSError("Subprocess failed")
|
||||||
|
|
||||||
class AlteraQuartusPlatform(GenericPlatform):
|
class AlteraQuartusPlatform(GenericPlatform):
|
||||||
|
bitstream_ext = ".sof"
|
||||||
def build(self, fragment, build_dir="build", build_name="top",
|
def build(self, fragment, build_dir="build", build_name="top",
|
||||||
quartus_path="/opt/Altera", run=True):
|
quartus_path="/opt/Altera", run=True):
|
||||||
tools.mkdir_noerror(build_dir)
|
tools.mkdir_noerror(build_dir)
|
||||||
|
|
|
@ -184,6 +184,7 @@ class XilinxMultiReg:
|
||||||
return XilinxMultiRegImpl(dr.i, dr.o, dr.odomain, dr.n)
|
return XilinxMultiRegImpl(dr.i, dr.o, dr.odomain, dr.n)
|
||||||
|
|
||||||
class XilinxISEPlatform(GenericPlatform):
|
class XilinxISEPlatform(GenericPlatform):
|
||||||
|
bitstream_ext = ".bit"
|
||||||
xst_opt = """-ifmt MIXED
|
xst_opt = """-ifmt MIXED
|
||||||
-opt_mode SPEED
|
-opt_mode SPEED
|
||||||
-reduce_control_sets auto
|
-reduce_control_sets auto
|
||||||
|
|
Loading…
Reference in New Issue