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

Subversion Repositories fade_ether_protocol

[/] [fade_ether_protocol/] [trunk/] [stable_jumbo_frames_version/] [fpga/] [vextproj/] [eprj_build.tcl] - Blame information for rev 44

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 44 wzab
open_project $eprj_proj_name/$eprj_proj_name.xpr
2
# set the current synth run
3
current_run -synthesis [get_runs synth_1]
4
# set the current impl run
5
current_run -implementation [get_runs impl_1]
6
puts "INFO: Project loaded:$eprj_proj_name"
7
reset_run synth_1
8
# Two lines below are the workaround for the problem reported here:
9
# https://forums.xilinx.com/t5/Synthesis/Vivado-incorrect-automatic-compilation-order-in-OOC-synthesis/td-p/698067
10
# In fact there should be the list of the OOC runs created by the eprj_create.tcl
11
# script. At the moment this list must be read from the file "ooc_synth_runs.txt"
12
# created by the eprj_create.tcl
13
set file_ooc_runs [open "ooc_synth_runs.txt" "r"]
14
set ooc_runs [read $file_ooc_runs]
15
close $file_ooc_runs
16
 
17
if [expr [llength $ooc_runs] > 0] {
18
    foreach { run } $ooc_runs {
19
        reset_run $run
20
    }
21
    launch_runs $ooc_runs -jobs 4
22
    launch_runs synth_1 -scripts_only
23
    foreach { run } $ooc_runs {
24
        set_property NEEDS_REFRESH 0 [get_runs $run]
25
    }
26
    reset_run synth_1
27
}
28
# End of workaround
29
launch_runs synth_1 -jobs 4
30
wait_on_run synth_1
31
reset_run impl_1
32
launch_runs impl_1 -jobs 4
33
wait_on_run impl_1
34
launch_runs impl_1 -to_step write_bitstream
35
wait_on_run impl_1
36
puts "INFO: Project compiled:$eprj_proj_name"

powered by: WebSVN 2.1.0

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