[Libre-soc-dev] detailed solution of porting LibreSOC on FPGA board

Luke Kenneth Casson Leighton lkcl at lkcl.net
Mon Aug 8 10:07:13 BST 2022


On Mon, Aug 8, 2022 at 9:42 AM Maliha via Libre-soc-dev
<libre-soc-dev at lists.libre-soc.org> wrote:

> Hello all,
> I am a  computer science student of KLE Technological university Hubli
> I am doing a research project on LibreSOC.
> I want to ask has anyone ported LibreSOC on FPGA board
> If so please help me by giving me detailed document or solution  to execute
> it as  it is my research work

hi maliha, nice to hear from you.  we have Lattice ECP5 up and
running using nextpnr-ecp5, and we have Digilent Arty A7-100t
up and running using nextpnr-xilinx.

the instructions are all here on how to install things *please read them
and follow them*.  (we have found consistently and repeatedly that
errors are almost exclusively caused by people not following the
instructions precisely and exactly).

     https://libre-soc.org/HDL_workflow/

in your case you want at least yosys, nextpnr-xilinx and nextpnr-ecp5
but for building the HDL you should follow the "devscripts" page

     https://libre-soc.org/HDL_workflow/devscripts

if you want to connect a JTAG (FT232r) to your ECP5 board you will
need to follow - or adapt - this:

    https://libre-soc.org/HDL_workflow/ECP5_FPGA/

and we have a *notes-only* page where we are collating information
on getting microwatt up-and-running

    https://libre-soc.org/HDL_workflow/microwatt/

bear in mind that libresoc.v can be compiled to be **DIRECTLY**
compatible with microwatt.v as a literal drop-in replacement, which
was what was done here:

   https://bugs.libre-soc.org/show_bug.cgi?id=855

if you are in touch with University of Oregon you can gain access
to the Silicon Server which has one Arty A7-100t connected to it
and will soon have 4 more.  let me know and i can make an
introduction.

best,

l.



More information about the Libre-soc-dev mailing list