S
Suman Nandan
Guest
Hi,
In the following case, 'clk' and 'aclr2' can both (or combined)
act as the clock. Is it synthesisable?
If yes, what should be the hardware generated? Can anyone tell me what
is the
behavior of Design Compiler regarding this ?
Thanks,
module top (clk, aclr, aclr2, ena, data, q);
input clk, aclr, aclr2, ena, data;
output q;
reg q;
always @ (posedge clk or posedge aclr or posedge aclr2)
begin
if ((aclr) == 1)
q <= 1'b0;
else if (ena)
q <= data;
end
endmodule
In the following case, 'clk' and 'aclr2' can both (or combined)
act as the clock. Is it synthesisable?
If yes, what should be the hardware generated? Can anyone tell me what
is the
behavior of Design Compiler regarding this ?
Thanks,
module top (clk, aclr, aclr2, ena, data, q);
input clk, aclr, aclr2, ena, data;
output q;
reg q;
always @ (posedge clk or posedge aclr or posedge aclr2)
begin
if ((aclr) == 1)
q <= 1'b0;
else if (ena)
q <= data;
end
endmodule