From fb76d1dcb92bf877d0e0d23775ef29a242d50ea9 Mon Sep 17 00:00:00 2001 From: Tobias Platen Date: Sat, 22 Jan 2022 14:36:20 +0100 Subject: [PATCH] add microwatt docs --- HDL_workflow/microwatt.mdwn | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 HDL_workflow/microwatt.mdwn 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 -- 2.30.2