From b7115f3eb7e6b52fd6eac07c0d192be281e80a1f Mon Sep 17 00:00:00 2001 From: Andrey Miroshnikov Date: Fri, 2 Jun 2023 10:08:27 +0000 Subject: [PATCH] ls2: Added info on verilator --- HDL_workflow/ls2.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/HDL_workflow/ls2.mdwn b/HDL_workflow/ls2.mdwn index 34837d271..50db6f876 100644 --- a/HDL_workflow/ls2.mdwn +++ b/HDL_workflow/ls2.mdwn @@ -97,6 +97,15 @@ The output of that command is: fw at address ff000000 SRAM 0x8000 at address 0x0 +To use verilator, make sure to run the devscript: + + ./verilator-install + +And set the GHDLSYNTH and update PATH: + + export PATH=/usr/local/verilator/bin:$PATH + export GHDLSYNTH=ghdl + After that you can compile microwatt-verilator: export FPGA_TARGET=verilator -- 2.30.2