View on GitHub

Oldland CPU

Synthesizeable, 32-bit RISC CPU, SoC with toolchain

Download this project as a .zip file Download this project as a tar.gz file

Keynsham SoC Configuration

CPU

Manufacturer: 19017

Model: 1

Clock Speed: 50000000

Instruction Cache

Ways: 4

Size: 16384

Line size: 32

Data Cache

Ways: 4

Size: 16384

Line size: 32

Memory Map

AddressSizeName
0x00000000x0001000ram
0x100000000x0004000bootrom
0x200000000x04000000sdram
0x800010000x00001000sdram_ctrl
0x800000000x0001000uart
0x800020000x00001000irq
0x800030000x00001000timer
0x800040000x00004000spimaster
0x800080000x00001000gpio

Peripheral Register Maps

sdram_ctrl

OffsetNameFields
0status
  • [0:0] config_done

uart

OffsetNameFields
0uart_data
  • [7:0] data
4uart_status
  • [0:0] tx_empty
  • [1:1] rx_ready

irq

OffsetNameFields
0irq_ctrl_status
4irq_ctrl_enable
8irq_ctrl_disable
12irq_ctrl_test

timer

OffsetNameFields
0timer_count
  • [31:0] current_value
4timer_reload
  • [31:0] reload_value
8timer_control
  • [0:0] timer_periodic
  • [1:1] timer_enabled
  • [2:2] timer_irq_enable
12timer_eoi

spimaster

OffsetNameFields
0spi_control
  • [8:0] spi_divider
  • [9:9] spi_loopback_enable
4spi_cs_enable
8spi_xfer_control
  • [12:0] xfer_length
  • [16:16] xfer_go
  • [17:17] xfer_busy

gpio

OffsetNameFields
0gpio_value
4gpio_output_enable
8gpio_set
12gpio_clear