|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
在uvm提供的一个例子中,apb_if中的clocking块中,如下所示:interface apb_if();//(input bit pclk,input bit rst);
wire pclk;
wire [31:0] paddr;
wire psel;
wire penable;
wire pwrite;
wire [31:0] prdata;
wire [31:0] pwdata;
wire rst;
logic status;
clocking mck @(posedge pclk);
output #2 paddr, psel, penable, pwrite, pwdata ;
input #2 prdata, rst ;
sequence at_posedge;
1;
endsequence : at_posedge
endclocking: mck
上面sequence块是干什么用的? |
|