34 lines
918 B
ReStructuredText
34 lines
918 B
ReStructuredText
.. _litex-vexriscv:
|
|
|
|
LiteX VexRiscv
|
|
##############
|
|
|
|
Overview
|
|
********
|
|
|
|
LiteX is a Migen-based System on Chip, supporting various softcore CPUs,
|
|
including VexRiscv. The LiteX SoC with VexRiscv CPU can be deployed on e.g.
|
|
Digilent ARTY board. More information can be found on:
|
|
`LiteX's website <https://github.com/enjoy-digital/litex>`_ and
|
|
`VexRiscv's website <https://github.com/SpinalHDL/VexRiscv>`_.
|
|
|
|
Programming and debugging
|
|
*************************
|
|
|
|
Building
|
|
========
|
|
|
|
Applications for the ``litex_vexriscv`` board configuration can be built as usual
|
|
(see :ref:`build_an_application`).
|
|
In order to build the application for ``litex_vexriscv``, set the ``BOARD`` variable
|
|
to ``litex_vexriscv``.
|
|
|
|
Booting
|
|
=======
|
|
|
|
You can boot from serial port using `flterm: <https://github.com/timvideos/flterm>`_, e.g.:
|
|
|
|
.. code-block:: bash
|
|
|
|
flterm --port /dev/ttyUSB0 --kernel <path_to_zephyr.bin> --kernel-adr 0x40000000
|