⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fulladder2.restore

📁 full ader circuit sdlj mlad f jsadfl kl sdf fjklasd as jsdjfkljkla sdfi jsakldjfk kjawkl jklasdjf
💻 RESTORE
📖 第 1 页 / 共 3 页
字号:
      }      Release $prop_instance   }   $iScratch Commit   # initialize   $iProjHelper Init}#  Helper to load a source control configuration from a stream#  and then store it back into an ise file.proc RestoreSourceControlOptions { prjfile istream } {   INFO "Restoring source control options"   set config_comp [::Xilinx::Cit::FactoryCreate $::xilinx::Dpm::SourceControlConfigurationCompID ]   OnOkPtr config_comp { set ipersist [ $config_comp GetInterface $xilinx::Prjrep::IPersistID ] }   OnOkPtr config_comp { set igetopts [ $config_comp GetInterface $xilinx::Dpm::SrcCtrl::IGetOptionsID ] }   set helper_comp [::Xilinx::Cit::FactoryCreate $::xilinx::Dpm::SourceControlHelpCompID ]   OnOkPtr helper_comp { set ihelper [ $config_comp GetInterface $xilinx::Dpm::SrcCtrl::IHelperID ] }   OnOkPtr ipersist { $ipersist Load istream }   OnOkPtr ihelper { OnOkPtr igetopts { $ihelper SaveOptions $prjfile $igetopts } }   Release $helper_comp $config_comp}# Call this proc to restore the ISE project.proc restore { { project_dir "" } } {   set script_file "fulladder2.restore"   set project_file "fulladder2.ise"   set backup_file "fulladder2.fail"   set old_working_dir [pwd]   # Make sure a project isn't already open.   if {[IsProjectOpen]} {      ERR "The project must be closed before performing this operation."      cd $old_working_dir      return   }   # If a project directory was supplied, cd into it.   if {![IsBlank $project_dir]} {     cd $project_dir   }   # Make sure the project isn't locked.   set lock_file [GetProjectLockFile $project_file]   if { ![IsBlank "$lock_file" ] } {      ERR "Could not restore the project \"$project_name\" because it is locked."      INFO "Please remove the lock file \"$lock_file\" and try again."      cd $old_working_dir      return   }   # Backup this script because it will be overwritten the next time   # the project is saved, which happens right after it is created!   file copy -force "$script_file" "${script_file}.last"   # Back up the project.   set wasBackedUp [ BackUpProject "$project_file" "$backup_file" ]   # Remove the project file, so that it can be recreated, since the old.   # is presumably corrupted and can no longer be opened.   OnFail [ RemoveProject "$project_file" ] {      cd $old_working_dir      return   }   # Open the project.   HandleException {      set iProjHelper [ OpenFacilProject "$project_file"]   } "A problem occurred while creating the project \"$project_file\"."   if {$iProjHelper == 0} {      cd $old_working_dir      return   }   INFO "Recreating project \"$project_file\"."  set project_settings {      "PROP_DevFamily" "Automotive 9500XL"     "PROP_DevDevice" "xa95*xl"     "PROP_DevPackage" "*"     "PROP_DevSpeed" "-*"     "PROP_Top_Level_Module_Type" "HDL"     "PROP_Synthesis_Tool" "XST (VHDL/Verilog)"     "PROP_Simulator" "Modelsim-XE VHDL"     "PROP_PreferredLanguage" "VHDL"     "PROP_Enable_Message_Capture" "true"     "PROP_Enable_Message_Filtering" "false"     "PROP_Enable_Incremental_Messaging" "false"     }  HandleException {    RestoreProjectSettings $iProjHelper $project_settings   } "A problem occured while restoring project settings."  set user_files {}  HandleException {    AddUserFiles $iProjHelper $user_files  } "A problem occured while restoring user files."  set imported_files {}  set origination 2  HandleException {    AddImportedFiles $iProjHelper $imported_files $origination  } "A problem occured while restoring imported files."  set process_props {       "A" "" "" "" "PROP_CPLDFitkeepio" "false"       "A" "" "" "" "PROP_CPLDFitterminate_xc9500xl" "Keeper"       "A" "" "" "" "PROP_CompxlibAbelLib" "true"       "A" "" "" "" "PROP_CompxlibCPLDDetLib" "true"       "A" "" "" "" "PROP_CompxlibOtherCompxlibOpts" ""       "A" "" "" "" "PROP_CompxlibOutputDir" "$XILINX/<language>/<simulator>"       "A" "" "" "" "PROP_CompxlibOverwriteLib" "Overwrite"       "A" "" "" "" "PROP_CompxlibSimPrimatives" "true"       "A" "" "" "" "PROP_CreateIBISModelVCCIO_xc9500xl" "LVTTL"       "A" "" "" "" "PROP_DesignName" "fulladder2"       "A" "" "" "" "PROP_Dummy" "dum1"       "A" "" "" "" "PROP_EnableWYSIWYG" "None"       "A" "" "" "" "PROP_Enable_Incremental_Messaging" "false"       "A" "" "" "" "PROP_Enable_Message_Capture" "true"       "A" "" "" "" "PROP_Enable_Message_Filtering" "false"       "A" "" "" "" "PROP_FitterReportFormat" "HTML"       "A" "" "" "" "PROP_FlowDebugLevel" "0"       "A" "" "" "" "PROP_FunctionBlockInputLimit" "38"       "A" "" "" "" "PROP_ImpactProjectFile" ""       "A" "" "" "" "PROP_MSimSDFTimingToBeRead" "Setup Time"       "A" "" "" "" "PROP_ModelSimUseConfigName" "false"       "A" "" "" "" "PROP_Parse_Target" "synthesis"       "A" "" "" "" "PROP_PartitionCreateDelete" ""       "A" "" "" "" "PROP_PartitionForceSynth" ""       "A" "" "" "" "PROP_PlsClockEnable" "true"       "A" "" "" "" "PROP_SimDo" "true"       "A" "" "" "" "PROP_SimModelGenerateTestbenchFile" "false"       "A" "" "" "" "PROP_SimModelOtherNetgenOpts" ""       "A" "" "" "" "PROP_SimModelRetainHierarchy" "true"       "A" "" "" "" "PROP_SimUseCustom_behav" "false"       "A" "" "" "" "PROP_SimUseCustom_postPar" "false"       "A" "" "" "" "PROP_SynthCaseImplStyle" "None"       "A" "" "" "" "PROP_SynthExtractMux" "Yes"       "A" "" "" "" "PROP_SynthFsmEncode" "Auto"       "A" "" "" "" "PROP_SynthOpt" "Speed"       "A" "" "" "" "PROP_SynthOptEffort" "Normal"       "A" "" "" "" "PROP_SynthResSharing" "true"       "A" "" "" "" "PROP_Top_Level_Module_Type" "HDL"       "A" "" "" "" "PROP_UseDataGate" "true"       "A" "" "" "" "PROP_UserConstraintEditorPreference" "Constraints Editor"       "A" "" "" "" "PROP_UserEditorCustomSetting" ""       "A" "" "" "" "PROP_UserEditorPreference" "ISE Text Editor"       "A" "" "" "" "PROP_XPowerOptInputTclScript" ""       "A" "" "" "" "PROP_XPowerOptLoadPCFFile" "Default"       "A" "" "" "" "PROP_XPowerOptLoadVCDFile" "Default"       "A" "" "" "" "PROP_XPowerOptLoadXMLFile" "Default"       "A" "" "" "" "PROP_XPowerOptOutputFile" "Default"       "A" "" "" "" "PROP_XPowerOptVerboseRpt" "false"       "A" "" "" "" "PROP_XPowerOtherXPowerOpts" ""       "A" "" "" "" "PROP_cpldBestFit" "false"       "A" "" "" "" "PROP_cpldfitHDLeqStyle" "Source"       "A" "" "" "" "PROP_cpldfit_otherCmdLineOptions" ""       "A" "" "" "" "PROP_fitGenSimModel" "false"       "A" "" "" "" "PROP_hprep6_autosig" "false"       "A" "" "" "" "PROP_hprep6_otherCmdLineOptions" ""       "A" "" "" "" "PROP_ibiswriterShowAllModels" "false"       "A" "" "" "" "PROP_impactConfigFileName_CPLD" ""       "A" "" "" "" "PROP_ngdbuild_otherCmdLineOptions" ""       "A" "" "" "" "PROP_taengine_otherCmdLineOptions" ""       "A" "" "" "" "PROP_xcpldFitDesCreateGnd" "false"       "A" "" "" "" "PROP_xcpldFitDesInit" "Low"       "A" "" "" "" "PROP_xcpldFitDesInputLmt_xbr" "32"       "A" "" "" "" "PROP_xcpldFitDesInputLmt_xc9500xl" "54"       "A" "" "" "" "PROP_xcpldFitDesMultiLogicOpt" "true"       "A" "" "" "" "PROP_xcpldFitDesPower_xa9500xl" "Low"       "A" "" "" "" "PROP_xcpldFitDesSlew" "Fast"       "A" "" "" "" "PROP_xcpldFitDesTimingCst" "true"       "A" "" "" "" "PROP_xcpldFitDesTriMode" "Keeper"       "A" "" "" "" "PROP_xcpldFitDesUnused" "Keeper"       "A" "" "" "" "PROP_xcpldFitDesVolt" "LVCMOS18"       "A" "" "" "" "PROP_xcpldFitTemplate" "Optimize Balance"       "A" "" "" "" "PROP_xcpldFitTemplate_xpla3" "Optimize Density"       "A" "" "" "" "PROP_xcpldFittimRptOption" "Summary"       "A" "" "" "" "PROP_xcpldUseGlobalClocks" "true"       "A" "" "" "" "PROP_xcpldUseGlobalOutputEnables" "true"       "A" "" "" "" "PROP_xcpldUseGlobalSetReset" "true"       "A" "" "" "" "PROP_xcpldUseLocConst" "Always"       "A" "" "" "" "PROP_xilxBitgCfg_GenOpt_IEEE1532File_xbr" "false"       "A" "" "" "" "PROP_xilxBitgCfg_GenOpt_IEEE1532File_xc9500" "false"       "A" "" "" "" "PROP_xilxNgdbldMacro" ""       "A" "" "" "" "PROP_xilxNgdbld_AUL" "false"       "A" "" "" "" "PROP_xilxSynthAddIObuf" "true"       "A" "" "" "" "PROP_xilxSynthKeepHierarchy" "No"       "A" "" "" "" "PROP_xilxSynthKeepHierarchy_CPLD" "Yes"       "A" "" "" "" "PROP_xilxSynthMacroPreserve" "true"       "A" "" "" "" "PROP_xilxSynthXORPreserve" "true"       "A" "" "" "" "PROP_xstBusDelimiter" "<>"       "A" "" "" "" "PROP_xstCase" "Maintain"       "A" "" "" "" "PROP_xstEquivRegRemoval" "true"       "A" "" "" "" "PROP_xstGenerateRTLNetlist" "Yes"       "A" "" "" "" "PROP_xstGenericsParameters" ""       "A" "" "" "" "PROP_xstHierarchySeparator" "/"       "A" "" "" "" "PROP_xstIniFile" ""       "A" "" "" "" "PROP_xstLibSearchOrder" ""       "A" "" "" "" "PROP_xstUseSynthConstFile" "true"       "A" "" "" "" "PROP_xstUserCompileList" ""       "A" "" "" "" "PROP_xstVeriIncludeDir_Global" ""       "A" "" "" "" "PROP_xstVerilog2001" "true"       "A" "" "" "" "PROP_xstVerilogMacros" ""       "A" "" "" "" "PROP_xstWorkDir" "./xst"       "A" "" "" "" "PROP_xst_otherCmdLineOptions" ""       "A" "AutoGeneratedView" "VIEW_AnnotatedPreSimulation" "" "PROP_TopDesignUnit" ""       "A" "AutoGeneratedView" "VIEW_AnnotatedResultsModelSim" "" "PROP_TopDesignUnit" ""       "A" "AutoGeneratedView" "VIEW_BehavioralSimulationModelSim" "" "PROP_TopDesignUnit" ""       "A" "AutoGeneratedView" "VIEW_CPLDAbstractSimulation" "" "PROP_TopDesignUnit" "Module|hghm"       "A" "AutoGeneratedView" "VIEW_CPLDConfiguration" "" "PROP_TopDesignUnit" ""       "A" "AutoGeneratedView" "VIEW_CPLDConfigureDevice" "" "PROP_TopDesignUnit" ""       "A" "AutoGeneratedView" "VIEW_CPLDGeneratePROM" "" "PROP_TopDesignUnit" ""       "A" "AutoGeneratedView" "VIEW_CPLDGenerateTiming" "" "PROP_TopDesignUnit" ""       "A" "AutoGeneratedView" "VIEW_CPLDXSTAbstractSynthesis" "" "PROP_SmartGuide" "false"       "A" "AutoGeneratedView" "VIEW_CPLDXSTAbstractSynthesis" "" "PROP_TopDesignUnit" "Module|fa"       "A" "AutoGeneratedView" "VIEW_Fit" "" "PROP_TopDesignUnit" ""       "A" "AutoGeneratedView" "VIEW_Post-FitAbstractSimulation" "" "PROP_TopDesignUnit" "Module|hghm"       "A" "AutoGeneratedView" "VIEW_Post-FitPreSimulation" "" "PROP_TopDesignUnit" ""       "A" "AutoGeneratedView" "VIEW_Post-FitSimulationModelSim" "" "PROP_TopDesignUnit" ""       "A" "AutoGeneratedView" "VIEW_PostAbstractSimulation" "" "PROP_TopDesignUnit" "Module|hghm"       "A" "AutoGeneratedView" "VIEW_PreSimulation" "" "PROP_TopDesignUnit" "Module|fa"       "A" "AutoGeneratedView" "VIEW_Structural" "" "PROP_TopDesignUnit" "Module|fa"       "A" "AutoGeneratedView" "VIEW_TBWBehavioralSimulationModelSim" "" "PROP_TopDesignUnit" ""       "A" "AutoGeneratedView" "VIEW_TBWPost-FitPreSimulation" "" "PROP_TopDesignUnit" ""       "A" "AutoGeneratedView" "VIEW_TBWPost-FitSimulationModelSim" "" "PROP_TopDesignUnit" ""       "A" "AutoGeneratedView" "VIEW_TBWPreSimulation" "" "PROP_TopDesignUnit" "Architecture|hghm|testbench_arch"       "A" "AutoGeneratedView" "VIEW_Translation" "" "PROP_SmartGuide" "false"       "A" "AutoGeneratedView" "VIEW_Translation" "" "PROP_TopDesignUnit" ""       "A" "AutoGeneratedView" "VIEW_XSTPreSynthesis" "" "PROP_TopDesignUnit" "Module|fa"       "A" "AutoGeneratedView" "VIEW_XSTPreSynthesis" "" "PROP_xstVeriIncludeDir" ""       "A" "VIEW_Initial" "VIEW_Initial" "" "PROP_TopDesignUnit" "Module|hghm"       "B" "" "" "" "PROP_DevFamily" "Automotive 9500XL"       "B" "" "" "" "PROP_FitterOptimization_xa9500xl" "Density"       "B" "" "" "" "PROP_FitterOptimization_xpla3" "Density"       "B" "" "" "" "PROP_ModelSimConfigName" "Default"       "B" "" "" "" "PROP_ModelSimDataWin" "false"       "B" "" "" "" "PROP_ModelSimListWin" "false"       "B" "" "" "" "PROP_ModelSimProcWin" "false"       "B" "" "" "" "PROP_ModelSimSignalWin" "true"       "B" "" "" "" "PROP_ModelSimSimRes" "Default (1 ps)"       "B" "" "" "" "PROP_ModelSimSimRunTime_tb" "1000ns"       "B" "" "" "" "PROP_ModelSimSimRunTime_tbw" "1000ns"       "B" "" "" "" "PROP_ModelSimSourceWin" "false"       "B" "" "" "" "PROP_ModelSimStructWin" "true"       "B" "" "" "" "PROP_ModelSimUutInstName_postFit" "UUT"       "B" "" "" "" "PROP_ModelSimVarsWin" "false"       "B" "" "" "" "PROP_ModelSimWaveWin" "true"       "B" "" "" "" "PROP_SimCustom_behav" ""       "B" "" "" "" "PROP_SimCustom_postPar" ""       "B" "" "" "" "PROP_SimGenVcdFile" "false"       "B" "" "" "" "PROP_SimModelRenTopLevInstTo" "UUT"       "B" "" "" "" "PROP_SimSyntax" "93"       "B" "" "" "" "PROP_SimUseExpDeclOnly" "true"       "B" "" "" "" "PROP_SimUserCompileList_behav" ""       "B" "" "" "" "PROP_Simulator" "Modelsim-XE VHDL"       "B" "" "" "" "PROP_SynthConstraintsFile" ""       "B" "" "" "" "PROP_XPowerOptAdvancedVerboseRpt" "false"       "B" "" "" "" "PROP_XPowerOptMaxNumberLines" "1000"       "B" "" "" "" "PROP_XPowerOptUseTimeBased" "false"       "B" "" "" "" "PROP_impactBaud" "None"       "B" "" "" "" "PROP_impactConfigMode" "None"       "B" "" "" "" "PROP_impactPort" "None"       "B" "" "" "" "PROP_vcom_otherCmdLineOptions" ""       "B" "" "" "" "PROP_vlog_otherCmdLineOptions" ""       "B" "" "" "" "PROP_vsim_otherCmdLineOptions" ""       "B" "" "" "" "PROP_xcpldFitDesInReg_xbr" "true"       "B" "" "" "" "PROP_xcpldFitDesPrgOption" ""       "B" "" "" "" "PROP_xcpldFitDesPtermLmt_xbr" "28"       "B" "" "" "" "PROP_xcpldFitDesPtermLmt_xc9500" "25"       "B" "" "" "" "PROP_xstSafeImplement" "No"       "C" "" "" "" "PROP_CompxlibLang" "VHDL"       "C" "" "" "" "PROP_CompxlibSimPath" "C:/Modeltech_xe_starter/win32xoem"       "C" "" "" "" "PROP_DevDevice" "xa95*xl"       "C" "" "" "" "PROP_DevFamilyPMName" "xa9500xl"       "C" "" "" "" "PROP_SimModelGenMultiHierFile" "false"       "C" "" "" "" "PROP_XPowerOptBaseTimeUnit" "ps"       "C" "" "" "" "PROP_XPowerOptNumberOfUnits" "1"       "D" "" "" "" "PROP_CompxlibUni9000Lib" "true"       "D" "" "" "" "PROP_CompxlibUniSimLib" "true"       "D" "" "" "" "PROP_DevPackage" "*"       "D" "" "" "" "PROP_Synthesis_Tool" "XST (VHDL/Verilog)"       "E" "" "" "" "PROP_DevSpeed" "-*"       "E" "" "" "" "PROP_PreferredLanguage" "VHDL"       "F" "" "" "" "PROP_SimModelTarget" "VHDL"       "F" "" "" "" "PROP_tbwTestbenchTargetLang" "VHDL"       "G" "" "" "" "PROP_SimModelAutoInsertGlblModuleInNetlist" "true"       "G" "" "" "" "PROP_SimModelGenArchOnly" "false"       "G" "" "" "" "PROP_SimModelIncSdfAnnInVerilogFile" "true"       "G" "" "" "" "PROP_SimModelIncSimprimInVerilogFile" "false"       "G" "" "" "" "PROP_SimModelIncUselibDirInVerilogFile" "false"       "G" "" "" "" "PROP_SimModelNoEscapeSignal" "false"       "G" "" "" "" "PROP_SimModelOutputExtIdent" "false"       "G" "" "" "" "PROP_SimModelRenTopLevArchTo" "Structure"       "G" "" "" "" "PROP_SimModelRenTopLevMod" ""       "G" "AutoGeneratedView" "VIEW_Fit" "" "PROP_PostParSimModelName" "_timesim.vhd"       "G" "AutoGeneratedView" "VIEW_Post-FitAbstractSimulation" "" "PROP_tbwPostParTestbenchName" "hghm.timesim_vhw"       "G" "AutoGeneratedView" "VIEW_TBWPost-FitPreSimulation" "" "PROP_tbwPostParTestbenchName" ""       "G" "AutoGeneratedView" "VIEW_Translation" "" "PROP_PostParSimModelName" "_timesim.vhd"       "H" "" "" "" "PROP_SimModelBringOutGsrNetAsAPort" "false"       "H" "" "" "" "PROP_SimModelPathUsedInSdfAnn" "Default"       "H" "AutoGeneratedView" "VIEW_Fit" "" "PROP_SimModelRenTopLevEntTo" ""       "H" "AutoGeneratedView" "VIEW_Translation" "" "PROP_SimModelRenTopLevEntTo" ""       "I" "" "" "" "PROP_SimModelGsrPortName" "GSR_PORT"       "I" "" "" "" "PROP_SimModelRocPulseWidth" "100"}  HandleException {    RestoreProcessProperties $iProjHelper $process_props  } "A problem occured while restoring process properties."   # library names and their members   set libraries {   }  HandleException {    RestoreSourceLibraries $iProjHelper $libraries  } "A problem occured while restoring source libraries."   # partition names for recreation   set partition_names {   }  HandleException {    RestorePartitions $partition_names  } "A problem occured while restoring partitions."   # Close the facilitator project.   CloseFacilProject $iProjHelper   # Open the restored project in the user's client application,   # which will either be the Projnav GUI or xtclsh.   project open $project_file   # Let the user know about the backed up project file.   INFO "The project \"$project_file\" was successfully recovered and opened."   if {$wasBackedUp} {      INFO ""      INFO "The original project was renamed as \"$backup_file\"."      INFO "Please open a Technical Support WebCase at"      INFO "www.xilinx.com/support/clearexpress/websupport.htm"      INFO "and submit this file, along with the project source files, for evaluation."   }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -