Hi,
I'm a complete noob with FPGAs. I wanted to learn how to use them and decided to just jump in, so I got the DE0-Nano and have programmed it with several tutorials. I've even gotten it to drive a 16x32 RGB LED matrix from AdaFruit (which is pretty cool). I've tinkered around by modifying other people's VHDL and have done a few very simple VHDL programs from scratch by hooking the key buttons to the LEDs (yeah, baby steps). Now it's time to graduate to something more complex. I've got the LED matrix app and an accelerometer demo that both work fine individually. I want to eventually drive the LED matrix with the accelerometers but for now I'll settle for just instantiating the 2 independent apps at the same time. But when I do this, it appears that the SPI interface to the accel chip doesn't work (the on-board LEDs don't change when I tilt the board). I'm struggling to understand how the 2 apps could interfere with each other but I'm a bit out of my depth here (understatement). Here's what I understand are the major components:Link Copied
The cyclone IV has multiple PLLs but I have a vague suspicion that both of your codes are trying to configure the same PLL.
--- Quote Start --- The cyclone IV has multiple PLLs but I have a vague suspicion that both of your codes are trying to configure the same PLL. --- Quote End --- That sounds like a good lead. How would I even specify which PLL to use? As you can imagine, the JTAG interface and SPI PLL components were not written by me but I'm getting up to speed reading the Verilog and VHDL. Thanks.
For more complete information about compiler optimizations, see our Optimization Notice.