结合XILINXCPLD所做的模拟RS232通信verilog源程序

源代码在线查看: _cpldfit.tcl

软件大小: 119 K
上传用户: xiazaichongchon
关键词: XILINXCPLD verilog 232 RS
下载地址: 免注册下载 普通下载 VIP

相关代码

				set _rspFileHandle [open _cpldfit.rsp w]
				puts $_rspFileHandle "-p xc95108-7-PC84"
				puts $_rspFileHandle "-optimize speed"
				puts $_rspFileHandle "-loc on"
				puts $_rspFileHandle "-slew fast"
				puts $_rspFileHandle "-init low"
				if {[string compare "Template Controlled" "Template Controlled"]==0} {
				puts $_rspFileHandle "-pterms 25" } else {
				puts $_rspFileHandle "-pterms Template Controlled" }
				puts $_rspFileHandle "-power std"
				if {1} {
				puts $_rspFileHandle "-localfbk"
				}
				if {1} {
				puts $_rspFileHandle "-pinfbk"
				}
				puts $_rspFileHandle "-inputs 36"
				close $_rspFileHandle
				set _ErrorCode [catch {exec cpldfit -f _cpldfit.rsp send.ngd} _Results]
				exeputs $_Results
				exit $_ErrorCode
							

相关资源