Merge pull request #850 from daveshah1/ecp5_warn_conflict
[yosys.git] / examples / igloo2 / libero.tcl
1 # Run with "libero SCRIPT:libero.tcl"
2
3 file delete -force proj
4
5 new_project \
6 -name example \
7 -location proj \
8 -block_mode 0 \
9 -hdl "VERILOG" \
10 -family IGLOO2 \
11 -die PA4MGL500 \
12 -package tq144 \
13 -speed -1
14
15 import_files -hdl_source {netlist.vm}
16 import_files -sdc {example.sdc}
17 import_files -io_pdc {example.pdc}
18 build_design_hierarchy
19 set_option -synth 0
20
21 organize_tool_files -tool PLACEROUTE \
22 -file {proj/constraint/example.sdc} \
23 -file {proj/constraint/io/example.pdc} \
24 -input_type constraint
25
26 organize_tool_files -tool VERIFYTIMING \
27 -file {proj/constraint/example.sdc} \
28 -input_type constraint
29
30 configure_tool -name PLACEROUTE \
31 -params TDPR:true \
32 -params PDPR:false \
33 -params EFFORT_LEVEL:false \
34 -params REPAIR_MIN_DELAY:false
35
36 puts ""
37 puts "**> COMPILE"
38 run_tool -name {COMPILE}
39 puts "<** COMPILE"
40
41 puts ""
42 puts "**> PLACEROUTE"
43 run_tool -name {PLACEROUTE}
44 puts "<** PLACEROUTE"
45
46 puts ""
47 puts "**> VERIFYTIMING"
48 run_tool -name {VERIFYTIMING}
49 puts "<** VERIFYTIMING"
50
51 puts ""
52 puts "**> BITSTREAM"
53 export_bitstream_file -trusted_facility_file 1 -trusted_facility_file_components {FABRIC}
54 puts "<** BITSTREAM"
55
56 puts ""
57 exit 0