tree: 5ad90ca257966e4f7a6dd5609764ad232be884a2 [path history] [tgz]
  1. arty_clocks.xdc
  2. CMakeLists.txt
  3. README.md
xilinx/xc7/tests/soc/litex/mini/README.md

MiniLitex - Litex BaseSoC

This test features a Mini Litex design with a VexRiscv CPU in the lite variant. The firmware is compiled into the bitstream and the ROM and SRAM memories are instantiated and initialized on the FPGA (no DDR RAM controller).

Synthesis+implementation

In order to run one of them enter the specific directory and run make. Once the bitstream is generated and loaded to the board, we should see the test result on the terminal connected to one of the serial ports.

HDL code generation

The following instructions are for generation of the HDL code

1. Install Litex

virtualenv litex-env
source litex-env/bin/activate
  • Install LiteX and Migen packages from the previously cloned repos.

    Run the following command in each repo subdirectory:

./setup.py develop

2. Generate gateware

Run ./scripts/minilitex_arty.py --no-compile-software --no-compile-gateware

The top netlist (top.v) will be placed in the soc_basesoc_arty/gateware directory.