5.34.123.8 Example

Example 1: Opens an existing design from the file “test.adb” in the current folder.

open_design {test.adb}

Example 2: Design creation and catch failures.

set designFile {d:/test/my_design.adb}

if { [catch { open_design $designFile }] {

Puts “Failed to open design” # Handle Failure

} else {

}

pin_assign

puts “Design opened successfully” # Proceed to further processing

pin_assign [-nofix] -port portname -pin pin_number

Use to either assign the named pin to the specified port or assign attributes to the specified port. This command has two syntax formats. The one you use depends on what you are trying to do. The first syntax format assigns the named pin to the specified port and supports all families. The second one assigns attributes to the specified port but supports only the ProASIC3, Axcelerator, SX-A, RTSX-S, and eX families.

pin_assign -port portname [-iostd value][-iothresh value][-outload value][-slew value][-res_pull value]