Hi all,
I have a design like below,
Let us say, the design contains
CLK1, CLK2 - input clocks
D - data input
Q - data output
SEL - mux selection
if the design contains two sub modules say U1 and U2, for easier under standing I am instantiating the instance like below
DUT U1 (.D(D), .CLK(CLK1), .Q(Q1));
DUT U2 (.D(D), .CLK(CLK2), .Q(Q2));
assign Q = (SEL) ? Q1 : Q2;
Please let me know Which reference clock I can used for set_input_delay constraints for D and SEL input ports?
Also which reference clock I can used for set_output_delay constraints for Q output port?
CLK1 and CLK2 are out of phase and can be same or different freq
I am using the SDC file with set_input_delay delay_value -clock clock_ref [–max] [–min] [–clock_fall] input_list for set input delay and set_output_delay delay_value -clock clock_ref [–max] [–min] [–clock_fall] output_list for set output delay
NOTE : this is not the actual design, actual design is some what complex, that is why I try to explain the scenario by taking simple examples.I am not following the code syntax highlighting, because this is not a complete code. I am using the verilog for coding.