|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
我定义了一组interface,然后在simulation的时候,报出了下面的warning,请教大家这是什么情况?
code:
interface sram_if (input clk);
parameter setup_time = 1;
parameter hold_time = 1;
wire ceb ; // chip select; active low
wire web ; // write enable; active low
wire [8:0] addr ; // write/read address
wire [191:0] wdata ; // write data to SRAM
wire [191:0] rdata ; // read data from SRAM
clocking mst_cb @(posedge clk);
default input #setup_time output #hold_time;
output addr;
output ceb;
output web;
output wdata;
input rdata;
endclocking : mst_cb
clocking slv_cb @(posedge clk);
default input #setup_time output #hold_time;
input addr;
input ceb;
input web;
input wdata;
output rdata;
endclocking : slv_cb
clocking mon_cb @(posedge clk);
default input #setup_time output #hold_time;
input addr;
input ceb;
input web;
input wdata;
input rdata;
endclocking : mon_cb
modport mst (clocking mst_cb);
modport slv (clocking slv_cb);
modport mon (clocking mon_cb);
endinterface : sram_if
slimulation log:
top.u_sram_if.mst_cb unknown scope type 650
top.u_sram_if.slv_cb unknown scope type 650
top.u_sram_if.mon_cb unknown scope type 650
top.u_reg_if.mst_cb unknown scope type 650
top.u_reg_if.slv_cb unknown scope type 650
top.u_reg_if.mon_cb unknown scope type 650
top.u_rgb_in_if.mst_cb unknown scope type 650
top.u_rgb_in_if.slv_cb unknown scope type 650
top.u_rgb_in_if.mon_cb unknown scope type 650
top.u_rgb_out_if.mst_cb unknown scope type 650
top.u_rgb_out_if.slv_cb unknown scope type 650 |
|