Class AXIInterface

    • Field Detail

      • base

        int base
    • Constructor Detail

      • AXIInterface

        public AXIInterface()
    • Method Detail

      • getMemoryLength

        public int getMemoryLength()
        Description copied from interface: FlinkBusInterface
        A flink device occupies a contiguous block in the memory. This method returns the size of the memory block.
        Specified by:
        getMemoryLength in interface FlinkBusInterface
        Returns:
        Memory size in byte
      • read

        public int read​(int address)
        Description copied from interface: FlinkBusInterface
        Base method to read one register from a flink device.
        Specified by:
        read in interface FlinkBusInterface
        Parameters:
        address - of the register which should be read
        Returns:
        content of the register
      • write

        public void write​(int address,
                          int data)
        Description copied from interface: FlinkBusInterface
        Base method to write one register of a flink device.
        Specified by:
        write in interface FlinkBusInterface
        Parameters:
        address - of the register which should be written
        data - to write
      • hasInfoDev

        public boolean hasInfoDev()
        Description copied from interface: FlinkBusInterface
        A flink device usually incorporates an info device. However, this is not a precondition.
        Specified by:
        hasInfoDev in interface FlinkBusInterface
        Returns:
        True if device has Info device