Skip to content

Commit

Permalink
Merge pull request #16 from saurabhsingh99100/dev
Browse files Browse the repository at this point in the history
Code Refactoring: Atomsim Frontend, Backend & SCAR
  • Loading branch information
saursin committed Jul 15, 2021
2 parents 6489156 + e1d004b commit 2f933b9
Show file tree
Hide file tree
Showing 9 changed files with 516 additions and 399 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ $(vobject_dir)/V$(verilog_topmodule)__ALLsup.o $(vobject_dir)/V$(verilog_topmodu
cd $(vobject_dir) && make -f V$(verilog_topmodule).mk

# Compile C++ files
$(cobject_dir)/atomsim.o: $(sim_dir)/AtomSim.cpp $(sim_dir)/defs.hpp $(sim_dir)/Testbench.hpp $(sim_cpp_backend)
$(cobject_dir)/atomsim.o: $(sim_dir)/AtomSim.cpp $(sim_dir)/defs.hpp $(sim_dir)/Backend.hpp $(sim_dir)/Testbench.hpp $(sim_cpp_backend)
$(CC) $(CFLAGS) $(INCLUDES) $< -o $@

$(cobject_dir)/verilated.o: /usr/share/verilator/include/verilated.cpp
Expand Down
2 changes: 1 addition & 1 deletion rtl/Config.vh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Config file
`define RESET_PC_ADDRESS 32'h0000100
`define RESET_PC_ADDRESS 32'h0000000

`define __NOP_INSTRUCTION__ 32'h00000013 // NOP = addi x0, x0, 0

Expand Down
Loading

0 comments on commit 2f933b9

Please sign in to comment.