Guest
I have written verilog code and testbanch for carry look ahead adder. Then compiled in VCS and wrote synthesis script and then in design vision I saw RTL diagram of my circuit. In the input flip-flop's one 8 bit register's one bit is not connected as desired. But other connections defined exactly same are connected perfectly.
always @(posedge clk or negedge rst) begin
if (~rst) begin
am<=8'd0;
bn<=8'd0;
sumv<=8'd0;
cino<=1'b0;
coutv<=1'b0;
end else begin
am<=a;
bn<=b;
cino<=cin;
sumv<=sum;
coutv<=cout;
end
end
always @(posedge clk or negedge rst) begin
if (~rst) begin
am<=8'd0;
bn<=8'd0;
sumv<=8'd0;
cino<=1'b0;
coutv<=1'b0;
end else begin
am<=a;
bn<=b;
cino<=cin;
sumv<=sum;
coutv<=cout;
end
end