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 agoHello,
Thans for the answer. I realize a IP, you see this in the .zip-file below. In the NiosII I have write a simply test-code for send any data via avalon-slave bus and after read the data again. In the example I send the data= 0xF0F0F0F0, but I receive the follow: Der gelesene Wert ist: -252645136 The code in NiosII is: # 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: %i\n", IORD_IME_AVALON_XY_DETECTOR_DATA(XY_DETECTOR_BASE)); } Could you test the IP-Block and say me what is the problem? Thank you...