- 2
- 0
- 约1.37万字
- 约 33页
- 2018-02-13 发布于江西
- 举报
数据库 ch6_3m
?未经作者允许,请勿发布该文档!yingqichen@sjtu.edu.cn VHDL Simulation Synthesis Agenda Other Features in VHDL Generate Assert Function Overloading FILE IO Generate Example (1) ram32 : ram_0 :static_ram port map (cs_b,we_b,oe_b, abus(7 downto 0), dbus(7 downto 0)); ram_1 :static_ram port map (cs_b,we_b,oe_b, abus(7 downto 0), dbus(15 downto 8)); ram_2 :static_ram port map (cs_b,we_b,oe_b, abus(7 downto 0), dbus(23 downto 16)); ram_3 :static_ram port map (cs_b,we_b,oe_b, abus(7 downto 0), dbus(31 downto 24)); end generate ram32; Generate Example (2) ram32 : for i in 3 downto 0 generate ram :static_ram port map (cs_b,we_b,oe_b, abus(7 downto 0), dbus(8*i+7 downto 8*i)); end generate ram32; Generate Label: for ParameterName in Range generate ConcurrentStatements... end generate [Label]; Generate Example (3) Generate Example (4) adder : for i in 0 to wid-1 generate ls_bit : if i = 0 generate ls_cell : HA port map (a(0), b(0), sum(0), c_in(1));end generate lsbit; middle_bit : if i 0 and i wid-1 generate middle_cell : FA port map (a(i), b(i), c_in(i), sum(i), c_in(i+1));end generate middle_bit; ms_bit : if i = wid-1 generate ms_cell : FA port map (a(i), b(i), c_in(i), sum(i), carry);end generate ms_bit; end generate adder; Agenda Generate Assert Function Overloading FILE IO Assert Definition [Label:] assert Condition [report StringExpression] [severity Expression]; Note The message is written when the Condition is False! The default string for report clause is “Assertion violation” The default string for severity clause is “ERROR” Concurrent Assertions Concurrent Procedure Calls Label : assert condition report error_string
您可能关注的文档
- 教师教学能力调研第三题反馈 - PowerPoint Presentation.ppt
- 教师教学技能-教学设计.ppt
- 教师教育信息化的系统思维框架 - 现代教育技术网络课程.ppt
- 教师教育技术能力及评估-缪蓉.ppt
- 教师文明礼仪知识.ppt
- 教师有效技能的培养与提高的研究.ppt
- 教师班级经营与教学效能.ppt
- 教师的教育科研.ppt
- 教师组如何进行有效的集体备课.ppt
- 教师职业的思考与法律辅导.ppt
- 智慧社区综合治理竞争格局分析报告_2025年12月.docx
- 数据安全与隐私计算竞争格局分析报告_2025年12月.docx
- 透明显示技术在商业展示、汽车车窗中的场景拓展_2025年12月.docx
- 2025年中国虚拟会议室软件市场调研报告_2025年12月.docx
- 企业级AI智能体在流程自动化中的分级部署_2025年12月.docx
- 精神类药物(抑郁症 ADHD)研发竞争格局分析报告_2025年12月.docx
- 新零售仓店一体30分钟达履约网络密度与生鲜损耗率趋势预测报告_2025年12月.docx
- 元宇宙中的虚拟商品与数字身份对消费行为的影响_2025年12月.docx
- 新能源汽车二手车残值预测模型与定价机制_2025年12月.docx
- 科创板 创业板上市公司再融资市场现状调研报告_2025年12月.docx
原创力文档

文档评论(0)