URL
https://opencores.org/ocsvn/altor32/altor32/trunk
Subversion Repositories altor32
Compare Revisions
- This comparison shows the changes necessary to convert path
/altor32/trunk
- from Rev 6 to Rev 7
- ↔ Reverse comparison
Rev 6 → Rev 7
/rtl/sim_verilator/makefile
1,7 → 1,11
|
# Default binary to load & run |
TEST_IMAGE?= test_image.bin |
TEST_IMAGE ?= test_image.bin |
SIMARGS ?= |
|
# Default core to simulate |
RTL_CORE ?= core_simple |
|
# Waveform trace disabled by default |
TRACE?= 0 |
|
12,7 → 16,7
SRC_CPP = main.cpp top.cpp |
|
# Source directories |
INC_DIRS = -I../altor32 -I../soc -I../peripheral |
INC_DIRS = -I../$(RTL_CORE) -I../soc -I../peripheral |
|
# Build directory |
BUILD_DIR = build |
30,7 → 34,7
make -j -f V$(TOP_MODULE).mk -C $(BUILD_DIR) |
|
run: compile |
./$(BUILD_DIR)/V$(TOP_MODULE) -f $(TEST_IMAGE) |
./$(BUILD_DIR)/V$(TOP_MODULE) -f $(TEST_IMAGE) $(SIMARGS) |
|
ifeq ($(TRACE),1) |
view: |