Forum Discussion
Altera_Forum
Honored Contributor
11 years agoYes, you can do it that way (I have done the same, with the UART and the SPI, and others). You can build entire systems with Qsys and never use a NIOS or other processor.
You will basically end up writing an Avalon-MM Master module, and then have a controlling state machine: initialize the UART control register, wait for IRQ ->read from RX data register; maybe poll the UART status register, etc. Whatever your application needs. Here is the Altera supplied templates, which are in Verilog not VHDL as you requested: http://www.altera.com/support/examples/nios2/exm-avalon-mm.html