本文介绍了VHDL硬件描述语言基础,包括: 1.简介 2.基本结构 3.基本数据类型 4.设计组合电路 5.设计时序电路 6.设计状态机 7.大规模电路的层次化设计 8.Function and procedure
上传时间: 2013-12-16
上传用户:541657925
对PL0原编译器进行了以下的扩充:1.增加以下保留字else(elsesym), for(forsym),to(tosym),downto(downtosym),return(returnsym),[(lmparen),](rmparen) 2.增加了以下的运算符:+=(eplus),-=(eminus),++(dplus),--(dminus) 取址运算符&(radsym),指向运算符@(padsym) 3.修改单词:修改不等号#为<> 4.扩充语句:(1)增加了else子句 (2)增加了for语句 5.增加运算:(1).++运算 (2).--运算;(3).+=运算 (4).-=运算;(5).&取址运算; (6).@指向运算; 6.增加类型:(1).增加多维数组a[i1][i2][i3]……[i(n-1)][i(n-2)][in] (2).增加指针类型(任何变量都能存放指针,但不支持指针的指针,如b:=@@a应该改写为c:=@a,b:=@c) 7.将过程procedure扩展为函数:(1).允许定义过程时在其后加参数(var a, var b,……..,var n) (2)允许通过指针向函数形式参数传地址;(3)允许返回值;可以用 a:=p(a,b,c….,n) 返回
标签: downtosym returnsym elsesym downto
上传时间: 2016-07-02
上传用户:saharawalker
看n2实例 #Create a simulator object set ns [new Simulator] #Define different colors for data flows #$ns color 1 Blue #$ns color 2 Red #Open the nam trace file set nf [open out-1.nam w] $ns namtrace-all $nf set f0 [open out0.tr w] set f1 [open out1.tr w] #Define a finish procedure proc finish {} { global ns nf $ns flush-trace #Close the trace file close $nf #Execute nam on the trace file exit 0 } #Create four nodes set n0 [$ns node] set n1 [$ns node] set n2 [$ns node] set n3 [$ns node] #Create links between the nodes $ns duplex-link $n0 $n2 1Mb 10ms
标签: simulator Simulator different Create
上传时间: 2016-07-02
上传用户:wfl_yy
MD5变换动态链接库文件调用:(delphi例子) ========================================================================= function transfer(tran:widestring):widestring stdcall external md5.dll name transfer //edit1为输入字符,edit2为输出md5摘要 procedure TForm1.Button1Click(Sender: TObject) begin edit2.text:=transfer(edit1.Text) end
上传时间: 2016-07-04
上传用户:lijianyu172
在内存中的ADO记录集与DataBinding 建立ADO连接 ADO Update concurrency的测试 Tandem Unstructured File 转入Access资料库 如何将其他资料汇入MDB档 如同XBase的Macro Evaluation (&) 数据库的锁定 XBase与VB用法对照 RDO之Informix与VB的连线 RDO 的建立结果集(一) RDO 的建立结果集(二) RDO 结果集之Isolation Level RDO 之Addnew/Update/Delete RDO Stored procedure的呼叫 RDO rdoConnection物件的Events RDO之MultiResultset RDO之Blob资料的存取 RDO 放资料进入MSFlexGrid VB5在处理数据库时的几个“BUG” 用VB5访问具有用户级安全的Access97数据库 与数据库有关的问答集
标签: ADO Unstructured DataBinding concurrency
上传时间: 2016-09-23
上传用户:bruce
原始数据以Kiwi格式存储在GTBL.dat的二进制文件中,具体的文件格式请参照ReveseTableFormat.xls 中的“逆引表格式”sheet.-this procedure is the function of the navigation data of the road data collation, analysis. Kiwi to the original data stored in the format of the binary file GTBL.dat, specific file format ReveseTableFormat.xls Please refer to the "reverse primer format" sheet.
上传时间: 2014-11-26
上传用户:qweqweqwe
51单片机C语言多种点阵屏驱动程序(开发软件为keil C ---8字点阵屏左移程序,64_16点阵屏驱动程序,上移显示程序,左移显示程序)51 monolithic integrated circuit C language many kinds of lattice screen driver (develops the software is keil C ---8 character lattice screen left shift procedure, the 64_16 lattice screen driver, uppers shift the display sequence, the left shift display sequence
上传时间: 2014-01-04
上传用户:Ants
APCS,ARM 过程调用标准(ARM procedure Call Standard),提供了紧凑的编写例程的一种机制,定义的例程可以与其他例程交织在一起。最显著的一点是对这些例程来自哪里没有明确的限制。它们可以编译自 C、 Pascal、也可以是用汇编语言写成的。
标签: APCS
上传时间: 2013-12-02
上传用户:fandeshun
用C语言编的一个小解释器,可以执行C程序的!算是可以执行C程序的C程序吧! 选自最新C语言精华(第三版)Herbert Schildt著 A small interpreter arranges which with the C language, may carry out the C procedure! Is may carry out C the procedure C procedure! (Master) writes oh!
标签: C语言
上传时间: 2013-12-20
上传用户:kelimu
Input : A set S of planar points Output : A convex hull for S Step 1: If S contains no more than five points, use exhaustive searching to find the convex hull and return. Step 2: Find a median line perpendicular to the X-axis which divides S into SL and SR SL lies to the left of SR . Step 3: Recursively construct convex hulls for SL and SR. Denote these convex hulls by Hull(SL) and Hull(SR) respectively. Step 4: Apply the merging procedure to merge Hull(SL) and Hull(SR) together to form a convex hull. Time complexity: T(n) = 2T(n/2) + O(n) = O(n log n)
标签: contains Output convex planar
上传时间: 2017-02-19
上传用户:wyc199288