Improve igloo2 example
authorClifford Wolf <clifford@clifford.at>
Mon, 4 Mar 2019 07:54:35 +0000 (23:54 -0800)
committerClifford Wolf <clifford@clifford.at>
Mon, 4 Mar 2019 07:54:35 +0000 (23:54 -0800)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
examples/igloo2/libero.tcl
examples/igloo2/runme.sh

index 82e614cd4fe61a4a1a0abc7ae3f9d4ea950052e4..6f7d4e24b93ac8e047d1ebfe6f2d203521c79497 100644 (file)
@@ -33,20 +33,25 @@ configure_tool -name PLACEROUTE \
     -params EFFORT_LEVEL:false \
     -params REPAIR_MIN_DELAY:false
 
+puts ""
 puts "**> COMPILE"
 run_tool -name {COMPILE}
 puts "<** COMPILE"
 
+puts ""
 puts "**> PLACEROUTE"
 run_tool -name {PLACEROUTE}
 puts "<** PLACEROUTE"
 
+puts ""
 puts "**> VERIFYTIMING"
 run_tool -name {VERIFYTIMING}
 puts "<** VERIFYTIMING"
 
-puts "**> export_bitstream"
+puts ""
+puts "**> BITSTREAM"
 export_bitstream_file -trusted_facility_file 1 -trusted_facility_file_components {FABRIC}
-puts "<** export_bitstream"
+puts "<** BITSTREAM"
 
+puts ""
 exit 0
index 95f2282ba5e863c7f1db300d82da55e618c3a9e3..a08894e0aedd33dcad589320256f3da7fad2135e 100644 (file)
@@ -1,4 +1,6 @@
 #!/bin/bash
 set -ex
 yosys -p 'synth_sf2 -top example -edif netlist.edn -vlog netlist.vm' example.v
-LM_LICENSE_FILE=1702@`hostname` /opt/microsemi/Libero_SoC_v12.0/Libero/bin/libero SCRIPT:libero.tcl
+export LM_LICENSE_FILE=${LM_LICENSE_FILE:-1702@localhost}
+/opt/microsemi/Libero_SoC_v12.0/Libero/bin/libero SCRIPT:libero.tcl
+cp proj/designer/example/export/example.stp .