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")
|
||||
|
||||
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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue