--- Quote Start ---
I started your altera_jtag_to_avalon_mm_tutorial but not finished it yet. For now I have some questions about the de0_nano_sdram tutorial:
- Why is there a PLL with two outputs (c0 and c1) at the same frequency? Isn't it possible to use the same clock for qsys design and for the sdram?
--- Quote End ---
There are two 100MHz clocks; one goes to the FPGA logic, the other goes to the SDRAM device (its an output clock).
If you use one clock, the timing analysis of the SDRAM interface would show that it fails timing. By using two clocks, it is possible to meet timing by adjusting the phase of the clock that goes to the SDRAM. Take a look at TimeQuest once the design is synthesized, and then modify it so that the SDRAM clock inside the design is driven from c0 instead of c1.
--- Quote Start ---
- Why 100MHz? Couldn't we use the 50MHz oscillator directly?
--- Quote End ---
50MHz would have been too easy :)
--- Quote Start ---
- What need is the synchronizer? The reset couldn't be asynchronous?
--- Quote End ---
The Quartus handbook has a discussion on why you should use a reset that asserts asynchronously, yet deasserts synchronously. Cliff Cummings also has some nice documents on resets (Google his name).
--- Quote Start ---
- There's a sld_hub component in the project. What is it? I can't see this component in the verilog code, why?
--- Quote End ---
When you add a JTAG-to-Avalon-MM bridge or a component like SignalTap II an SLD HUB is added to the system.
--- Quote Start ---
And also I wonder why you're not working for Altera but you seem to create good tutorials. You answer many questions on alteraforum. It's really great for beginners (like me), but why? and were do you work? and how do you have so much time to spend for us?
--- Quote End ---
I work for a university, but live in the middle of nowhere. Take a look at these slide presentations (the first few links);
https://www.ovro.caltech.edu/~dwh/correlator/cobra_docs.html I write the tutorials when I am learning how to use the components myself. I figure if I had trouble understanding Altera's documentation, then others will too, so I post the tutorials to help.
When do I get time to write to the forum? When I'm drinking my coffee ... I guess I drink way to much coffee ... :)
Cheers,
Dave