版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Chapter 5 Design simulation and HDL,Combinational circuit analysis Schematic entry/ Text entry and their simulations,From logic circuit to truth table,Combinational logic analysis,From logic circuit to logic equation,Combinational logic analysis,From timing diagram to truth table,Combinational logic
2、 analysis,Simulation: Design analysis before production Aided with computer tools: Schematic entry / Text entry,Design simulation,Max+Plus II from Altera .com: Include : schematic entry and HDL text editor; compiler and synthesizer; waveform editor and simulator; time analyzer; programmer,EDA Tools
3、for digital design,Open the Program,Open the Graphic editor,Select logic unit and connect them,Name your I/O and name your design,Set up a project and select the device,Name and save your design; file/project/set project to current file! Assign /device: FLEX10K/AUTO; Check and compile your design,De
4、sign check and compile,Design check and compile,If compile was not success, the error information can be found in message window, we can perfect the design according to these message; If compile success, design results can be found in .rpt file,Report for design results,Verify the design with input
5、and output,Waveform editor and Simulation,Open the waveform editor; Click the Name area, click the List to select the ports; File/End time: select the simulation time; Option/Grid size: select the time unit; Click the value for each input, set the input waveform; Save the file after all the inputs b
6、eing set,Waveform editor and Simulation,Waveform editor and Simulation,Text entry with Verilog HDL,Chapter 5 Design simulation and HDL,Verilog HDL structure,Use text entry to replace schematic entry: Large design and time delay can be easily described ; Modification can be easily done,Verilog HDL st
7、ructure,Hardware module: Name、port and structure,Module name and IO,module majority (a,b,c,f); input a,b,c; output f; structure description; endmodule,Signal :port and wire,Two kinds of signals : port : input and output; wire : any connect nets in module; The value of signals: 0 1 z x (unknown,modul
8、e majority (a,b,c,f); input a,b,c; output f; wire w1,w2,w3; structure description; endmodule,Signal :port and wire,Logic operators for bit data,y = a,y = a | b,y = a,y = a b,Logic operations,Dataflow description,module majority (a,b,c,f); input a,b,c; output f; wire w1,w2,w3; assign w1=a endmodule,m
9、odule majority (a,b,c,f); input a,b,c; output f; assign f=(a endmodule,Dataflow description,Use built_in gates for design,Gate,Structure description,module majority (a,b,c,f); input a,b,c; output f; wire w1,w2,w3; and u1(w1,a,b); and u2(w2,b,c); and u3(w3,a,c); or u4(f,w1,w2,w3); endmodule,4-bit pri
10、me-number detector when input is (1,2,3,5,7,11,13), the output is 1, otherwise the output is 0,Bus signal and its operations,Bus: A collection of two or more related signal lines,module prime (a,f); input 3:0 a; output f; wire 3:0 w; assign w0=a3 endmodule,Bus signal and its operations,Text entry,Bus signal set,Bus signal set,module bus (a,b,y1,y2,y3); input7:0 a,b; output7:0 y1,y2,y3; assign y1=a endmodule,Bus signal and its operations,B
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 高校教室防潮除湿设施设计方案
- 地下防水施工中的基坑排水技术方案
- 村委三员监督制度汇编
- 检验机构日常监督制度
- 2026江苏苏州海关驻吴中办事处招聘编外人员2人笔试备考试题及答案解析
- 2026年吉林工程职业学院单招职业倾向性测试题库附参考答案详解(满分必刷)
- 2026年吉林省延边朝鲜族自治州单招职业倾向性测试题库附答案详解(黄金题型)
- 2026年周口理工职业学院单招职业技能测试题库含答案详解(培优)
- 2026年长安大学专职辅导员招聘(10人)考试备考试题及答案解析
- 2026年呼伦贝尔职业技术学院单招职业技能测试题库及答案详解(典优)
- 2024年公安机关接处警工作规范
- 9省联考应用文“携手行动节约粮食”的作文比赛通知学案
- 2023年中考语文记叙文专题阅读精讲精练专题01 把握文本内容概括故事情节(解析)
- GB/T 43232-2023紧固件轴向应力超声测量方法
- 《中央企业合规管理办法》逐条解读
- 《无线局域网技术与实践》(易丽华)件 模块6 大型WLAN优化
- 跨境电商通关实务(第2版)全套教学课件
- 初级育婴员:婴儿沐浴操作考核评分标准
- 斜拉桥加固旁站监理方案模板
- 健身休闲综合体可行性研究报告
- 刑法学(上册)马工程课件 第1章 刑法概说
评论
0/150
提交评论