11-24-2008 04:47 AM
I have a spartan 3E FPGA target that i am currently using for my senior design project. I'm trying to display some images through the VGA port on the board but i am getting timing issues with the board.
First of all, the VGA examples that came with the board driver do NOT work. My monitor displays an out of range error and displays that the frequency is twice the range that it should be. Changing the period on the timed loops makes no difference, regardless of how ridiculous they are. When i create a new timed loop, it doesn't allow me specify the period. In fact the only inputs to the timed loop is the clock source and error in.
Is this a bug in the software and how can if fix this issue? (The issue is displaying anything via VGA)
Tutu
PS. the ONLY things installed are
LabVIEW 8.5.1 + LV FPGA + Xilinx XUP drivers
The screen shots attached shows two timed loops... the one above is a new timed loop created from the block pallete while the one below is what was in the example. Notice how the newly created one cannot be expanded to allow more inputs and also how the old one has so many (including processor and other inputs that would be more appropriate for an RT target).
11-24-2008 08:10 AM
11-24-2008 10:36 AM
The board only has one onboard 50MHz clock and i am trying to divide it to achieve a 25Mhz timed loop. It does have pins for an external clock but its crunch time on the project and delivery will take to long. The clock on the FPGA (in the project) doesn't look like it can be changed.
I was trying to do a 50Mhz timed sequence in order to achieve the desired frequency but the timed sequence is "not supported" on that target.
Still searching ideas..
Thanks
11-24-2008 11:10 AM
11-24-2008 11:24 AM
You could use the Loop Timer function to set the loop time. Setting the counter units to two (2) ticks should slow the loop down by a factor of two.
The function is in the timing palette.
11-24-2008 03:51 PM
@Wiebe
Target doesn't support derived clocks, but the case structure seemed to fixed it. A rather crude method but fixed it good. I am testing with 2 LCDs and i think i prefer them because they actually tell me the frequencies even when it doesn't display so i know what to tweak. The example code for VGA on the 8.5 & 8.6 beta drivers do NOT run out of the box without modifying the timed loop.
@VADave
I tried that already but i think the some timing or the execution of code becomes undeterministic. Tried the timed loop, didn't work. Then tried the wait, that didn't work. In fact i got worse results because the monitors could not even identify any frequencies and would just fail to display. And i did put them in Flat Sequence Structures.
Thanks all
11-25-2008 04:10 AM