diff options
author | Jim Lawson <ucbjrl@berkeley.edu> | 2019-03-04 12:55:02 -0800 |
---|---|---|
committer | Jim Lawson <ucbjrl@berkeley.edu> | 2019-03-04 12:55:02 -0800 |
commit | 6d2ea6fe5563205c0f565810d615c4900d4508d8 (patch) | |
tree | e042d8e294ca9a7ea7d65b83142ebe86270e1153 /examples | |
parent | 4cce7f6967313772207448569635e6e5c6bc44ce (diff) | |
parent | 107d8848041289bdf3ed85f2ca6c7e02fa9ec774 (diff) | |
download | yosys-6d2ea6fe5563205c0f565810d615c4900d4508d8.tar.gz yosys-6d2ea6fe5563205c0f565810d615c4900d4508d8.tar.bz2 yosys-6d2ea6fe5563205c0f565810d615c4900d4508d8.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'examples')
-rw-r--r-- | examples/igloo2/libero.tcl | 14 | ||||
-rw-r--r-- | examples/igloo2/runme.sh | 4 |
2 files changed, 12 insertions, 6 deletions
diff --git a/examples/igloo2/libero.tcl b/examples/igloo2/libero.tcl index 1f3476316..6f7d4e24b 100644 --- a/examples/igloo2/libero.tcl +++ b/examples/igloo2/libero.tcl @@ -15,6 +15,7 @@ new_project \ import_files -hdl_source {netlist.vm} import_files -sdc {example.sdc} import_files -io_pdc {example.pdc} +build_design_hierarchy set_option -synth 0 organize_tool_files -tool PLACEROUTE \ @@ -32,22 +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" -save_project - -# puts "**> export_bitstream" -# export_bitstream_file -trusted_facility_file 1 -trusted_facility_file_components {FABRIC} -# puts "<** export_bitstream" +puts "" +puts "**> BITSTREAM" +export_bitstream_file -trusted_facility_file 1 -trusted_facility_file_components {FABRIC} +puts "<** BITSTREAM" +puts "" exit 0 diff --git a/examples/igloo2/runme.sh b/examples/igloo2/runme.sh index 54247759f..a08894e0a 100644 --- a/examples/igloo2/runme.sh +++ b/examples/igloo2/runme.sh @@ -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_v11.9/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 . |