D
DW
Guest
Are the following code extracts functionally equivalent and would the
synthesizer produce similar results? If not, why?
Example 1
=======
input a;
input b;
reg c;
wire a_and_b;
assign a_and_b = a & b;
always @(posedge clk)
c <= a_and_b;
Example 2
=======
input a;
input b;
reg c;
always @(posedge clk)
c <= a & b;
Thanks for reading...
DW
synthesizer produce similar results? If not, why?
Example 1
=======
input a;
input b;
reg c;
wire a_and_b;
assign a_and_b = a & b;
always @(posedge clk)
c <= a_and_b;
Example 2
=======
input a;
input b;
reg c;
always @(posedge clk)
c <= a & b;
Thanks for reading...
DW