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