uvm uvm_tlm_fifo的使用
来源:互联网 发布:windows professor 编辑:程序博客网 时间:2024/06/01 08:49
1,在env里边定义一个uvm_tlm_fifo接口,用于ref和qlen之间的通信接口
1), uvm_tlm_fifo #(date_structure) ref_qlen_fifo;
2), new();
ref_qlen_fifo = new("ref_qlen_fifo",this,0);
3), build_phase();
ref.put_fifo.connect(ref_qlen_fifo.put_export);
qlen.get_fifo.connect(ref_qlen_fifo.get_export);
2,在ref中定义一个uvm_blocking_put_port接口,用于put
1), uvm_blocking_put_port #(data_structure) put_fifo;
data_structure data_structure_inst;
2), new();
put_fifo = new("put_fifo",this,0);
3), main_phase();
put_fifo.put(data_structure_inst);
3,在qlen中定义一个uvm_blocking_get_port接口,用于get
1), uvm_blocking_get_port #(data_structure) get_fifo;
data_structure data_structure_inst;
data_structure data_structure_inst_local;
2), new();
get_fifo = new("get_fifo",this,0);
3), main_phase();
get_fifo.put(data_structure_inst);
data_structure_inst_local.copy(data_structure_inst); // 这一点很重要,取到值后,马上copy到本地,以防源端改变了该值。
data_structure_inst_local.qlen ..... //就可以用了
- uvm uvm_tlm_fifo的使用
- UVM的callback的使用(八)
- docker使用cuda gpu的时候缺少nvidia-uvm
- UVM::sequence_item的定义
- UVM::全局的工具
- uvm的随机化
- uvm的config_db
- UVM::phase的run order
- uvm set/get的理解
- 基于UVM的verilog验证
- UVM::使用format控制log信息
- UVM::display的级别和显示方式
- uvm 与 system verilog的理解
- irun , vcs 调用UVM 的方法
- UVM的factory机制(二)
- UVM的transaction及filed_automation(三)
- UVM的sequence机制(四)
- UVM的config机制(五)
- Window 8 启用 Telnet 命令工具一览图
- Java泛型与Restlet客户端
- 查看当前Android版本RemoteViews支持的UI对象
- Python入门教程推荐
- 索引
- uvm uvm_tlm_fifo的使用
- Delphi中使用SQLite3(一)
- Gson
- [NHibernate]存储过程的使用(一)
- dotnetziplibrary(dotnetziplib)解压中文文件名乱码解决方法
- ipad和iPhone尺寸和分辨率,点
- 搭建你的第一个Django应用程序
- 10061事件
- 函数指针/函数指针数组