📄 protect.tcl
字号:
close $rspFile
}
if [runCmd "\"$cpld_bin/simcp\" @simcp._sp"] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
########## Tcl recorder end at 08/16/06 14:35:06 ###########
########## Tcl recorder starts at 08/16/06 14:36:27 ##########
# Commands to make the Process:
# Generate Schematic Symbol
if [runCmd "\"$cpld_bin/naf2sym\" \"protect\""] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
########## Tcl recorder end at 08/16/06 14:36:27 ###########
########## Tcl recorder starts at 08/16/06 14:36:34 ##########
# Commands to make the Process:
# Verilog Functional Simulation Model
if [runCmd "\"$cpld_bin/vericode\" -ext=.vf \"protect.sch\""] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
########## Tcl recorder end at 08/16/06 14:36:34 ###########
########## Tcl recorder starts at 08/16/06 14:36:39 ##########
# Commands to make the Process:
# VHDL Test Bench Template
if [runCmd "\"$cpld_bin/vhdl\" -tprotect.vht -s protect.sch"] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
########## Tcl recorder end at 08/16/06 14:36:39 ###########
########## Tcl recorder starts at 08/16/06 14:36:55 ##########
# Commands to make the Process:
# Functional Simulation
# - none -
# Application to view the Process:
# Functional Simulation
if [catch {open simcp._sp w} rspFile] {
puts stderr "Cannot create response file simcp._sp: $rspFile"
} else {
puts $rspFile "simcp.pre1 -ini simcpls.ini -unit simcp.pre1
-cfg oaipldtg.fdk \"protect1.ltv\" -map \"protect.lsi\"
"
close $rspFile
}
if [runCmd "\"$cpld_bin/simcp\" @simcp._sp"] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
########## Tcl recorder end at 08/16/06 14:36:55 ###########
########## Tcl recorder starts at 08/16/06 14:37:43 ##########
# Commands to make the Process:
# Functional Simulation
if [runCmd "\"$cpld_bin/ahdl2blf\" \"protect.abv\" -vec -ovec \"protect.tmv\" -sim protect -def _plsi_ _lattice_ -err automake.err "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
# Application to view the Process:
# Functional Simulation
if [catch {open simcp._sp w} rspFile] {
puts stderr "Cannot create response file simcp._sp: $rspFile"
} else {
puts $rspFile "simcp.pre1 -ini simcpls.ini -unit simcp.pre1
-cfg oaipldtg.fdk \"protect.lts\" -map \"protect.lsi\"
"
close $rspFile
}
if [runCmd "\"$cpld_bin/simcp\" @simcp._sp"] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
########## Tcl recorder end at 08/16/06 14:37:43 ###########
########## Tcl recorder starts at 08/16/06 14:41:43 ##########
# Commands to make the Process:
# Functional Simulation
if [runCmd "\"$cpld_bin/exp\" -lhdl -ext=.ltv -testpt protect1.wdl -network=protect"] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
# Application to view the Process:
# Functional Simulation
if [catch {open simcp._sp w} rspFile] {
puts stderr "Cannot create response file simcp._sp: $rspFile"
} else {
puts $rspFile "simcp.pre1 -ini simcpls.ini -unit simcp.pre1
-cfg oaipldtg.fdk \"protect1.ltv\" -map \"protect.lsi\"
"
close $rspFile
}
if [runCmd "\"$cpld_bin/simcp\" @simcp._sp"] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
########## Tcl recorder end at 08/16/06 14:41:43 ###########
########## Tcl recorder starts at 08/16/06 14:42:19 ##########
# Commands to make the Process:
# Simulate JEDEC File
if [runCmd "\"$cpld_bin/iblflink\" \"protect.bl1\" -o \"protect.bl2\" -omod protect -family -err automake.err "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
if [runCmd "\"$cpld_bin/iblifopt\" protect.bl2 -red bypin choose -sweep -collapse all -pterms 8 -err automake.err "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
if [runCmd "\"$cpld_bin/idiofft\" protect.bl3 -pla -o protect.tt2 -dev p16v8 -define n -err automake.err "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
if [runCmd "\"$cpld_bin/fit\" protect.tt2 -dev p16v8 -str -err automake.err "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
if [runCmd "\"$cpld_bin/fuseasm\" protect.tt3 -dev p16v8 -o protect.jed -ivec protect.tmv -rep protect.rpt -doc brief -con ptblown -for brief -err automake.err "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
if [runCmd "\"$cpld_bin/jedsim\" protect.jed -o protect.smj -ostatus protect.sts -tra table detail -err automake.err "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
########## Tcl recorder end at 08/16/06 14:42:19 ###########
########## Tcl recorder starts at 08/22/06 22:38:24 ##########
# Commands to make the Process:
# Functional Simulation
# - none -
# Application to view the Process:
# Functional Simulation
if [catch {open simcp._sp w} rspFile] {
puts stderr "Cannot create response file simcp._sp: $rspFile"
} else {
puts $rspFile "simcp.pre1 -ini simcpls.ini -unit simcp.pre1
-cfg oaipldtg.fdk \"protect1.ltv\" -map \"protect.lsi\"
"
close $rspFile
}
if [runCmd "\"$cpld_bin/simcp\" @simcp._sp"] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
########## Tcl recorder end at 08/22/06 22:38:24 ###########
########## Tcl recorder starts at 08/23/06 09:27:09 ##########
# Commands to make the Process:
# Functional Simulation
# - none -
# Application to view the Process:
# Functional Simulation
if [catch {open simcp._sp w} rspFile] {
puts stderr "Cannot create response file simcp._sp: $rspFile"
} else {
puts $rspFile "simcp.pre1 -ini simcpls.ini -unit simcp.pre1
-cfg oaipldtg.fdk \"protect1.ltv\" -map \"protect.lsi\"
"
close $rspFile
}
if [runCmd "\"$cpld_bin/simcp\" @simcp._sp"] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
########## Tcl recorder end at 08/23/06 09:27:09 ###########
########## Tcl recorder starts at 09/07/06 10:03:34 ##########
# Commands to make the Process:
# Functional Simulation
# - none -
# Application to view the Process:
# Functional Simulation
if [catch {open simcp._sp w} rspFile] {
puts stderr "Cannot create response file simcp._sp: $rspFile"
} else {
puts $rspFile "simcp.pre1 -ini simcpls.ini -unit simcp.pre1
-cfg oaipldtg.fdk \"protect1.ltv\" -map \"protect.lsi\"
"
close $rspFile
}
if [runCmd "\"$cpld_bin/simcp\" @simcp._sp"] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
########## Tcl recorder end at 09/07/06 10:03:34 ###########
########## Tcl recorder starts at 09/14/06 11:01:33 ##########
# Commands to make the Process:
# Hierarchy
if [runCmd "\"$cpld_bin/sch2jhd\" \"protect.sch\" "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
########## Tcl recorder end at 09/14/06 11:01:33 ###########
########## Tcl recorder starts at 09/14/06 11:01:44 ##########
# Commands to make the Process:
# Compile Schematic
if [runCmd "\"$cpld_bin/sch2blf\" -sup \"protect.sch\" -err automake.err "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
if [runCmd "\"$cpld_bin/iblflink\" \"protect.bls\" -o \"protect.bl0\" -ipo -family -err automake.err "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
########## Tcl recorder end at 09/14/06 11:01:44 ###########
########## Tcl recorder starts at 09/14/06 11:01:49 ##########
# Commands to make the Process:
# ABEL Test Vector Template
if [runCmd "\"$cpld_bin/blif2eqn\" \"protect.bl0\" -o \"protect.abt\" -testfix -template \"$install_dir/ispcpld/plsi/abel/plsiabt.tft\" -prj protect -err automake.err"] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
########## Tcl recorder end at 09/14/06 11:01:49 ###########
########## Tcl recorder starts at 09/14/06 11:02:08 ##########
# Commands to make the Process:
# Functional Simulation
if [runCmd "\"$cpld_bin/sch2tf\" -template \"$install_dir/ispcpld/plsi/latsim/plsi.tft\" -prj protect -ext .lsi protect.sch "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
if [runCmd "\"$cpld_bin/iblifopt\" -i \"protect.bl0\" -o \"protect.blo\" -red bypin choose -sweep -collapse none -pterms 8 -family -err automake.err "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
if [runCmd "\"$cpld_bin/iblflink\" \"protect.blo\" -o \"protect.blh\" -omod protect -err automake.err "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
if [runCmd "\"$cpld_bin/iblifopt\" \"protect.blh\" -err automake.err "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
if [runCmd "\"$cpld_bin/idiofft\" -i \"protect.bli\" -o \"protect.blj\" -idev plsi -propadd -dev pla_basic -err automake.err "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
# Application to view the Process:
# Functional Simulation
if [catch {open simcp._sp w} rspFile] {
puts stderr "Cannot create response file simcp._sp: $rspFile"
} else {
puts $rspFile "simcp.pre1 -ini simcpls.ini -unit simcp.pre1
-cfg oaipldtg.fdk \"protect1.ltv\" -map \"protect.lsi\"
"
close $rspFile
}
if [runCmd "\"$cpld_bin/simcp\" @simcp._sp"] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
########## Tcl recorder end at 09/14/06 11:02:08 ###########
########## Tcl recorder starts at 09/14/06 11:02:38 ##########
# Commands to make the Process:
# JEDEC File
if [runCmd "\"$cpld_bin/iblifopt\" -i \"protect.bl0\" -o \"protect.bl1\" -red bypin choose -sweep -collapse none -pterms 8 -family -err automake.err "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
if [runCmd "\"$cpld_bin/iblflink\" \"protect.bl1\" -o \"protect.bl2\" -omod protect -family -err automake.err "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
if [runCmd "\"$cpld_bin/iblifopt\" protect.bl2 -red bypin choose -sweep -collapse all -pterms 8 -err automake.err "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
if [runCmd "\"$cpld_bin/idiofft\" protect.bl3 -pla -o protect.tt2 -dev p16v8 -define n -err automake.err "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
if [runCmd "\"$cpld_bin/fit\" protect.tt2 -dev p16v8 -str -err automake.err "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
if [runCmd "\"$cpld_bin/fuseasm\" protect.tt3 -dev p16v8 -o protect.jed -ivec protect.tmv -rep protect.rpt -doc brief -con ptblown -for brief -err automake.err "] {
return
} else {
vwait done
if [checkResult $done] {
return
}
}
########## Tcl recorder end at 09/14/06 11:02:38 ###########
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -