67 lines
3.8 KiB
Tcl
67 lines
3.8 KiB
Tcl
#
|
|
# Synthesis run script generated by Vivado
|
|
#
|
|
|
|
set TIME_start [clock seconds]
|
|
proc create_report { reportName command } {
|
|
set status "."
|
|
append status $reportName ".fail"
|
|
if { [file exists $status] } {
|
|
eval file delete [glob $status]
|
|
}
|
|
send_msg_id runtcl-4 info "Executing : $command"
|
|
set retval [eval catch { $command } msg]
|
|
if { $retval != 0 } {
|
|
set fp [open $status w]
|
|
close $fp
|
|
send_msg_id runtcl-5 warning "$msg"
|
|
}
|
|
}
|
|
create_project -in_memory -part xc7a35tcpg236-1
|
|
|
|
set_param project.singleFileAddWarning.threshold 0
|
|
set_param project.compositeFile.enableAutoGeneration 0
|
|
set_param synth.vivado.isSynthRun true
|
|
set_property webtalk.parent_dir /home/rlacroix/Bureau/4ir/syst_info/Projet-Systemes-Informatiques/VHDL/ALU/ALU.cache/wt [current_project]
|
|
set_property parent.project_path /home/rlacroix/Bureau/4ir/syst_info/Projet-Systemes-Informatiques/VHDL/ALU/ALU.xpr [current_project]
|
|
set_property default_lib xil_defaultlib [current_project]
|
|
set_property target_language VHDL [current_project]
|
|
set_property board_part digilentinc.com:basys3:part0:1.1 [current_project]
|
|
set_property ip_output_repo /home/rlacroix/Bureau/4ir/syst_info/Projet-Systemes-Informatiques/VHDL/ALU/ALU.cache/ip [current_project]
|
|
set_property ip_cache_permissions {read write} [current_project]
|
|
read_vhdl -library xil_defaultlib {
|
|
/home/rlacroix/Bureau/4ir/syst_info/Projet-Systemes-Informatiques/VHDL/ALU/ALU.srcs/sources_1/new/ALU.vhd
|
|
/home/rlacroix/Bureau/4ir/syst_info/Projet-Systemes-Informatiques/VHDL/ALU/ALU.srcs/sources_1/new/AleaControler.vhd
|
|
/home/rlacroix/Bureau/4ir/syst_info/Projet-Systemes-Informatiques/VHDL/ALU/ALU.srcs/sources_1/new/IP.vhd
|
|
/home/rlacroix/Bureau/4ir/syst_info/Projet-Systemes-Informatiques/VHDL/ALU/ALU.srcs/sources_1/new/InstructionMemory.vhd
|
|
/home/rlacroix/Bureau/4ir/syst_info/Projet-Systemes-Informatiques/VHDL/ALU/ALU.srcs/sources_1/new/Memory.vhd
|
|
/home/rlacroix/Bureau/4ir/syst_info/Projet-Systemes-Informatiques/VHDL/ALU/ALU.srcs/sources_1/new/Registers.vhd
|
|
/home/rlacroix/Bureau/4ir/syst_info/Projet-Systemes-Informatiques/VHDL/ALU/ALU.srcs/sources_1/new/Stage_Di_Ex.vhd
|
|
/home/rlacroix/Bureau/4ir/syst_info/Projet-Systemes-Informatiques/VHDL/ALU/ALU.srcs/sources_1/new/Stage_Ex_Mem.vhd
|
|
/home/rlacroix/Bureau/4ir/syst_info/Projet-Systemes-Informatiques/VHDL/ALU/ALU.srcs/sources_1/new/Stage_Li_Di.vhd
|
|
/home/rlacroix/Bureau/4ir/syst_info/Projet-Systemes-Informatiques/VHDL/ALU/ALU.srcs/sources_1/new/Stage_Mem_Re.vhd
|
|
/home/rlacroix/Bureau/4ir/syst_info/Projet-Systemes-Informatiques/VHDL/ALU/ALU.srcs/sources_1/new/Pipeline.vhd
|
|
}
|
|
# Mark all dcp files as not used in implementation to prevent them from being
|
|
# stitched into the results of this synthesis run. Any black boxes in the
|
|
# design are intentionally left as such for best results. Dcp files will be
|
|
# stitched into the design at a later time, either when this synthesis run is
|
|
# opened, or when it is stitched into a dependent implementation run.
|
|
foreach dcp [get_files -quiet -all -filter file_type=="Design\ Checkpoint"] {
|
|
set_property used_in_implementation false $dcp
|
|
}
|
|
read_xdc /home/rlacroix/Bureau/4ir/syst_info/Projet-Systemes-Informatiques/VHDL/ALU/ALU.srcs/constrs_1/new/cpu.xdc
|
|
set_property used_in_implementation false [get_files /home/rlacroix/Bureau/4ir/syst_info/Projet-Systemes-Informatiques/VHDL/ALU/ALU.srcs/constrs_1/new/cpu.xdc]
|
|
|
|
set_param ips.enableIPCacheLiteLoad 0
|
|
close [open __synthesis_is_running__ w]
|
|
|
|
synth_design -top Pipeline -part xc7a35tcpg236-1
|
|
|
|
|
|
# disable binary constraint mode for synth run checkpoints
|
|
set_param constraints.enableBinaryConstraints false
|
|
write_checkpoint -force -noxdef Pipeline.dcp
|
|
create_report "synth_1_synth_report_utilization_0" "report_utilization -file Pipeline_utilization_synth.rpt -pb Pipeline_utilization_synth.pb"
|
|
file delete __synthesis_is_running__
|
|
close [open __synthesis_is_complete__ w]
|