2019-01-05 10:02:01 -06:00
|
|
|
# Run with "libero SCRIPT:libero.tcl"
|
|
|
|
|
2019-01-17 06:35:52 -06:00
|
|
|
file delete -force proj
|
|
|
|
|
2019-01-05 10:02:01 -06:00
|
|
|
new_project \
|
2019-01-17 06:35:52 -06:00
|
|
|
-name example \
|
|
|
|
-location proj \
|
2019-01-17 07:38:37 -06:00
|
|
|
-block_mode 0 \
|
2019-01-17 06:35:52 -06:00
|
|
|
-hdl "VERILOG" \
|
2019-01-05 10:02:01 -06:00
|
|
|
-family IGLOO2 \
|
|
|
|
-die PA4MGL500 \
|
|
|
|
-package tq144 \
|
2019-01-17 06:35:52 -06:00
|
|
|
-speed -1
|
|
|
|
|
|
|
|
import_files -hdl_source {netlist.vm}
|
|
|
|
import_files -sdc {example.sdc}
|
2019-01-17 07:54:04 -06:00
|
|
|
import_files -io_pdc {example.pdc}
|
2019-03-03 23:35:57 -06:00
|
|
|
build_design_hierarchy
|
2019-01-17 06:35:52 -06:00
|
|
|
set_option -synth 0
|
|
|
|
|
|
|
|
organize_tool_files -tool PLACEROUTE \
|
|
|
|
-file {proj/constraint/example.sdc} \
|
2019-01-17 07:54:04 -06:00
|
|
|
-file {proj/constraint/io/example.pdc} \
|
2019-01-17 06:35:52 -06:00
|
|
|
-input_type constraint
|
|
|
|
|
|
|
|
organize_tool_files -tool VERIFYTIMING \
|
|
|
|
-file {proj/constraint/example.sdc} \
|
|
|
|
-input_type constraint
|
|
|
|
|
|
|
|
configure_tool -name PLACEROUTE \
|
|
|
|
-params TDPR:true \
|
|
|
|
-params PDPR:false \
|
|
|
|
-params EFFORT_LEVEL:false \
|
|
|
|
-params REPAIR_MIN_DELAY:false
|
2019-01-08 13:16:36 -06:00
|
|
|
|
|
|
|
puts "**> COMPILE"
|
|
|
|
run_tool -name {COMPILE}
|
|
|
|
puts "<** COMPILE"
|
|
|
|
|
|
|
|
puts "**> PLACEROUTE"
|
|
|
|
run_tool -name {PLACEROUTE}
|
|
|
|
puts "<** PLACEROUTE"
|
|
|
|
|
2019-01-17 06:35:52 -06:00
|
|
|
puts "**> VERIFYTIMING"
|
|
|
|
run_tool -name {VERIFYTIMING}
|
|
|
|
puts "<** VERIFYTIMING"
|
|
|
|
|
2019-03-03 23:35:57 -06:00
|
|
|
puts "**> export_bitstream"
|
|
|
|
export_bitstream_file -trusted_facility_file 1 -trusted_facility_file_components {FABRIC}
|
|
|
|
puts "<** export_bitstream"
|
2019-01-08 13:16:36 -06:00
|
|
|
|
|
|
|
exit 0
|