aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--README.md12
2 files changed, 13 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3714661..bf4cc0a 100644
--- a/Makefile
+++ b/Makefile
@@ -69,4 +69,4 @@ $(BUILD_DIR)/testbench: $(SOURCES) $(TESTBENCH)
$(BUILD_DIR)/testbench.vcd: $(BUILD_DIR)/testbench
cd $(BUILD_DIR); $(VVP) testbench
-.PHONY: all program clean
+.PHONY: all program flash simulate wave clean
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..b56e854
--- /dev/null
+++ b/README.md
@@ -0,0 +1,12 @@
+# RISCV CPU
+
+An attempt at building a simple RISCV CPU in verilog.
+
+## Build
+
+* `make all` to synthesize, place and route the design and to generate the bitstream.
+* `make program` to upload the bitstream to the FPGA.
+* `make flash` to flash the bitsream to the FPGA.
+* `make simulate` to run the testbench (sim/testbench.v).
+* `make wave` to view the simulation in GTKWave.
+* `make clean` to clean build files.