cafukarfoo
Full Member level 3
Hello everyone,
I need your advice here.
I have a input pin which is a data pin. But some of logic depend on the
rising/falling of this input pin.
For example,
module test ( A, B, C, D, clk);
input A;
input C;
output B;
output D;
input clk;
always @(posedge A) begin
B <= C;
end
always @(posedge clk) begin
D <= A;
end
In this example, flop B created with the clk pin attached to the A pin.
So in the constraint file, how should i constraint A?
Thanks in advance for your help.
I need your advice here.
I have a input pin which is a data pin. But some of logic depend on the
rising/falling of this input pin.
For example,
module test ( A, B, C, D, clk);
input A;
input C;
output B;
output D;
input clk;
always @(posedge A) begin
B <= C;
end
always @(posedge clk) begin
D <= A;
end
In this example, flop B created with the clk pin attached to the A pin.
So in the constraint file, how should i constraint A?
Thanks in advance for your help.