文章目录
- 1 加入 transaction
- 2 加入 env
- 3 加入 monitor
- 4 封装成agent
- 5 加入 reference model
- 6 加入 scoreboard
- 7 加入 field_automation 机制
记录一下《UVM实战(卷I)》学习笔记。
这节的 dut 与第一节是一样的,直接对输入打拍输出:
module dut(clk,
rst_n,
rxd,
rx_dv,
txd,
tx_en);
input clk;
input rst_n;
input[7:0] rxd;
input rx_dv;
output [7:0] txd;
output tx_en;
reg[7:0] txd;
reg tx_en;
always @(posedge clk) begin
if(!rst_n) begin
txd
关注
打赏