chc1625
Newbie level 4
Hi,all
I'm a newbie about formality. Now I use formality and get a fail. I want to know how to debug and modify the RTL to pass the LEC.
Here is the report:
"1 Failing compare point (1 matched, 0 unmatched):
Ref DFF ref:/WORK/fft/tw_0_c_reg17
Impl DFF0X impl:/WORK/fft/tw_0_c_reg17 "
in the RTL, I define this:
.....
reg signed [17:0] tw_0_c;
wire [35:0] tw0;
.....
always@(posedge sys_clk) begin
if(enable) begin
tw_0_c <= #1 $signed(tw0[35:18]);
end
end
I wonder what might cause the formality fail? Should I modify the RTL or netlist to pass the LEC?
Thanks very much!
I'm a newbie about formality. Now I use formality and get a fail. I want to know how to debug and modify the RTL to pass the LEC.
Here is the report:
"1 Failing compare point (1 matched, 0 unmatched):
Ref DFF ref:/WORK/fft/tw_0_c_reg17
Impl DFF0X impl:/WORK/fft/tw_0_c_reg17 "
in the RTL, I define this:
.....
reg signed [17:0] tw_0_c;
wire [35:0] tw0;
.....
always@(posedge sys_clk) begin
if(enable) begin
tw_0_c <= #1 $signed(tw0[35:18]);
end
end
I wonder what might cause the formality fail? Should I modify the RTL or netlist to pass the LEC?
Thanks very much!