Forum Discussion
Altera_Forum
Honored Contributor
16 years agoVHDL-Code with Avalon Bus Interface-/ and VHDL-Video-System-Interface-Ports
Hello I provided the following ENTITY. Can I actually provide a IP, which some haven connectivity with the Avalon bus, as well as haven as down descriptive for the VHDL_Detector, which is not c...
Altera_Forum
Honored Contributor
16 years agohere is the code in NiosII:
# include "NiosII_Camera_Tracking.h" int main(void) { alt_u32 daten= 0xF0F0F0F0; IOWR_IME_AVALON_XY_DETECTOR_DATA(XY_DETECTOR_BASE, daten); printf("Der gelesene Wert ist: %x\n", IORD_IME_AVALON_XY_DETECTOR_DATA(XY_DETECTOR_BASE)); printf("Der gelesene Wert ist: %x\n", IORD_IME_AVALON_XY_DETECTOR_CONTROL(XY_DETECTOR_BASE)); printf("Hello World\n"); }