From 4895d68fb533dc599b752936ef1dc8f5af80bc5a Mon Sep 17 00:00:00 2001 From: Flavian Kaufmann Date: Wed, 8 May 2024 12:14:49 +0200 Subject: updated readme for make rom --- README.md | 3 ++- prog/build.sh | 6 ------ 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100755 prog/build.sh diff --git a/README.md b/README.md index 4a25172..79ddbeb 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,9 @@ The board used in this project is a [Tang Nano 9K](https://wiki.sipeed.com/hardw * `make all` alias for `make simulate`. * `make simulate` to run all the testbenches (sim/testbench_*.v). * `make bitstream` to synthesize, place and route the design and to generate the bitstream. -* `make program` to upload the bitstream to the FPGA. +* `make upload` to upload the bitstream to the FPGA. * `make flash` to flash the bitsream to the FPGA. * `make clean` to clean build files. * `gtkwave build/waveform_*.vcd` to view waveform of corresponding testbench. +* `make rom` to compile source files in prog/src, link and generate rom file. diff --git a/prog/build.sh b/prog/build.sh deleted file mode 100755 index 22557b4..0000000 --- a/prog/build.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -riscv64-unknown-elf-as -march=rv32i -mabi=ilp32 -o main.o main.s -riscv64-unknown-elf-ld -T link.ld -m elf32lriscv -o main.elf main.o -riscv64-unknown-elf-objcopy -O binary main.elf main.bin -xxd -g 1 -c 1 -p main.bin >main.hex -cp -f main.hex ../rom/rom.hex -- cgit v1.2.3