targets: replace PCIeSoC with BaseSoC.
This commit is contained in:
parent
d28a0c4258
commit
fc22e28fe9
|
@ -68,9 +68,9 @@ class CRG(Module):
|
||||||
|
|
||||||
self.submodules.idelayctrl = S7IDELAYCTRL(self.cd_clk200)
|
self.submodules.idelayctrl = S7IDELAYCTRL(self.cd_clk200)
|
||||||
|
|
||||||
# PCIeSoC -----------------------------------------------------------------------------------------
|
# BaseSoC -----------------------------------------------------------------------------------------
|
||||||
|
|
||||||
class PCIeSoC(SoCCore):
|
class BaseSoC(SoCCore):
|
||||||
def __init__(self, platform, **kwargs):
|
def __init__(self, platform, **kwargs):
|
||||||
sys_clk_freq = int(100e6)
|
sys_clk_freq = int(100e6)
|
||||||
|
|
||||||
|
@ -171,7 +171,7 @@ def main():
|
||||||
args.csr_data_width = 32
|
args.csr_data_width = 32
|
||||||
|
|
||||||
platform = acorn_cle_215.Platform()
|
platform = acorn_cle_215.Platform()
|
||||||
soc = PCIeSoC(platform, **soc_sdram_argdict(args))
|
soc = BaseSoC(platform, **soc_sdram_argdict(args))
|
||||||
builder = Builder(soc, **builder_argdict(args))
|
builder = Builder(soc, **builder_argdict(args))
|
||||||
builder.build(run=args.build)
|
builder.build(run=args.build)
|
||||||
|
|
||||||
|
|
|
@ -51,9 +51,9 @@ class CRG(Module):
|
||||||
|
|
||||||
self.submodules.idelayctrl = S7IDELAYCTRL(self.cd_clk200)
|
self.submodules.idelayctrl = S7IDELAYCTRL(self.cd_clk200)
|
||||||
|
|
||||||
# PCIeSoC -----------------------------------------------------------------------------------------
|
# BaseSoC -----------------------------------------------------------------------------------------
|
||||||
|
|
||||||
class PCIeSoC(SoCCore):
|
class BaseSoC(SoCCore):
|
||||||
def __init__(self, platform, **kwargs):
|
def __init__(self, platform, **kwargs):
|
||||||
sys_clk_freq = int(100e6)
|
sys_clk_freq = int(100e6)
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ def main():
|
||||||
args.csr_data_width = 32
|
args.csr_data_width = 32
|
||||||
|
|
||||||
platform = aller.Platform()
|
platform = aller.Platform()
|
||||||
soc = PCIeSoC(platform, **soc_sdram_argdict(args))
|
soc = BaseSoC(platform, **soc_sdram_argdict(args))
|
||||||
builder = Builder(soc, **builder_argdict(args))
|
builder = Builder(soc, **builder_argdict(args))
|
||||||
builder.build(run=args.build)
|
builder.build(run=args.build)
|
||||||
|
|
||||||
|
|
|
@ -48,9 +48,9 @@ class CRG(Module):
|
||||||
|
|
||||||
self.submodules.idelayctrl = S7IDELAYCTRL(self.cd_clk200)
|
self.submodules.idelayctrl = S7IDELAYCTRL(self.cd_clk200)
|
||||||
|
|
||||||
# PCIeSoC -----------------------------------------------------------------------------------------
|
# BaseSoC -----------------------------------------------------------------------------------------
|
||||||
|
|
||||||
class PCIeSoC(SoCCore):
|
class BaseSoC(SoCCore):
|
||||||
def __init__(self, platform, **kwargs):
|
def __init__(self, platform, **kwargs):
|
||||||
sys_clk_freq = int(100e6)
|
sys_clk_freq = int(100e6)
|
||||||
|
|
||||||
|
@ -143,7 +143,7 @@ def main():
|
||||||
args.csr_data_width = 32
|
args.csr_data_width = 32
|
||||||
|
|
||||||
platform = nereid.Platform()
|
platform = nereid.Platform()
|
||||||
soc = PCIeSoC(platform, **soc_sdram_argdict(args))
|
soc = BaseSoC(platform, **soc_sdram_argdict(args))
|
||||||
builder = Builder(soc, **builder_argdict(args))
|
builder = Builder(soc, **builder_argdict(args))
|
||||||
builder.build(run=args.build)
|
builder.build(run=args.build)
|
||||||
|
|
||||||
|
|
|
@ -51,9 +51,9 @@ class CRG(Module):
|
||||||
|
|
||||||
self.submodules.idelayctrl = S7IDELAYCTRL(self.cd_clk200)
|
self.submodules.idelayctrl = S7IDELAYCTRL(self.cd_clk200)
|
||||||
|
|
||||||
# PCIeSoC -----------------------------------------------------------------------------------------
|
# BaseSoC -----------------------------------------------------------------------------------------
|
||||||
|
|
||||||
class PCIeSoC(SoCCore):
|
class BaseSoC(SoCCore):
|
||||||
def __init__(self, platform, **kwargs):
|
def __init__(self, platform, **kwargs):
|
||||||
sys_clk_freq = int(100e6)
|
sys_clk_freq = int(100e6)
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ def main():
|
||||||
args.csr_data_width = 32
|
args.csr_data_width = 32
|
||||||
|
|
||||||
platform = tagus.Platform()
|
platform = tagus.Platform()
|
||||||
soc = PCIeSoC(platform, **soc_sdram_argdict(args))
|
soc = BaseSoC(platform, **soc_sdram_argdict(args))
|
||||||
builder = Builder(soc, **builder_argdict(args))
|
builder = Builder(soc, **builder_argdict(args))
|
||||||
builder.build(run=args.build)
|
builder.build(run=args.build)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue