Skip to content

Commit

Permalink
[dinocpu] tweak makefile and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sbeamer committed Mar 2, 2021
1 parent 0f134c2 commit 6db02f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dinocpu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion dinocpu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 6db02f8

Please sign in to comment.