targets: Switch to soc_core_argdict.

The next move was to remove soc_core and only keep soc; so this is probably the right time to do
it in targets to avoid having to handle it later.
This commit is contained in:
Florent Kermarrec 2022-11-07 08:43:26 +01:00
parent f1e24046fd
commit 16b9677acd
137 changed files with 137 additions and 137 deletions

View File

@ -131,7 +131,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
with_pcie = args.with_pcie,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)

View File

@ -84,7 +84,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -99,7 +99,7 @@ def main():
variant = args.variant,
sys_clk_freq = int(float(args.sys_clk_freq)),
with_spi_flash = args.with_spi_flash,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)

View File

@ -166,7 +166,7 @@ def main():
with_video_terminal = args.with_video_terminal,
with_video_framebuffer = args.with_video_framebuffer,
with_video_colorbars = args.with_video_colorbars,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)

View File

@ -70,7 +70,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -63,7 +63,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -181,7 +181,7 @@ def main():
soc = BaseSoC(
sys_clk_freq=int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.cpu_type == "zynqmp":

View File

@ -142,7 +142,7 @@ def main():
eth_dynamic_ip = args.eth_dynamic_ip,
with_sdram = args.with_sdram,
eth_reset_time = args.eth_reset_time,
**parser.soc_core_argdict
**parser.soc_argdict
)
if args.with_emmc:

View File

@ -214,7 +214,7 @@ def main():
with_spi_flash = args.with_spi_flash,
with_video_terminal = args.with_video_terminal,
with_video_framebuffer = args.with_video_framebuffer,
**parser.soc_core_argdict)
**parser.soc_argdict)
builder = Builder(soc, **parser.builder_argdict)
if args.build:
builder.build(**parser.toolchain_argdict)

View File

@ -141,7 +141,7 @@ def main():
with_sdcard = args.with_sdcard,
with_jtagbone = args.with_jtagbone,
with_uartbone = args.with_uartbone,
**parser.soc_core_argdict)
**parser.soc_argdict)
builder = Builder(soc, **parser.builder_argdict)
if args.build:
builder.build(**parser.toolchain_argdict)

View File

@ -78,7 +78,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -110,7 +110,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -161,7 +161,7 @@ def main():
with_etherbone = args.with_etherbone,
with_bist = args.with_bist,
spd_dump = args.spd_dump,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -109,7 +109,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
toolchain = args.toolchain,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -201,7 +201,7 @@ def main():
eth_phy = args.eth_phy,
use_internal_osc = args.use_internal_osc,
sdram_rate = args.sdram_rate,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)

View File

@ -208,7 +208,7 @@ def main():
sdram_rate = args.sdram_rate,
with_video_terminal = args.with_video_terminal,
with_video_framebuffer = args.with_video_framebuffer,
**parser.soc_core_argdict
**parser.soc_argdict
)
soc.platform.add_extension(colorlight_i5._sdcard_pmod_io)
if args.with_spi_sdcard:

View File

@ -71,7 +71,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
with_pcie = args.with_pcie | True, # FIXME: Always enable PCIe for now.
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -166,7 +166,7 @@ def main():
with_sata = args.with_sata,
with_video_terminal = args.with_video_terminal,
with_video_framebuffer = args.with_video_framebuffer,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -116,7 +116,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
with_pcie = args.with_pcie,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -186,7 +186,7 @@ def main():
with_jtagbone = args.with_jtagbone,
with_spi_flash = args.with_spi_flash,
with_pmod_gpio = args.with_pmod_gpio,
**parser.soc_core_argdict
**parser.soc_argdict
)
if args.sdcard_adapter == "numato":
soc.platform.add_extension(digilent_arty._numato_sdcard_pmod_io)

View File

@ -96,7 +96,7 @@ def main():
variant = args.variant,
sys_clk_freq = int(float(args.sys_clk_freq)),
with_spi_flash = args.with_spi_flash,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -167,7 +167,7 @@ def main():
variant = args.variant,
toolchain = args.toolchain,
sys_clk_freq=int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.cpu_type == "zynq7000":

View File

@ -215,7 +215,7 @@ def main():
soc = BaseSoC(
with_ethernet = args.with_ethernet,
with_etherbone = args.with_etherbone,
**parser.soc_core_argdict)
**parser.soc_argdict)
builder = Builder(soc, **parser.builder_argdict)
if args.build:
builder.build(**parser.toolchain_argdict)

View File

@ -76,7 +76,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
with_video_terminal = args.with_video_terminal,
**parser.soc_core_argdict
**parser.soc_argdict
)
soc.platform.add_extension(digilent_basys3._sdcard_pmod_io)
if args.with_spi_sdcard:

View File

@ -150,7 +150,7 @@ def main():
toolchain = args.toolchain,
sys_clk_freq = int(float(args.sys_clk_freq)),
with_spi_flash = args.with_spi_flash,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder_argd = parser.builder_argdict

View File

@ -102,7 +102,7 @@ def main():
sys_clk_freq = int(float(args.sys_clk_freq)),
with_ethernet = args.with_ethernet,
with_etherbone = args.with_etherbone,
**parser.soc_core_argdict
**parser.soc_argdict
)
if args.with_spi_sdcard:
soc.add_spi_sdcard()

View File

@ -225,7 +225,7 @@ def main():
with_etherbone = args.with_etherbone,
with_video_terminal = args.with_video_terminal,
with_video_framebuffer = args.with_video_framebuffer,
**parser.soc_core_argdict
**parser.soc_argdict
)
if args.with_spi_sdcard:
soc.add_spi_sdcard()

View File

@ -123,7 +123,7 @@ def main():
with_etherbone = args.with_etherbone,
with_video_terminal = args.with_video_terminal,
with_video_framebuffer = args.with_video_framebuffer,
**parser.soc_core_argdict
**parser.soc_argdict
)
if args.with_spi_sdcard:
soc.add_spi_sdcard()

View File

@ -186,7 +186,7 @@ def main():
vadj = args.vadj,
with_video_terminal = args.with_video_terminal,
with_video_framebuffer = args.with_video_framebuffer,
**parser.soc_core_argdict
**parser.soc_argdict
)
if args.with_spi_sdcard:
soc.add_spi_sdcard()

View File

@ -108,7 +108,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
with_video_terminal = args.with_video_terminal,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -154,7 +154,7 @@ def main():
soc = BaseSoC(
sys_clk_freq=int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.cpu_type == "zynq7000":

View File

@ -72,7 +72,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -93,7 +93,7 @@ def main():
soc = BaseSoC(
bios_flash_offset = int(args.bios_flash_offset, 0),
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict)
**parser.soc_argdict)
builder = Builder(soc, **parser.builder_argdict)
if args.build:
builder.build(**parser.toolchain_argdict)

View File

@ -142,7 +142,7 @@ def main():
with_etherbone = args.with_etherbone,
eth_ip = args.eth_ip,
eth_phy = args.eth_phy,
**parser.soc_core_argdict)
**parser.soc_argdict)
if args.with_spi_sdcard:
soc.add_spi_sdcard()
if args.with_sdcard:

View File

@ -356,7 +356,7 @@ def main():
with_etherbone = args.with_etherbone,
eth_ip = args.eth_ip,
eth_phy = args.eth_phy,
**parser.soc_core_argdict)
**parser.soc_argdict)
builder = Builder(soc, **parser.builder_argdict)
if args.build:
builder.build(**parser.toolchain_argdict)

View File

@ -76,7 +76,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
with_spi_flash = args.with_spi_flash,
**parser.soc_core_argdict)
**parser.soc_argdict)
builder = Builder(soc, **parser.builder_argdict)
if args.build:
builder.build(**parser.toolchain_argdict)

View File

@ -73,7 +73,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
with_spi_flash = args.with_spi_flash,
**parser.soc_core_argdict)
**parser.soc_argdict)
builder = Builder(soc, **parser.builder_argdict)
if args.build:
builder.build(**parser.toolchain_argdict)

View File

@ -92,7 +92,7 @@ def main():
soc = BaseSoC(
bios_flash_offset = int(args.bios_flash_offset, 0),
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict)
**parser.soc_argdict)
builder = Builder(soc, **parser.builder_argdict)
if args.build:
builder.build(**parser.toolchain_argdict)

View File

@ -70,7 +70,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
with_video_terminal = args.with_video_terminal,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)

View File

@ -82,7 +82,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -90,7 +90,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -114,7 +114,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
with_pcie = args.with_pcie,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -139,7 +139,7 @@ def main():
toolchain = args.toolchain,
with_ethernet = args.with_ethernet,
with_etherbone = args.with_etherbone,
**parser.soc_core_argdict)
**parser.soc_argdict)
if args.with_spi_sdcard:
soc.add_spi_sdcard()
if args.with_sdcard:

View File

@ -85,7 +85,7 @@ def main():
soc = BaseSoC(
bios_flash_offset = int(args.bios_flash_offset, 0),
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -184,7 +184,7 @@ def main():
eth_dynamic_ip = args.eth_dynamic_ip,
with_spi_flash = args.with_spi_flash,
with_syzygy_gpio = args.with_syzygy_gpio,
**parser.soc_core_argdict)
**parser.soc_argdict)
if args.with_spi_sdcard:
soc.add_spi_sdcard()
if args.with_sdcard:

View File

@ -210,7 +210,7 @@ def main():
device = args.device,
sdram_device = args.sdram_device,
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict)
**parser.soc_argdict)
if args.with_spi_sdcard:
soc.add_spi_sdcard()
builder = Builder(soc, **parser.builder_argdict)

View File

@ -82,7 +82,7 @@ def main():
soc = BaseSoC(
toolchain = args.toolchain,
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict)
**parser.soc_argdict)
builder = Builder(soc, **parser.builder_argdict)
if args.build:
builder.build(**parser.toolchain_argdict)

View File

@ -152,7 +152,7 @@ def main():
io_voltage = args.io_voltage,
with_pcie = args.with_pcie,
with_sata = args.with_sata,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -144,7 +144,7 @@ def main():
bios_flash_offset = int(args.bios_flash_offset, 0),
sys_clk_freq = int(float(args.sys_clk_freq)),
with_video_terminal = args.with_video_terminal,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -156,7 +156,7 @@ def main():
bios_flash_offset = int(args.bios_flash_offset, 0),
sys_clk_freq = int(float(args.sys_clk_freq)),
revision = args.revision,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -91,7 +91,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
if args.with_spi_sdcard:
soc.add_spi_sdcard()

View File

@ -108,7 +108,7 @@ def main():
soc = BaseSoC(
bios_flash_offset = int(args.bios_flash_offset, 0),
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict)
**parser.soc_argdict)
builder = Builder(soc, **parser.builder_argdict)
if args.build:
builder.build(**parser.toolchain_argdict)

View File

@ -169,7 +169,7 @@ def main():
soc = BaseSoC(
bios_flash_offset = dfu_flash_offset + int(args.bios_flash_offset, 0),
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -124,7 +124,7 @@ def main():
sys_clk_freq = int(float(args.sys_clk_freq)),
with_ethernet = args.with_ethernet,
with_pcie = args.with_pcie,
**parser.soc_core_argdict
**parser.soc_argdict
)
if args.with_spi_sdcard:
soc.add_spi_sdcard()

View File

@ -119,7 +119,7 @@ def main():
sys_clk_freq = args.sys_clk_freq,
ext_clk_freq = args.ext_clk_freq,
xci_file = args.xci_file,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -243,7 +243,7 @@ def main():
with_etherbone = args.with_etherbone,
with_video_terminal = args.with_video_terminal,
with_video_framebuffer = args.with_video_framebuffer,
**parser.soc_core_argdict
**parser.soc_argdict
)
if args.with_sdcard:
soc.add_sdcard()

View File

@ -105,7 +105,7 @@ def main():
sys_clk_freq = int(float(args.sys_clk_freq)),
device = args.device,
toolchain = args.toolchain,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -110,7 +110,7 @@ def main():
sys_clk_freq = int(float(args.sys_clk_freq)),
hyperram = args.with_hyperram,
toolchain = args.toolchain,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -72,7 +72,7 @@ def main():
soc = BaseSoC(toolchain=args.toolchain,
sys_clk_freq = int(float(args.sys_clk_freq)),
x5_clk_freq = args.x5_clk_freq,
**parser.soc_core_argdict)
**parser.soc_argdict)
builder = Builder(soc, **parser.builder_argdict)
if args.build:
builder.build(**parser.toolchain_argdict)

View File

@ -194,7 +194,7 @@ def main():
soc = BaseSoC(
toolchain = args.toolchain,
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict)
**parser.soc_argdict)
builder = Builder(soc, **parser.builder_argdict)
if args.build:
builder.build(**parser.toolchain_argdict)

View File

@ -139,7 +139,7 @@ def main():
soc = BaseSoC(
bios_flash_offset = int(args.bios_flash_offset, 0),
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -138,7 +138,7 @@ def main():
eth_ip = args.eth_ip,
eth_phy = args.eth_phy,
toolchain = args.toolchain,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -144,7 +144,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
toolchain = args.toolchain,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -103,7 +103,7 @@ def main():
with_ethernet = args.with_ethernet,
with_etherbone = args.with_etherbone,
eth_phy = int(args.eth_phy),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -146,7 +146,7 @@ def main():
with_video_terminal = args.with_video_terminal,
with_lcd = args.with_lcd,
with_ws2812 = args.with_ws2812,
**parser.soc_core_argdict
**parser.soc_argdict
)
if args.with_spi_sdcard:
soc.add_spi_sdcard()

View File

@ -157,7 +157,7 @@ def main():
sys_clk_freq = int(float(args.sys_clk_freq)),
sdram_device = args.sdram_device,
with_ethernet = args.with_ethernet,
**parser.soc_core_argdict
**parser.soc_argdict
)
if args.with_sdcard:
soc.add_sdcard()

View File

@ -118,7 +118,7 @@ def main():
soc = BaseSoC(
bios_flash_offset = int(args.bios_flash_offset, 0),
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -188,7 +188,7 @@ def main():
revision = args.revision,
device = args.device,
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict)
**parser.soc_argdict)
if args.with_sdcard:
soc.add_sdcard()

View File

@ -142,7 +142,7 @@ def main():
variant = args.variant,
toolchain = args.toolchain,
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder_argd = parser.builder_argdict

View File

@ -94,7 +94,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
with_video_terminal=args.with_video_terminal,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -212,7 +212,7 @@ def main():
with_etherbone = args.with_etherbone,
with_spi_flash = args.with_spi_flash,
with_usb_host = args.with_usb_host,
**parser.soc_core_argdict
**parser.soc_argdict
)
if args.with_spi_sdcard:
soc.add_spi_sdcard()

View File

@ -117,7 +117,7 @@ def main():
soc = BaseSoC(
bios_flash_offset = int(args.bios_flash_offset, 0),
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -174,7 +174,7 @@ def main():
with_etherbone = args.with_etherbone,
eth_ip = args.eth_ip,
eth_dynamic_ip = args.eth_dynamic_ip,
**parser.soc_core_argdict
**parser.soc_argdict
)
if args.with_spi_sdcard:
soc.add_spi_sdcard()

View File

@ -64,7 +64,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)

View File

@ -89,7 +89,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -106,7 +106,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
with_pcie = args.with_pcie,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -96,7 +96,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
with_ethernet = args.with_ethernet,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -96,7 +96,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
with_pcie = args.with_pcie,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -106,7 +106,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
with_pcie = args.with_pcie,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -95,7 +95,7 @@ def main():
with_ethernet = args.with_ethernet,
with_etherbone = args.with_etherbone,
eth_ip = args.eth_ip,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -119,7 +119,7 @@ def main():
with_daughterboard = args.with_daughterboard,
with_spi_flash = args.with_spi_flash,
sdram_rate = args.sdram_rate,
**parser.soc_core_argdict
**parser.soc_argdict
)
if args.with_spi_sdcard:

View File

@ -161,7 +161,7 @@ def main():
with_video_framebuffer = args.with_video_framebuffer,
with_spi_flash = args.with_spi_flash,
sdram_rate = args.sdram_rate,
**parser.soc_core_argdict
**parser.soc_argdict
)
if args.with_spi_sdcard:

View File

@ -117,7 +117,7 @@ def main():
sdram_rate = args.sdram_rate,
with_jtagbone = args.with_jtagbone,
with_jtaguart = args.with_jtaguart,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)

View File

@ -160,7 +160,7 @@ def main():
with_video_terminal = args.with_video_terminal,
with_video_framebuffer = args.with_video_framebuffer,
sdram_rate = args.sdram_rate,
**parser.soc_core_argdict
**parser.soc_argdict
)
if args.with_spi_sdcard:

View File

@ -157,7 +157,7 @@ def main():
with_video_terminal = args.with_video_terminal,
with_video_framebuffer = args.with_video_framebuffer,
sdram_rate = args.sdram_rate,
**parser.soc_core_argdict
**parser.soc_argdict
)
if args.with_spi_sdcard:

View File

@ -157,7 +157,7 @@ def main():
eth_ip = args.eth_ip,
with_video_terminal = args.with_video_terminal,
with_video_framebuffer = args.with_video_framebuffer,
**parser.soc_core_argdict
**parser.soc_argdict
)
if args.with_spi_sdcard:
soc.platform.add_extension(qmtech_wukong._sdcard_pmod_io)

View File

@ -171,7 +171,7 @@ def main():
with_spi_flash = args.with_spi_flash,
with_video_terminal = args.with_video_terminal,
with_video_framebuffer = args.with_video_framebuffer,
**parser.soc_core_argdict
**parser.soc_argdict
)
if args.with_spi_sdcard:

View File

@ -94,7 +94,7 @@ def main():
parser.set_defaults(cpu_type="eos_s3")
args = parser.parse_args()
soc = BaseSoC(**parser.soc_core_argdict)
soc = BaseSoC(**parser.soc_argdict)
builder = Builder(soc)
if args.cpu_type == "eos_s3":
libeos_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "libeos")

View File

@ -117,7 +117,7 @@ def main():
soc = BaseSoC(
bios_flash_offset = int(args.bios_flash_offset, 0),
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -169,7 +169,7 @@ def main():
with_video_terminal = args.with_video_terminal,
with_video_framebuffer = args.with_video_framebuffer,
with_spi_flash = args.with_spi_flash,
**parser.soc_core_argdict)
**parser.soc_argdict)
if args.with_spi_sdcard:
soc.add_spi_sdcard()
if args.with_sdcard:

View File

@ -169,7 +169,7 @@ def main():
with_ethernet = args.with_ethernet,
with_etherbone = args.with_etherbone,
eth_ip = args.eth_ip,
**parser.soc_core_argdict)
**parser.soc_argdict)
builder = Builder(soc, **parser.builder_argdict)
if args.build:
builder.build(**parser.toolchain_argdict)

View File

@ -103,7 +103,7 @@ def main():
soc = BaseSoC(
board = args.board,
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -99,7 +99,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
sdram_rate = args.sdram_rate,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -193,7 +193,7 @@ def main():
parser = LiteXArgumentParser(platform=saanlima_pipistrello.Platform, description="LiteX SoC on Pipistrello")
args = parser.parse_args()
soc = BaseSoC(**parser.soc_core_argdict)
soc = BaseSoC(**parser.soc_argdict)
builder = Builder(soc, **parser.builder_argdict)
if args.build:
builder.build(**parser.toolchain_argdict)

View File

@ -117,7 +117,7 @@ def main():
sdram_rate = args.sdram_rate,
with_video_terminal = args.with_video_terminal,
with_video_framebuffer = args.with_video_framebuffer,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)
if args.build:

View File

@ -118,7 +118,7 @@ def main():
with_jtagbone = args.with_jtagbone,
with_video_terminal = args.with_video_terminal,
with_neopixel = args.with_neopixel,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)

View File

@ -177,7 +177,7 @@ def main():
eth_ip = args.eth_ip,
with_video_terminal = args.with_video_terminal,
with_video_framebuffer = args.with_video_framebuffer,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)

View File

@ -54,7 +54,7 @@ def main():
if args.toolchain is not None:
platform_kwargs["toolchain"] = args.toolchain
platform = platform_module.Platform(**platform_kwargs)
soc = BaseSoC(platform,**parser.soc_core_argdict)
soc = BaseSoC(platform,**parser.soc_argdict)
builder = Builder(soc, **parser.builder_argdict)
if args.build:
builder.build(**parser.toolchain_argdict)

View File

@ -92,7 +92,7 @@ def main():
soc = BaseSoC(
sys_clk_freq = int(float(args.sys_clk_freq)),
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)

View File

@ -147,7 +147,7 @@ def main():
soc = BaseSoC(
sys_clk_freq=int(float(args.sys_clk_freq)),
with_video_terminal=args.with_video_terminal,
**parser.soc_core_argdict
**parser.soc_argdict
)
builder = Builder(soc, **parser.builder_argdict)

Some files were not shown because too many files have changed in this diff Show More