n_gpio = 16
# 16 GPIOs
-_io.append( make_gpio("gpio_litex", 0, n_gpio) )
+_io.append( make_gpio("gpio", 0, n_gpio) )
# EINT: 3 pins
_io.append( ("eint", 3, Pins("E0 E1 E2"), IOStandard("LVCMOS33")) )
# UART0: 2 pins
-_io.append(make_uart("uart_litex", 0))
+_io.append(make_uart("uart", 0))
# UART1: 2 pins
-_io.append(make_uart("uart_litex", 1))
+_io.append(make_uart("uart", 1))
# Platform -----------------------------------------------------------------------------------------
uart_name = "sim"
elif platform == 'ls180':
platform = LS180Platform()
- uart_name = "uart_litex"
+ uart_name = "uart"
#cpu_data_width = 32
cpu_data_width = 64
self.submodules.gpio = GPIOTristateASIC(gpio_core_pads)
self.add_csr("gpio")
- gpio_pads = platform.request("gpio_litex")
+ gpio_pads = platform.request("gpio")
gpio_io_pads = self.cpu.iopads['gpio'] # C4M JTAG pads
self.comb += gpio_pads.i.eq(gpio_io_pads.i)
self.comb += gpio_io_pads.o.eq(gpio_pads.o)