soc/cores/cpu/rocket: Support for 64-bit RocketChip (experimental)
authorGabriel L. Somlo <gsomlo@gmail.com>
Thu, 9 May 2019 12:47:06 +0000 (08:47 -0400)
committerGabriel L. Somlo <gsomlo@gmail.com>
Thu, 23 May 2019 19:59:51 +0000 (15:59 -0400)
commit1a530cf27d59102791b9d208cb101bd7241739fc
treefc5a415865655ee9cc16fdb3b0f83af4a30fd87d
parent3de49118d99523a1ee0cd99c4a9e6e8b596a6c05
soc/cores/cpu/rocket: Support for 64-bit RocketChip (experimental)

Simulate a Rocket-based 64-bit LiteX SoC with the following command:

  litex/tools/litex_sim.py [--with-sdram] --cpu-type=rocket

NOTE: Synthesizes to FPGA and passes timing at 50MHz on nexys4ddr
(with vivado) and ecp5versa (with yosys/trellis/nextpnr), but at
this time does not yet properly initialize physical on-board DRAM.
On ecp5versa, using '--with-ethernet', up to 97% of the available
TRELLIS_SLICE capacity is utilized.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
15 files changed:
litex/boards/targets/nexys4ddr.py
litex/boards/targets/versa_ecp5.py
litex/build/sim/core/Makefile
litex/soc/cores/cpu/__init__.py
litex/soc/cores/cpu/rocket/__init__.py [new file with mode: 0644]
litex/soc/cores/cpu/rocket/core.py [new file with mode: 0644]
litex/soc/integration/soc_core.py
litex/soc/software/bios/boot-helper-rocket.S [new file with mode: 0644]
litex/soc/software/bios/isr.c
litex/soc/software/bios/main.c
litex/soc/software/bios/sdram.c
litex/soc/software/include/base/irq.h
litex/soc/software/include/base/system.h
litex/soc/software/libbase/crt0-rocket.S [new file with mode: 0644]
litex/soc/software/libbase/system.c