- 1、本文档共37页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
verilog比较好的一篇程verilog比较好的一篇教程verilog比较好的一篇教程verilog比较好的一篇教程
Verilog Matt Tsai Verilog Application Introduction to Cadence Simulators Sample Design Lexical Conventions in Verilog Verilog Data Type and Logic System Structural Modeling Modeling Delay Using Compiler Controls Verilog Operators Behavioral Modeling Support for Verification Introduction to Using a Verilog Test Bench Modeling Memories High Level Constructs in Verilog User Defined Primitives Annotating SDF Timing IEEE 1364-1995, IEEE 1364-2001 Behavioral: 無法看出電路特性 RTL:可以看出電路特性 (logic synthesis) Structural: bulit-in primitives,UDPs RTL and structural 可混合描述 Behavioral 和 RTL的區分要靠經驗 Compilation(1) Initialization(2) Simulation(3) Verilog-XL simulator:Interpretive 不會有暫存檔(1)(2)(3)一次完成 NC Verilog simulator:compiled simulation ncviog(1) ncelab(2) ncsim(3) 當project很大時,只針對要修改部分重新compile即可 VHDL and Verilog可以作整合 Simulation algorithms Time-based(SPICE) Event-based(Verilog-XL and NC Verilog) Cycle-based(依照clock,更大的time-based) verilog mux.v testbench.v verilog –f run.f The waveform display tool---signalscan Read data from database SHM database(非IEEE standard,only Cadence) VCD(Value Change Dump) database(IEEE standard) Testbench----behavioral Procedural block Initial always Waveform database(SHM and VCD) $shm_open(“lab.shm”); $shm_probe(); $shm_close; $shm_save; `include global.v verilog mux.v global.v timescale 1ns/100 ps Lumped delay nor n1(net1,a,b); or #3 o1(out,c,net1); Distributed delay nor #2 n1(net1,a,b); or #1 o1(out,c,net1); Module path delay Specify (A=O)=2; (A=O)=3; (A=O)=1; //state dependent path delay if(a) (b=x)=(5:6:7); //state dependent delay 無else的語法 Endspecify specify block Selecting simulation delay mode Command line +delay_mode_unit +delay_mode_zero +delay_mode_path +delay_mode_distributed Parallel connection (a,b = q,qb)=15; (a=q)=15; (b=qb)=15; Full connection (a,b * q,qb)=15; (a=q)=15; (b=q)=15; (a=qb)=15; (b=qb)=15; Timing checks in Verilog(物理特性) Setup,hold,pulse width,clock period,skew,recovery
您可能关注的文档
- unit3 book1 检unit3 book1 检测unit3 book1 检测unit3 book1 检测.ppt
- unit2 writingnit2 writingunit2 writingunit2 writing.ppt
- unit2 readingppt课件unit2 reading ppt课件unit2 reading ppt课件unit2 reading ppt课件.ppt
- unit3 teenageproblems 课件1unit3 teenage problems 课件1unit3 teenage problems 课件1unit3 teenage problems 课件1.ppt
- unit3《computes》word studyunit3《computers》word studyunit3《computers》word studyunit3《computers》word study.ppt
- unit2第2课时教学课件nit2第2课时教学课件unit2第2课时教学课件unit2第2课时教学课件.ppt
- unit4 section-2unit4 sectionb-2unit4 sectionb-2unit4 sectionb-2.ppt
- unit3_a_healty_life课件unit3_a_healthy_life课件unit3_a_healthy_life课件unit3_a_healthy_life课件.ppt
- unit4 sectionb 1a-2funit4 section b 1a-2funit4 section b 1a-2funit4 section b 1a-2f.ppt
- unit5 there i a big bed第一课时unit5 there is a big bed第一课时unit5 there is a big bed第一课时unit5 there is a big bed第一课时.ppt
文档评论(0)