new_design

Creates a new design. You need all three arguments for this command. This command will set up the Designer software for importing design source files

 

new_design -name design_name -family family_name –path pathname

Arguments

-name design_name

The name of the design. This is used as the base name for most of the files generated from Designer.

 

-family family_name

The Actel device family for which the design is being targeted.

 

-path path_name

The physical path of the directory in which the design files will be created.

Supported Families

All

Exceptions

None

Example

Example 1: Creates a new ACT3 design with the name “test” in the current folder.

 

new_design -name "test" -family "ACT3" -path {.}

           

Example 2: These set of commands create a new design through variable substitution.

 

set desName “test

set famName “ACT3”

set path {d:/examples/test}

new_design -name $desName -family $famName -path $path

           

 

Example 3: Design creation and catch failures

if  { [catch { new_design -name $desName -family $famName -path $path }] {

              Puts “Failed to create a new design”

              # Handle Failure

} else {

              puts “New design creation successful”

              # Proceed to Import source files

}

See Also

close_design

open_design

save_design

set_design