add instructions how to build bitstring for orangecrab
authorTobias Platen <tplaten@posteo.de>
Wed, 2 Mar 2022 17:46:15 +0000 (18:46 +0100)
committerTobias Platen <tplaten@posteo.de>
Wed, 2 Mar 2022 17:46:15 +0000 (18:46 +0100)
HDL_workflow/microwatt.mdwn

index 226fcd2ab96ea9684c6921fb77c6eb5c64ce1607..e998aa3310d2bb482c7f817688b9003369a54b90 100644 (file)
@@ -58,6 +58,7 @@ This needs gcc-powerpc64le-linux-gnu if cross compilation is used.
        make 
        
 ## Building microwatt-verilator using the libre-soc core
+
        cd /path/to/soc
        make microwatt_external_core
        cp external_core_top.v /path/to/microwatt
@@ -67,8 +68,18 @@ This needs gcc-powerpc64le-linux-gnu if cross compilation is used.
        make microwatt-verilator
 
 ## Running the simulation
+
        cp microwatt/arch/powerpc/boot/dtbImage.microwatt
        ./microwatt-verilator sdram_init.bin dtbImage.microwatt
+       
+## Building the bitstring for OrangeCrab
+
+  cd microwatt
+  export FPGA_TARGET=ORANGE-CRAB
+  export GHDLSYNTH=ghdl
+  make microwatt.bit
+
+
 
 ## TODO: buildroot