马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
module count_test;
// Inputs
reg clk;
reg dir;
reg reset;
// Outputs
wire [7:0]q;
// Instantiate the Unit Under Test (UUT)
counter8 uut(
.clk(clk),
.dir(dir),
.reset(reset),
.q(q)
);
initial
begin
// Initialize Inputs
clk = 0;
dir = 1;
reset = 1;
#10 reset=0;
#160 dir=0;
#400 $stop;
end
always #5 clk=~clk;
initial
begin
$sdf_annotate("/home/zhuow/nc/counter8.sdf",ex1);
end
endmodule
中进行elaborator时报错
ncelab: *E,CUVHNF (./count_test.v,59|48): Hierarchical name component lookup failed at 'ex1'.
怎么解决啊 谢谢大神啦 |