Forum Discussion
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- This really depends on what sort of signal! Are you looking at treating the FPGA as a SPI slave, using SPI for communication? CAN? I2C? UART? Or a generic data/address bus using a custom driver and GPIO? Maybe even reusing a QSPI interface and treating the FPGA as memory? In short, if you're just talking about a single line, then you want to register the signal in the FPGA once you get it with some sort of if(rising_edge(clk)) statement, unless you're trying to do something special. Details would really help. --- Quote End --- Thank you for your replying We decided to use SPI or I2C. The thing I wanna do for the moment is really simple, CPU send a signal, then FPGA received that signal and light up a LED. But still, how could I checked in quartus if I received correctly the signal from CPU. I've never communicate FPGA and CPU before thanks a lot