-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ebb099
commit 5c583c3
Showing
25 changed files
with
4,358 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
all: block_design bitstream clean | ||
all: bitstream | ||
|
||
block_design: | ||
vivado -mode batch -source make_block_design.tcl -notrace | ||
|
||
bitstream: | ||
$(MAKE) block_design | ||
vivado -mode batch -source make_bitstream.tcl -notrace | ||
|
||
clean: | ||
rm -rf block_design *.jou *.log NA .Xil | ||
rm -rf block_design *.jou *.log NA .Xil || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
all: block_design bitstream clean | ||
all: bitstream | ||
|
||
block_design: | ||
vivado -mode batch -source make_block_design.tcl -notrace | ||
|
||
bitstream: | ||
$(MAKE) block_design | ||
vivado -mode batch -source make_bitstream.tcl -notrace | ||
|
||
clean: | ||
rm -rf block_design *.jou *.log NA .Xil | ||
rm -rf block_design *.jou *.log NA .Xil || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
all: block_design bitstream clean | ||
all: bitstream | ||
|
||
block_design: | ||
vivado -mode batch -source make_block_design.tcl -notrace | ||
|
||
bitstream: | ||
$(MAKE) block_design | ||
vivado -mode batch -source make_bitstream.tcl -notrace | ||
|
||
clean: | ||
rm -rf block_design *.jou *.log NA .Xil | ||
rm -rf block_design *.jou *.log NA .Xil || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
all: block_design bitstream clean | ||
all: bitstream | ||
|
||
block_design: | ||
vivado -mode batch -source make_block_design.tcl -notrace | ||
|
||
bitstream: | ||
$(MAKE) block_design | ||
vivado -mode batch -source make_bitstream.tcl -notrace | ||
|
||
clean: | ||
rm -rf block_design *.jou *.log NA .Xil | ||
rm -rf block_design *.jou *.log NA .Xil || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
all: block_design bitstream clean | ||
all: bitstream | ||
|
||
block_design: | ||
vivado -mode batch -source make_block_design.tcl -notrace | ||
|
||
bitstream: | ||
$(MAKE) block_design | ||
vivado -mode batch -source make_bitstream.tcl -notrace | ||
|
||
clean: | ||
rm -rf block_design *.jou *.log NA .Xil | ||
rm -rf block_design *.jou *.log NA .Xil || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
all: block_design bitstream clean | ||
all: bitstream | ||
|
||
block_design: | ||
vivado -mode batch -source make_block_design.tcl -notrace | ||
|
||
bitstream: | ||
$(MAKE) block_design | ||
vivado -mode batch -source make_bitstream.tcl -notrace | ||
|
||
clean: | ||
rm -rf block_design *.jou *.log NA .Xil | ||
rm -rf block_design *.jou *.log NA .Xil || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
## ZCU208 Constraints |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
set overlay_name "block_design" | ||
set design_name "strath_sdfec" | ||
|
||
# Open project | ||
open_project ./${overlay_name}/${overlay_name}.xpr | ||
open_bd_design ./${overlay_name}/${overlay_name}.srcs/sources_1/bd/${design_name}/${design_name}.bd | ||
|
||
# Add top wrapper and xdc files | ||
make_wrapper -files [get_files ./${overlay_name}/${overlay_name}.srcs/sources_1/bd/${design_name}/${design_name}.bd] -top | ||
add_files -norecurse ./${overlay_name}/${overlay_name}.gen/sources_1/bd/${design_name}/hdl/${design_name}_wrapper.vhd | ||
set_property top ${design_name}_wrapper [current_fileset] | ||
update_compile_order -fileset sources_1 | ||
|
||
# Call implement | ||
launch_runs impl_1 -to_step write_bitstream -jobs 8 | ||
wait_on_run impl_1 | ||
|
||
# Move and rename bitstream to final location | ||
file mkdir ./bitstream | ||
file copy -force ./${overlay_name}/${overlay_name}.runs/impl_1/${design_name}_wrapper.bit ./bitstream/${design_name}.bit | ||
|
||
# copy hwh files | ||
file copy -force ./${overlay_name}/${overlay_name}.gen/sources_1/bd/${design_name}/hw_handoff/${design_name}.hwh ./bitstream/${design_name}.hwh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
set overlay_name "block_design" | ||
set design_name "strath_sdfec" | ||
set iprepo_dir ./../../ip/iprepo | ||
|
||
# Create project | ||
create_project ${overlay_name} ./${overlay_name} -part xczu48dr-ffvg1517-2-e | ||
set_property BOARD_PART xilinx.com:zcu208:part0:2.0 [current_project] | ||
set_property target_language VHDL [current_project] | ||
|
||
# Set IP repository paths | ||
set_property ip_repo_paths $iprepo_dir [current_project] | ||
update_ip_catalog | ||
|
||
# Add constraints | ||
add_files -fileset constrs_1 -norecurse ./constraints.xdc | ||
|
||
# Make block design | ||
source ./${design_name}.tcl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
all: bitstream | ||
|
||
block_design: | ||
vivado -mode batch -source make_block_design.tcl -notrace | ||
|
||
bitstream: | ||
$(MAKE) block_design | ||
vivado -mode batch -source make_bitstream.tcl -notrace | ||
|
||
clean: | ||
rm -rf block_design *.jou *.log NA .Xil || true |
Oops, something went wrong.