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

📄 footpresure.tcl

📁 工程中使用的一段资源管理vhdl程序,有简单的分频代码
💻 TCL
📖 第 1 页 / 共 3 页
字号:
if [runCmd "\"$cpld_bin/mblifopt\" cpld_mpu1.bl0 -collapse none -reduce none -keepwires  -err automake.err -family"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/mblflink\" \"cpld_mpu1.bl1\" -o \"footpresure.bl2\" -omod \"footpresure\"  -err \"automake.err\""] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/impsrc\"  -prj footpresure -lci footpresure.lct -log footpresure.imp -err automake.err -tti footpresure.bl2 -dir $proj_dir"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/abelvci\" -vci footpresure.lct -blifopt footpresure.b2_"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/mblifopt\" footpresure.bl2 -sweep -mergefb -err automake.err -o footpresure.bl3 @footpresure.b2_ "] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/abelvci\" -vci footpresure.lct -dev lc4k -diofft footpresure.d0"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/mdiofft\" footpresure.bl3 -family amdmach -idev van -o footpresure.bl4 -oxrf footpresure.xrf -err automake.err @footpresure.d0 "] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/abelvci\" -vci footpresure.lct -dev lc4k -prefit footpresure.l0"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/prefit\" -blif -inp footpresure.bl4 -out footpresure.bl5 -err automake.err -log footpresure.log -mod cpld_mpu1 @footpresure.l0  -sc"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [catch {open footpresure.rs1 w} rspFile] {
	puts stderr "Cannot create response file footpresure.rs1: $rspFile"
} else {
	puts $rspFile "-i footpresure.bl5 -lci footpresure.lct -d m4s_128_92 -lco footpresure.lco -html_rpt -fti footpresure.fti -fmt PLA -tto footpresure.tt4 -nojed -eqn footpresure.eq3 -tmv NoInput.tmv
-rpt_num 1
"
	close $rspFile
}
if [catch {open footpresure.rs2 w} rspFile] {
	puts stderr "Cannot create response file footpresure.rs2: $rspFile"
} else {
	puts $rspFile "-i footpresure.bl5 -lci footpresure.lct -d m4s_128_92 -lco footpresure.lco -html_rpt -fti footpresure.fti -fmt PLA -tto footpresure.tt4 -eqn footpresure.eq3 -tmv NoInput.tmv
-rpt_num 1
"
	close $rspFile
}
if [runCmd "\"$cpld_bin/lpf4k\" \"@footpresure.rs2\""] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
file delete footpresure.rs1
file delete footpresure.rs2
if [runCmd "\"$cpld_bin/tda\" -i footpresure.bl5 -o footpresure.tda -lci footpresure.lct -dev m4s_128_92 -family lc4k -mod cpld_mpu1 -ovec noinput.tmv -err tda.err "] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/synsvf\" -exe \"$install_dir/ispvmsystem/ispufw\" -prj footpresure -if footpresure.jed -j2s -log footpresure.svl "] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}

########## Tcl recorder end at 02/17/09 18:53:53 ###########


########## Tcl recorder starts at 02/17/09 18:55:54 ##########

# Commands to make the Process: 
# Hierarchy
if [runCmd "\"$cpld_bin/vhd2jhd\" footvhdl.vhd -o footvhdl.jhd -m \"$install_dir/ispcpld/generic/lib/vhd/location.map\" -p \"$install_dir/ispcpld/generic/lib\""] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}

########## Tcl recorder end at 02/17/09 18:55:54 ###########


########## Tcl recorder starts at 02/17/09 18:55:59 ##########

# Commands to make the Process: 
# JEDEC File
if [catch {open CPLD_MPU1.cmd w} rspFile] {
	puts stderr "Cannot create response file CPLD_MPU1.cmd: $rspFile"
} else {
	puts $rspFile "PROJECT: CPLD_MPU1
working_path: \"$proj_dir\"
module: cpld_mpu1
vhdl_file_list: footvhdl.vhd
output_file_name: cpld_mpu1
suffix_name: edi
"
	close $rspFile
}
if [runCmd "\"$cpld_bin/synpwrap\" -e cpld_mpu1 -target mach"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
file delete CPLD_MPU1.cmd
if [runCmd "\"$cpld_bin/edif2blf\" -edf cpld_mpu1.edi -out cpld_mpu1.bl0 -err automake.err -log cpld_mpu1.log -prj footpresure -lib \"$install_dir/ispcpld/dat/mach.edn\" -net_vcc vcc -net_gnd gnd -nbx -dse -tlw -cvt yes -xor"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/mblifopt\" cpld_mpu1.bl0 -collapse none -reduce none -keepwires  -err automake.err -family"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/mblflink\" \"cpld_mpu1.bl1\" -o \"footpresure.bl2\" -omod \"footpresure\"  -err \"automake.err\""] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/impsrc\"  -prj footpresure -lci footpresure.lct -log footpresure.imp -err automake.err -tti footpresure.bl2 -dir $proj_dir"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/abelvci\" -vci footpresure.lct -blifopt footpresure.b2_"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/mblifopt\" footpresure.bl2 -sweep -mergefb -err automake.err -o footpresure.bl3 @footpresure.b2_ "] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/abelvci\" -vci footpresure.lct -dev lc4k -diofft footpresure.d0"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/mdiofft\" footpresure.bl3 -family amdmach -idev van -o footpresure.bl4 -oxrf footpresure.xrf -err automake.err @footpresure.d0 "] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/abelvci\" -vci footpresure.lct -dev lc4k -prefit footpresure.l0"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/prefit\" -blif -inp footpresure.bl4 -out footpresure.bl5 -err automake.err -log footpresure.log -mod cpld_mpu1 @footpresure.l0  -sc"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [catch {open footpresure.rs1 w} rspFile] {
	puts stderr "Cannot create response file footpresure.rs1: $rspFile"
} else {
	puts $rspFile "-i footpresure.bl5 -lci footpresure.lct -d m4s_128_92 -lco footpresure.lco -html_rpt -fti footpresure.fti -fmt PLA -tto footpresure.tt4 -nojed -eqn footpresure.eq3 -tmv NoInput.tmv
-rpt_num 1
"
	close $rspFile
}
if [catch {open footpresure.rs2 w} rspFile] {
	puts stderr "Cannot create response file footpresure.rs2: $rspFile"
} else {
	puts $rspFile "-i footpresure.bl5 -lci footpresure.lct -d m4s_128_92 -lco footpresure.lco -html_rpt -fti footpresure.fti -fmt PLA -tto footpresure.tt4 -eqn footpresure.eq3 -tmv NoInput.tmv
-rpt_num 1
"
	close $rspFile
}
if [runCmd "\"$cpld_bin/lpf4k\" \"@footpresure.rs2\""] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
file delete footpresure.rs1
file delete footpresure.rs2
if [runCmd "\"$cpld_bin/tda\" -i footpresure.bl5 -o footpresure.tda -lci footpresure.lct -dev m4s_128_92 -family lc4k -mod cpld_mpu1 -ovec noinput.tmv -err tda.err "] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/synsvf\" -exe \"$install_dir/ispvmsystem/ispufw\" -prj footpresure -if footpresure.jed -j2s -log footpresure.svl "] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}

########## Tcl recorder end at 02/17/09 18:55:59 ###########


########## Tcl recorder starts at 02/18/09 11:13:52 ##########

# Commands to make the Process: 
# Hierarchy
if [runCmd "\"$cpld_bin/vhd2jhd\" footvhdl.vhd -o footvhdl.jhd -m \"$install_dir/ispcpld/generic/lib/vhd/location.map\" -p \"$install_dir/ispcpld/generic/lib\""] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}

########## Tcl recorder end at 02/18/09 11:13:52 ###########


########## Tcl recorder starts at 02/18/09 11:13:55 ##########

# Commands to make the Process: 
# JEDEC File
if [catch {open CPLD_MPU1.cmd w} rspFile] {
	puts stderr "Cannot create response file CPLD_MPU1.cmd: $rspFile"
} else {
	puts $rspFile "PROJECT: CPLD_MPU1
working_path: \"$proj_dir\"
module: cpld_mpu1
vhdl_file_list: footvhdl.vhd
output_file_name: cpld_mpu1
suffix_name: edi
"
	close $rspFile
}
if [runCmd "\"$cpld_bin/synpwrap\" -e cpld_mpu1 -target mach"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
file delete CPLD_MPU1.cmd
if [runCmd "\"$cpld_bin/edif2blf\" -edf cpld_mpu1.edi -out cpld_mpu1.bl0 -err automake.err -log cpld_mpu1.log -prj footpresure -lib \"$install_dir/ispcpld/dat/mach.edn\" -net_vcc vcc -net_gnd gnd -nbx -dse -tlw -cvt yes -xor"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/mblifopt\" cpld_mpu1.bl0 -collapse none -reduce none -keepwires  -err automake.err -family"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/mblflink\" \"cpld_mpu1.bl1\" -o \"footpresure.bl2\" -omod \"footpresure\"  -err \"automake.err\""] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/impsrc\"  -prj footpresure -lci footpresure.lct -log footpresure.imp -err automake.err -tti footpresure.bl2 -dir $proj_dir"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/abelvci\" -vci footpresure.lct -blifopt footpresure.b2_"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/mblifopt\" footpresure.bl2 -sweep -mergefb -err automake.err -o footpresure.bl3 @footpresure.b2_ "] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/abelvci\" -vci footpresure.lct -dev lc4k -diofft footpresure.d0"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/mdiofft\" footpresure.bl3 -family amdmach -idev van -o footpresure.bl4 -oxrf footpresure.xrf -err automake.err @footpresure.d0 "] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/abelvci\" -vci footpresure.lct -dev lc4k -prefit footpresure.l0"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/prefit\" -blif -inp footpresure.bl4 -out footpresure.bl5 -err automake.err -log footpresure.log -mod cpld_mpu1 @footpresure.l0  -sc"] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [catch {open footpresure.rs1 w} rspFile] {
	puts stderr "Cannot create response file footpresure.rs1: $rspFile"
} else {
	puts $rspFile "-i footpresure.bl5 -lci footpresure.lct -d m4s_128_92 -lco footpresure.lco -html_rpt -fti footpresure.fti -fmt PLA -tto footpresure.tt4 -nojed -eqn footpresure.eq3 -tmv NoInput.tmv
-rpt_num 1
"
	close $rspFile
}
if [catch {open footpresure.rs2 w} rspFile] {
	puts stderr "Cannot create response file footpresure.rs2: $rspFile"
} else {
	puts $rspFile "-i footpresure.bl5 -lci footpresure.lct -d m4s_128_92 -lco footpresure.lco -html_rpt -fti footpresure.fti -fmt PLA -tto footpresure.tt4 -eqn footpresure.eq3 -tmv NoInput.tmv
-rpt_num 1
"
	close $rspFile
}
if [runCmd "\"$cpld_bin/lpf4k\" \"@footpresure.rs2\""] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
file delete footpresure.rs1
file delete footpresure.rs2
if [runCmd "\"$cpld_bin/tda\" -i footpresure.bl5 -o footpresure.tda -lci footpresure.lct -dev m4s_128_92 -family lc4k -mod cpld_mpu1 -ovec noinput.tmv -err tda.err "] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/synsvf\" -exe \"$install_dir/ispvmsystem/ispufw\" -prj footpresure -if footpresure.jed -j2s -log footpresure.svl "] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}

########## Tcl recorder end at 02/18/09 11:13:55 ###########


########## Tcl recorder starts at 02/18/09 11:14:25 ##########

# Commands to make the Process: 
# Generate Board-level Stamp Model
if [runCmd "\"$cpld_bin/timer\" -inp \"footpresure.tt4\" -lci \"footpresure.lct\" -stamp \"footpresure.stamp\" -exf \"cpld_mpu1.exf\" -lco \"footpresure.lco\""] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}
if [runCmd "\"$cpld_bin/stamppar\" -i footpresure.stamp "] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}

########## Tcl recorder end at 02/18/09 11:14:25 ###########


########## Tcl recorder starts at 02/18/09 11:14:27 ##########

# Commands to make the Process: 
# JEDEC File
if [runCmd "\"$cpld_bin/synsvf\" -exe \"$install_dir/ispvmsystem/ispufw\" -prj footpresure -if footpresure.jed -j2s -log footpresure.svl "] {
	return
} else {
	vwait done
	if [checkResult $done] {
		return
	}
}

########## Tcl recorder end at 02/18/09 11:14:27 ###########

⌨️ 快捷键说明

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