Forum Discussion
Altera_Forum
Honored Contributor
20 years agoDo you use an 8, 16 or 32-bit data bus off-chip?
In any case, I would suggest you use Native (Registered) mode, and connect the SOPC A2 signal to the A0/RS0 on the LCD controller device. "Wasting" a few addresses like this is completely irrelevant. Your code would then do: IORD_8DIRECT(LCD_base,0) IOWR_8DIRECT(LCD_base,0,data8) IORD_8DIRECT(LCD_base,4) IOWR_8DIRECT(LCD_base,4,data8)