build/xilinx: minor cleanup
This commit is contained in:
parent
047d1f48b5
commit
b43495aab1
|
@ -4,7 +4,6 @@ import sys
|
|||
|
||||
from migen.fhdl.std import *
|
||||
from migen.fhdl.structure import _Fragment
|
||||
|
||||
from migen.build.generic_platform import *
|
||||
from migen.build import tools
|
||||
from migen.build.xilinx import common
|
||||
|
@ -134,7 +133,7 @@ def _default_ise_path():
|
|||
|
||||
|
||||
def _default_source():
|
||||
return False if sys.platform == "win32" else True
|
||||
return sys.platform != "win32"
|
||||
|
||||
|
||||
class XilinxISEToolchain:
|
||||
|
|
|
@ -17,7 +17,7 @@ class XilinxPlatform(GenericPlatform):
|
|||
def get_verilog(self, *args, special_overrides=dict(), **kwargs):
|
||||
so = dict(common.xilinx_special_overrides)
|
||||
if self.device[:3] == "xc7":
|
||||
so.update(dict(common.xilinx_s7_special_overrides))
|
||||
so.update(common.xilinx_s7_special_overrides)
|
||||
so.update(special_overrides)
|
||||
return GenericPlatform.get_verilog(self, *args, special_overrides=so, **kwargs)
|
||||
|
||||
|
|
Loading…
Reference in New Issue