verilog 层次调用
来源:互联网 发布:罗技m280 m330 知乎 编辑:程序博客网 时间:2024/06/07 13:45
Verilog HDL: Creating a Hierarchical Design
This example describes how to create a hierarchical design using Verilog HDL.
The file top_ver.v is the top level, which calls the two lower level files bottom1.v and bottom2.v.
download from: http://www.fpga.com.cn
vprim.v
top_ver.v
module top_ver (q, p, r, out);
input q, p, r;
output out;
reg out, intsig;
bottom1 u1(.a(q), .b(p), .c(intsig));
bottom2 u2(.l(intsig), .m(r), .n(out));
endmodule
--------------------------------------------------------------------------------
bottom1.v
module bottom1(a, b, c);
input a, b;
output c;
reg c;
always
begin
c<=a & b;
end
endmodule
--------------------------------------------------------------------------------
bottom2.v
module bottom2(l, m, n);
input l, m;
output n;
reg n;
always
begin
n<=l | m;
end
endmodule
- verilog 层次调用
- verilog 层次化设计语言调用的问题终于知道了
- verilog 层次化设计的简单问题 -- 如何调用底层模块
- verilog 层次化设计的简单问题 -- 如何调用底层模块
- Verilog的层次化设计
- [verilog读书笔记]2.层次建模
- verilog文件系统函数调用
- Verilog模块调用
- verilog 与 vhdl相互调用
- Verilog学习笔记5:层次化设计-数码管段选
- Verilog学习笔记6:层次化设计-数码管位选
- rootfs初始化调用层次关系
- rootfs初始化调用层次关系
- spring 调用层次解析思路
- 在handelc中直接调用verilog模块
- VHDL顶层调用Verilog模块(转)
- verilog
- verilog
- 花开堪折直须折,莫待无花空折枝
- Java中的接口(interface)
- CImage类的使用
- 【2009-10-19】今天天气不错
- struts2.0.11整合jsonplugin0.32的方法。
- verilog 层次调用
- ORACLE层次化查询
- 今天谷歌金山词霸2.0正式发布了
- 交换两个变量的值不使用第三个变量
- ASP.NET 实现多版本語言
- Shell小程序——打印九九表
- 新成立网站运营的几个关键点
- request.getSession(false)与request.getSession(true)区别
- C# 调用 SAP RFC 方法