Forum Discussion
Altera_Forum
Honored Contributor
16 years agoProblem about DA IP
:confused: Hi,friends. I design a DA IP and add it into the SOPC systerm.The DA(AD5547) IP has output pins :wr,ldac, dataout and so on,besides I set a set of general PIOs to send digital signal...
Altera_Forum
Honored Contributor
16 years agoIf you want to read the PIO pins, you need to use the IORD_ALTERA_AVALON_PIO_DATA macro. The one you use will just report you the directions of the pins.
Then for your own component, you should either define your own macros, or directly use IOWR(). Just write the data to the correct address.