Merge pull request #43 from felixheld/programmer-error-fix
fix the unsupported programmer case for kc705 and minispartan6
This commit is contained in:
commit
7b6ba372c8
|
@ -496,7 +496,8 @@ set_property CONFIG_VOLTAGE 2.5 [current_design]
|
||||||
elif self.programmer == "impact":
|
elif self.programmer == "impact":
|
||||||
return iMPACT()
|
return iMPACT()
|
||||||
else:
|
else:
|
||||||
raise ValueError("{} programmer is not supported".format(programmer))
|
raise ValueError("{} programmer is not supported".format(
|
||||||
|
self.programmer))
|
||||||
|
|
||||||
def do_finalize(self, fragment):
|
def do_finalize(self, fragment):
|
||||||
XilinxPlatform.do_finalize(self, fragment)
|
XilinxPlatform.do_finalize(self, fragment)
|
||||||
|
|
|
@ -123,4 +123,5 @@ class Platform(XilinxPlatform):
|
||||||
elif self.programmer == "fpgaprog":
|
elif self.programmer == "fpgaprog":
|
||||||
return FpgaProg()
|
return FpgaProg()
|
||||||
else:
|
else:
|
||||||
raise ValueError("{} programmer is not supported".format(programmer))
|
raise ValueError("{} programmer is not supported".format(
|
||||||
|
self.programmer))
|
||||||
|
|
Loading…
Reference in New Issue