Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Computer_Systems/DE1-SoC/scripts/paths.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ RELPATH = ../rel/DE1-SoC/$(QP_NAME)/.
S2CPATH = ../../common/scripts
# The relative path the common scripts directory as compared to the destination directory
D2CPATH = ../../../common/scripts
# Path qsys-script and qsys-generate will search through for additional IP
IPSEARCHPATH = ../src/ip/**/*

include $(S2CPATH)/common.mk

4 changes: 2 additions & 2 deletions Computer_Systems/common/scripts/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ generate_qsys_files: $(QSYSOBJS)
%.tcl: # dummy make target

%.qsys: %.tcl
qsys-script$(EXE) --script=$(S2CPATH)/$< > $(CURPATH)/o_$<.txt 2>&1
qsys-script$(EXE) --script=$(S2CPATH)/$< --search-path=$(IPSEARCHPATH),$$ > $(CURPATH)/o_$<.txt 2>&1

run_platform_designer: $(QSYSSRC)
mkdir -p $(DSTPATH)
cp *.qsys $(DSTPATH)
cd $(DSTPATH) && qsys-generate$(EXE) ./$< --synthesis=VERILOG > $(CURPATH)/o_$<.txt 2>&1
cd $(DSTPATH) && qsys-generate$(EXE) ./$< --search-path=../$(IPSEARCHPATH),$$ --synthesis=VERILOG > $(CURPATH)/o_$<.txt 2>&1

reduce_sopcinfo:
cd $(DSTPATH) && python3 $(D2CPATH)/strip_info.py Computer_System.sopcinfo
Expand Down