asslowashell
Newbie level 2
Hello! I am new here, and pretty new to FPGA design in general as I am primarily a software developer -- this is my early foray into FPGA hardware (I've done plenty of uC stuff) and I apologize in advance for stupid questions.
I am attempting to capture a Gameboy's LCD panel output to USB as an exercise prior to more and more complicated panels. The LCD panel is essentially driven with two data pins for the four shades of gray and a pixel clock which is a gated clock output based on the CPU clock of the Gameboy. I also use the VSYNC and HSYNC signals but they are irrelevant for this problem.
I need to turn this pixel clock and CPU clock into a free-running FIFO clock with FIFO write enable. The FIFO clock will be just directly based on the CPU clock; however the write enable I need which is based on if the pixel clock is toggling is the tricky part. I am trying to interface the LCD panel to a Xilinx IP Core FIFO. I already have the piece on the other side that reads from this FIFO and talks to an FX2 USB chip done and tested -- Just having problems with the LCD side of it!
I would greatly appreciate a push in the right direction. I could / probably am approaching this all wrong.
I am attempting to capture a Gameboy's LCD panel output to USB as an exercise prior to more and more complicated panels. The LCD panel is essentially driven with two data pins for the four shades of gray and a pixel clock which is a gated clock output based on the CPU clock of the Gameboy. I also use the VSYNC and HSYNC signals but they are irrelevant for this problem.
I need to turn this pixel clock and CPU clock into a free-running FIFO clock with FIFO write enable. The FIFO clock will be just directly based on the CPU clock; however the write enable I need which is based on if the pixel clock is toggling is the tricky part. I am trying to interface the LCD panel to a Xilinx IP Core FIFO. I already have the piece on the other side that reads from this FIFO and talks to an FX2 USB chip done and tested -- Just having problems with the LCD side of it!
I would greatly appreciate a push in the right direction. I could / probably am approaching this all wrong.