File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,10 @@ PRJ_DIR_CREATED="$PRJ_DIR"/"$PRJ_NAME"_created
3333[ -d " $PRJ_DIR_CREATED " ] && rm -r " $PRJ_DIR_CREATED "
3434mkdir " $PRJ_DIR_CREATED "
3535
36- # # Put pin info into the sources defining the wrapper IP package
37- # component file1 needs the pin file path
38- sed " s|%PIN_FILE%|$PRJ_DIR /$PIN_FILE |" \
36+ # # Put pin and firmware info into the sources defining the wrapper IP package
37+ # component file1 needs the pin and firmware file path
38+ sed -e " s|%PIN_FILE%|$PRJ_DIR /$PIN_FILE |" \
39+ -e " s|%FW_FILE%|" $PRJ_DIR_CREATED " /firmware_id.mif|" \
3940 " $IP_DIR " /component.xml.in > \
4041 " $IP_DIR " /component.xml
4142
Original file line number Diff line number Diff line change 487487 <spirit : fileType >vhdlSource</spirit : fileType >
488488 <spirit : logicalName >xil_defaultlib</spirit : logicalName >
489489 </spirit : file >
490+ <spirit : file >
491+ <spirit : name >%FW_FILE%</spirit : name >
492+ <spirit : userFileType >mif</spirit : userFileType >
493+ </spirit : file >
490494 <spirit : file >
491495 <spirit : name >../../hm2/functions/CountPinsInRange.vhd</spirit : name >
492496 <spirit : fileType >vhdlSource</spirit : fileType >
You can’t perform that action at this time.
0 commit comments