Skip to content

Commit

Permalink
Adding hardware dispatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Drumond Lages de Oliveira committed Feb 8, 2015
1 parent 181a85a commit aa62491
Show file tree
Hide file tree
Showing 62 changed files with 10,421 additions and 758 deletions.
4 changes: 3 additions & 1 deletion src/verilog/rtl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ build:
cd simf && make my_build
cd rfa && make my_build
cd alu && make my_build
cd dispatcher && make my_build

fpga: build
mkdir -p fpga_core
Expand All @@ -34,7 +35,7 @@ fpga: build
cp simf/build/* fpga_core/
cp rfa/build/* fpga_core/
cp alu/build/* fpga_core/
cp fpga/* fpga_core/
cp fpga/* fpga_core/

compile: build
vcs -full64 +libext+.v compute_unit/build/*.v decode/build/*.v exec/build/*.v fetch/build/*.v instr_buffer/build/*.v issue/build/*.v lsu/build/*.v memory/build/*.v salu/build/*.v sgpr/build/*.v simd/build/*.v tracemon/build/*.v tracemon/*.c vgpr/build/*.v wavepool/build/*.v -y common/build/ +lint=all -timescale=1ns/1ns -l compile.log -debug_all +v2k -sverilog
Expand Down Expand Up @@ -94,6 +95,7 @@ uncheck:
cd wavepool && make clean
cd simf && make clean
cd rfa && make clean
cd dispatcher && make clean
#cd alu && make clean

clean: unbuild uncheck
Expand Down
29 changes: 29 additions & 0 deletions src/verilog/rtl/dispatcher/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# ignore ModelSim generated files and directories (temp files and so on)
[_@]*

# ignore compilation output of ModelSim
*.prw
*.mti
*.dat
*.dbs
*.psm
*.bak
*.cmp
*.jpg
*.html
*.bsf

# ignore simulation output of ModelSim
wlf*
*.wlf
*.vstf
*.ucdb
cov*/
transcript*
sc_dpiheader.h
vsim.dbg

# Emacs crap
*~
\#*\#
.#*
11 changes: 11 additions & 0 deletions src/verilog/rtl/dispatcher/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#This Makefile supports the following commands:
#make build
#make clean
#make unbuild (same as clean)

include ../../make/rtl.mk
clean: unbuild
rm -rf csrc/ simv simv.daidir/ compile.log

compile: build
vcs -full64 +libext+.v build/*.v -y ../common/build/ +lint=all -timescale=1ns/1ns -l compile.log -debug_all +v2k
Loading

0 comments on commit aa62491

Please sign in to comment.