Altera_Forum
Honored Contributor
13 years agoUpsample/Downsample timing constraining
Dear All (specially KaZ and Rysc),
I have designed a multi-rate dsp system that works well in RTL Sims. Now I'm in the process of making it to work after synthesis. The application is similar to a time based radar system. I have already constrained all the system clocks, inputs and outputs but timing is still quite off (about -100ns slack) as reported by TQ. I am now constraining multi-cycle paths due to registers that delay control signals. The majority of the system runs at 20Mhz and there is an upsample->RAM->FIR_filter->downsample data path running at 60Mhz. My question is: How do I constrain the clocks at the upsample (3X up) and downsample (3x down) operations? I am currently using generic cross clock constraints but not sure if I am doing it right. Both clocks are genereted by a PLL. A sample sdc file follows.
# clk=20Mhz | LAUNCH _|─----|_____|-----
# clk=60Mhz | LATCH _|-|_|-|_|-|_|-|_|-|_|-|_
# UPSAMPLE
set_multicycle_path -from }] -to }] -setup -end 4
set_multicycle_path -from }] -to }] -hold -end 3
# DOWNSAMPLE
set_multicycle_path -from }] -to }] -setup -start 4
set_multicycle_path -from }] -to }] -hold -start 3 Thanks much for any help!