diff --git a/dinocpu/Makefile b/dinocpu/Makefile index 2a626b0..3267b49 100644 --- a/dinocpu/Makefile +++ b/dinocpu/Makefile @@ -10,13 +10,13 @@ $(fir_filename): $(generated_dir)/$(fir_filename) Top.h: $(fir_filename) - cd ../essent; sbt 'run -O2 $(fir_path)'; cd ../dinocpu; rm Top.fir; + cd ../essent; sbt 'run -O2 $(fir_path)' CXXFLAGS = -O3 -std=c++11 -g INCLUDES = -I../firrtl-sig -top: top.cc +top: top.cc Top.h $(CXX) $(CXXFLAGS) $(INCLUDES) top.cc -o top clean: rm Top.h top Top.fir diff --git a/dinocpu/README.md b/dinocpu/README.md index 6c6b45d..3506342 100644 --- a/dinocpu/README.md +++ b/dinocpu/README.md @@ -2,7 +2,7 @@ ### run `make top` to create header file ### modify `cpu$registers$io_writereg` to be a global variable -## run `make` +## run `make top` # Usage: