OpenCores
URL https://opencores.org/ocsvn/xenie/xenie/trunk

Subversion Repositories xenie

[/] [xenie/] [trunk/] [examples/] [Eth_example/] [src/] [tcl/] [build_project.tcl] - Blame information for rev 4

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 DFC
 
2
# Set the reference directory to where the script is
3
set origin_dir [file normalize [file dirname [info script]]]
4
 
5
# Set project directory path
6
set proj_dir [file normalize $origin_dir/../../vivado]
7
 
8
# Open project if necessary, or use the opened one
9
if {[llength [current_project -quiet]] == 0} {
10
   open_project $proj_dir/eth_example.xpr
11
}
12
# Launch all steps necssary to build bitstream
13
launch_runs impl_1 -to_step write_bitstream -jobs 4
14
 
15
# Wait for run to finish
16
wait_on_run impl_1
17
 
18
# We are done so export HW with bitstream for SDK
19
file mkdir $proj_dir/eth_example.sdk
20
file copy -force $proj_dir/eth_example.runs/impl_1/xenie_eth_example.sysdef \
21
   $proj_dir/eth_example.sdk/xenie_eth_example.hdf

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.