######################### ### DEFINE VARIABLES ### ######################### set DesignName "W1" set FamilyName "VIRTEX5" set DeviceName "XC5VLX110T" set PackageName "FF1136" set SpeedGrade "-1" set TopModule "W1" set EdifFile "W1.edf" if {![file exists $DesignName.xise]} { project new $DesignName.xise project set family $FamilyName project set device $DeviceName project set package $PackageName project set speed $SpeedGrade xfile add $EdifFile xfile add W1.ucf project set "Netlist Translation Type" "Timestamp" project set "Other NGDBuild Command Line Options" "-verbose" project set "Generate Detailed MAP Report" TRUE project close } file delete -force $DesignName\_xdb project open $DesignName.xise process run "Implement Design" -force rerun_all process run "Generate Programming File" project close