Improve igloo2 example

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2019-03-03 23:54:35 -08:00
parent a176ac95de
commit 107d884804
2 changed files with 10 additions and 3 deletions

View File

@ -33,20 +33,25 @@ configure_tool -name PLACEROUTE \
-params EFFORT_LEVEL:false \ -params EFFORT_LEVEL:false \
-params REPAIR_MIN_DELAY:false -params REPAIR_MIN_DELAY:false
puts ""
puts "**> COMPILE" puts "**> COMPILE"
run_tool -name {COMPILE} run_tool -name {COMPILE}
puts "<** COMPILE" puts "<** COMPILE"
puts ""
puts "**> PLACEROUTE" puts "**> PLACEROUTE"
run_tool -name {PLACEROUTE} run_tool -name {PLACEROUTE}
puts "<** PLACEROUTE" puts "<** PLACEROUTE"
puts ""
puts "**> VERIFYTIMING" puts "**> VERIFYTIMING"
run_tool -name {VERIFYTIMING} run_tool -name {VERIFYTIMING}
puts "<** VERIFYTIMING" puts "<** VERIFYTIMING"
puts "**> export_bitstream" puts ""
puts "**> BITSTREAM"
export_bitstream_file -trusted_facility_file 1 -trusted_facility_file_components {FABRIC} export_bitstream_file -trusted_facility_file 1 -trusted_facility_file_components {FABRIC}
puts "<** export_bitstream" puts "<** BITSTREAM"
puts ""
exit 0 exit 0

View File

@ -1,4 +1,6 @@
#!/bin/bash #!/bin/bash
set -ex set -ex
yosys -p 'synth_sf2 -top example -edif netlist.edn -vlog netlist.vm' example.v 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 .