Hello,
Im my design I have an asynchr mux with two inputs and one output:
- In1
- In2
- Out
I have FFS on In1 clock, on In2 clock and on the Out clock. If the mux selects In1 clock then there is a datapath from the FFS(In domain) to the FFS(Out) domain. If the mux selects In2 clock then there is a datapath from the FFS(In domain) to the FFS(Out) domain.
How should I constrain this? Now I (try to) group the elements: NET "In1" TNM_NET = FFS(*) "TNM_In1"; #60 MHz NET "In2" TNM_NET = FFS(*) "TNM_In2"; #50 MHz NET "Out" TNM_NET = FFS(*) "TNM_Out"; And I give a period constraint on these three clocks. I also give a from to constraint for In1 => Out and for In2 => Out. To be complete I constrain the length of the path from In1 to out and fro In2 to out. The problem is that the worst case timing constraint is propagated throug the mux, as a consequence my TNM groups are not correct: TNM_In1 = all FFS in the In1 and the out domain. TNM_In2 = all FFS in the In2 domain TNM_Out = empty My from-to constraints don't work because my tnm groups are not correct.
Has anyone had a similar problem?
best regards, Karel D