A
Andrew Holme
Guest
Johnson Lee wrote:
Test 1: PC LPT-->FPGA-->LCD. FAILS.
Test 2: PC LPT-->CPLD-->LCD. FAILS.
Test 3: PC LPT-->LCD. No CPLD. No FPGA. Works OK.
Test 4: CPLD-->LCD. No PC. Works OK
Test 5: FPGA-->LCD. No PC. Works OK.
Is this correct?
Did you check _all_ outputs using an oscilloscope in tests 1+2?
Was the LCD connected to the same outputs in 1+2 as it was in 4+5?
Are you using the Altera Quartus development environment?
Could you post sample Quartus archive (.QAR) files?
To summarise :-Hi,
I am new to FPGA design.
I am now need to make a switch to control the signals from PC LPT to a
character LCD module.
Right now I am using Altera UP1 demo board for verfication which has
1 MAX CPLD and 1 FLEX fpga. And I write a simple code just like
D_out <= D_in
using VHDL, like a wiring from input signals to outputs.
I check the LPT signals by connecting to LCD module directly and it
shows all the information I want. But After I connecting the FPGA
interfance, it never works.
I checked the pins again and again, but no use. Then I changed the
device from MAX to FLEX, but it didn't work, neither....
I also have another code which is used to initial LCD module and
show some words, after I programed, both devices work fine.
I don't know what's wrong inside and I even change the code by using
schmatics, still not working.
Is there anything I can do to improve this ?
Test 1: PC LPT-->FPGA-->LCD. FAILS.
Test 2: PC LPT-->CPLD-->LCD. FAILS.
Test 3: PC LPT-->LCD. No CPLD. No FPGA. Works OK.
Test 4: CPLD-->LCD. No PC. Works OK
Test 5: FPGA-->LCD. No PC. Works OK.
Is this correct?
Did you check _all_ outputs using an oscilloscope in tests 1+2?
Was the LCD connected to the same outputs in 1+2 as it was in 4+5?
Are you using the Altera Quartus development environment?
Could you post sample Quartus archive (.QAR) files?