Timing Constraint for modules
Hello,
I designed some basic modules I reuse in all my project. For instance, I have a synchronization module I called "resync_module" which is a 2 flip-flop synchronizer that I use when I need to use 1 signal from one clock domain to another clock domain.
My question is about timing constraint, SDC file and probably TCL file.
I want to specify some constraints on this "resync_module". First I would like to set a false path to any signal going into first flip-flop, and then a max delay between first flip-flop to second equal to 80% of clock period.
BUT, I do not want to manually specify this constraints to all instances of this modules in my project. I would like to write a SDC (and TCL) file that will search for all instance of my module named "resync_module" and then create for each instance the correct constraint to apply (because for each instance, clock frequency can be different so constraint must also be different).
Can someone help me to write this functionnality for quartus ?
Thanks a lot.
Sebastien