sylak
Junior Member

Offline
Posts: 24
Silicon valley
|
This is mainly directed at Ken but I could use anybody's suggestions.
Ken,
You had asked me to use the 'transition ' statement for producing the required pulse. I used these statements
else if (state == `same) begin V(up) <+ transition(vlogic_high, tdel, trise, tfall); V(dn) <+ transition(vlogic_high, tdel, trise, tfall); V(upb) <+ transition(vlogic_low, tdel, trise, tfall); V(dnb) <+ transition(vlogic_low, tdel, trise, tfall); V(up) <+ transition(vlogic_low, tdel1, trise, tfall); V(dn) <+ transition(vlogic_low, tdel1, trise, tfall); V(upb) <+ transition(vlogic_high, tdel1, trise, tfall); V(dnb) <+ transition(vlogic_high, tdel1, trise, tfall); end where tdel1= tdel+ min_pulse_width(say 20ps+50ps) the rise and fall times are 1ps and the simualtions are run at 250Mhz input clk with trise and tfall at 20ps for both the local _osc clk and reference_clk.
My results are totally bad..even the previously obtained behavioral code doesnt seem right(initally I just had the first 4 'transisiton' statements in state 'same')
Can you tell me if this is a wrong way to get the narrow reset pulse?.
Also can you tell me what 'ttol' in 'transition' does w.r.t my code. I get spikes for the output. Is this becoz this parameter was not set?.
Has someone done this state machine based PFD with narrow reset pulses?
Thanks in advance
sylak
|