File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ # Adding stb lib for image handling
2+ INCDIR_STB =lib/stb
3+ INCLUDES_STB := $(wildcard $(INCDIR_STB ) /* .h)
4+
5+ # Include common Makefile
6+ include ../Makefile
7+
8+ # Include stb lib for compilation
9+ INCLUDES += INCLUDES_STB
10+
11+
12+ # Defining preprocessor directive for using PV model
13+ ifdef IMG_UNIFICATE_PV_EN
14+ CFLAGS += -DIMG_UNIFICATE_PV_EN
15+ LFLAGS += -DIMG_UNIFICATE_PV_EN
16+ endif # UNIFICATE_PV_EN
17+
18+ # Run the compiled file
19+ run :
20+ @./test
21+
22+ # Show waveform
23+ waveform :
24+ @gtkwave UNIFICATE.vcd
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ export SYSTEMC=/usr/local/systemc-3.0.0
3+ export LD_LIBRARY_PATH=$SYSTEMC /lib-linux64:/usr/local/lib
4+ export USER_DEF_SYSTEMC_DIR=1
You can’t perform that action at this time.
0 commit comments