Forum Discussion
Altera_Forum
Honored Contributor
16 years agoC code question !! / NIOS II / SPI interface
Hello, I have a question about implementing the spi interface in a FPGA, I already constructed a working CPU with a implementation of the SPI, and added the correct settings in SOIC, however i...
Altera_Forum
Honored Contributor
16 years agoWhy do you define a alt_avalon_spi_command function inside main()?
Just put your code directly inside main() and it will run. I didn't even know this was legal in C...