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 agodo you mean so for example:
dataavailable = IORD_IME_AVALON_XY_DETECTOR_CONTROL(XY_DETECTOR_BASE, 1) if(dataavailable) { coordinate= IORD_IME_AVALON_XY_DETECTOR_DATA(XY_DETECTOR_BASE, 0) } and the reg.h: # define IOADDR_IME_AVALON_XY_DETECTOR_DATA(base, offset) __IO_CALC_ADDRESS_NATIVE(base, 0) # define IOWR_IME_AVALON_XY_DETECTOR_DATA(base, offset, data) IOWR(base, 0, data) # define IORD_IME_AVALON_XY_DETECTOR_DATA(base, offset) IORD(base, 0) # define IOADDR_IME_AVALON_XY_DETECTOR_CONTROL(base, offset) __IO_CALC_ADDRESS_NATIVE(base, 1) # define IOWR_IME_AVALON_XY_DETECTOR_CONTROL(base, offset, data) IOWR(base, 1, data) # define IORD_IME_AVALON_XY_DETECTOR_CONTROL(base, offset) IORD(base, 1) . . . here MSK and any OFST . . . Antonio