has anyone checked the DLL ? to get faster interna...
# mpw-2-silicon
m
has anyone checked the DLL ? to get faster internal clocks?
t
I have run the DLL. Except that up to the MPW-5 redesign, the DLL itself doesn't work in locked mode because the bit in the SPI that enables it can't be set. But I have been able to turn it on in DCO mode (digital-controlled oscillator; that is, free-running with the trim controlled directly from the trim bits in the SPI register and/or memory map) and run up to 40MHz or close to it, which is the point at which the processor fails. There are bits that can't be set in the divider values, too, so there are somewhat limited choices of clock speed, but it does work.
m
if I wanted an internal wb_clk of 300M (not caring if the processor fails) - is that possible from now onwards?
t
No, this DCO is not designed to hit 300MHz. I think I targeted 150MHz and ended up with something a bit lower, like 120.
m
ok
thanks Tim
from @Konrad Beckmann’s script I remembered higher. Looking at the readme there, 190 looks possible https://github.com/kbeckmann/caravel-pll-calculator
t
@Matt Venn: That script is just indicating what the feed-forward and feed-back dividers need to be to lock the oscillator to a specific input frequency. It's all math, though, and doesn't account for the fact that the DCO will not actually hit all those numbers.
k
My code is just theoretical
m
ok
has anyone actually tested it?
t
The code, or the DLL?
m
the DLL
t
I tested the DCO part of the DLL (everything but the feedback mechanism). Testing the actual DLL will have to wait for MPW-6 (I think?), which is I think the first tapeout where the hold issues inherent in the housekeeping block (because the synthesis setup did not treat the SPI SCK line as a clock) were fixed.
m
ok