Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHSMC interface IO in SOPC Builder
I have a Cyclone III Starter kit, and I want to write some datas in dr_sdram memory from HSMC IO. In SOPC Builder, how do I build this interface HSMC IO( LVDS format) ? Do I use the RapidIO m...
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- int main(void) { int buttons; MenuHeader(); while (1) { buttons = IORD_ALTERA_AVALON_PIO_DATA(BUTTON_PIO_BASE); IOWR_ALTERA_AVALON_PIO_DATA(PIO_BASE,0x08); IOWR_ALTERA_AVALON_PIO_DATA(LED_PIO_BASE,buttons); } return (0); } --- Quote End --- My Nios'code: PIO_BASE is the hsmc output.