From: Tobias Platen Date: Sat, 22 Jan 2022 13:36:20 +0000 (+0100) Subject: add microwatt docs X-Git-Tag: opf_rfc_ls005_v1~3249 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb76d1dcb92bf877d0e0d23775ef29a242d50ea9;p=libreriscv.git add microwatt docs --- diff --git a/HDL_workflow/microwatt.mdwn b/HDL_workflow/microwatt.mdwn new file mode 100644 index 000000000..8de9495b2 --- /dev/null +++ b/HDL_workflow/microwatt.mdwn @@ -0,0 +1,19 @@ +# Build instructions for Microwatt + +After installing ghdl-yosys-plugin use schroot to switch environment + + schroot -c bullseye_ghdl + git clone https://github.com/antonblanchard/microwatt + export FPGA_TARGET=verilator + make microwatt-verilator + +Then run the resulting binary + + time ./microwatt-verilator + +If everything works correcly it will print out an light bulb in ascii art +with the message Microwatt, it works. On my ASUS KGPE D16 this takes + + real 1m4.986s + user 1m4.373s + sys 0m0.013s \ No newline at end of file