Skip to content

Commit

Permalink
serwb/demo: Add CPU to ecpix5 and remove uartbone.
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Feb 20, 2024
1 parent 124c573 commit 39824a4
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions bench/serwb/demo/ecpix5.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

# SerWBDemoSoC ------------------------------------------------------------------------------------

class SerWBDemoSoC(SoCMini):
class SerWBDemoSoC(SoCCore):
def __init__(self, platform, with_analyzer=False):
sys_clk_freq = int(25e6)

Expand All @@ -52,14 +52,17 @@ def __init__(self, platform, with_analyzer=False):

# SoCMini ----------------------------------------------------------------------------------
SoCMini.__init__(self, platform, sys_clk_freq,
csr_data_width = 32,
ident = "LiteICLink SerWB demo on ECPIX-5",
ident_version = True,
csr_data_width = 32,
cpu_type = "vexriscv",
integrated_rom_size = 0x10000,
integrated_sram_size = 0x10000,
with_timer = True,
ident = "LiteICLink SerWB demo on ECPIX-5",
ident_version = True,
with_uart = True,
uart_name = "crossover",
)

# UARTBone ---------------------------------------------------------------------------------
self.add_uartbone()

# Etherbone --------------------------------------------------------------------------------
self.ethphy = LiteEthPHYRGMII(
clock_pads = self.platform.request("eth_clocks"),
Expand Down

0 comments on commit 39824a4

Please sign in to comment.