初学nc遇到的小问题 求大神求解
时间:10-02
整理:3721RD
点击:
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'.
怎么解决啊 谢谢大神啦
// 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'.
怎么解决啊 谢谢大神啦
提示得很清楚了,没有EX1这个component,应该是counter8
恩 好 谢谢你啦