question regarding P1v clocks
rjo__
Posts: 2,114
I have been sequentially building and then destroying my memory control unit for the DE2-115. So far I have dual-ported ram (M9K) (DPR) working like a top, with a projected rate of 800 MB/sec reads and writes. I am stuck at about 35MSPS for SRAM, and I haven't scratched SDRAM yet:)
I have found that I can drive the the DPR with a clock frequency of 800 MHz but not 1000 MHz. There is a very regular jitter at 1000MHz...not terrible... but enough to corrupt the reads slightly... so it is a regular irregularity.
In the compilation report, when I chose "clock" I get a report of my clocks and those being generated by the P1V.
prop:inst1|dig:core|cog:coggen[0].cog_|cog_ctr:cog_ctra|ctr[23] for each cog shows 1000MHz...
I think that is a problem...
?
I don't have the exact skills required to fix this in less than a fortnight and I am heavy into other P1V stuff at the moments... but we have folks here for which this is probably a no-brainer... why not drop these clocks back to 800MHz and then get rid of the 1:2 clock reduction in the hub?
I have found that I can drive the the DPR with a clock frequency of 800 MHz but not 1000 MHz. There is a very regular jitter at 1000MHz...not terrible... but enough to corrupt the reads slightly... so it is a regular irregularity.
In the compilation report, when I chose "clock" I get a report of my clocks and those being generated by the P1V.
prop:inst1|dig:core|cog:coggen[0].cog_|cog_ctr:cog_ctra|ctr[23] for each cog shows 1000MHz...
I think that is a problem...
?
I don't have the exact skills required to fix this in less than a fortnight and I am heavy into other P1V stuff at the moments... but we have folks here for which this is probably a no-brainer... why not drop these clocks back to 800MHz and then get rid of the 1:2 clock reduction in the hub?
Comments
To test the SRAM and m9k DPRam run dprsramtest.spin.
This 4Cog implementation also improves Spin performance by about 9 percent.
Proof of this can be seen by running P1V_4cogtest.spin
Thanks
Rich
BUT... if I make even the slightest change ... it breaks... so it might not be as useful as I originally thought.
The point of this thread is that Chip has stated that if we could get rid of the clock reduction... which reduction is used because of jitter ... we could maybe get a P1v operating around 200MHz... and the jitter is coming from the 1000 MHz clock ... then it would make sense to replace the 1000 MHz clock... I don't know how to do this
but I would suggest 800Mhz... seems to be a fine clock:)
It is funny that Quartus will let you create a PLL at 1000MHz if in reality it isn't physically possible... and then back to the issue of the clock division in the P1V... Chip is definitely using a 1000MHz clock according to Quartus... So...?
The PLL Value is less important than the Clock outputs
Often FPGA and MCU have quite high PLLs (even up to 2GHz) as the higher figures allow printed inductors for better analog PLL and smaller die area. Flipflops to divide from there are cheap.
I've seen parts with multiple VCOs to cover a 2:1 span (inductor + varicap VCOs )
That GHz region clock never travels far, and does not drive any clock trees directly.