Interface Driver

All Known Implementing Classes:
DriverBase, EepromDriver

public interface Driver
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the unique ID for this driver instance.
    void
    Every time the core is reset, this method is called.
    void
    onTick​(long currentTicksCount)
    After every instruction simulation, this method is called.
  • Method Details

    • getId

      String getId()

      Returns the unique ID for this driver instance.

      This ID is defined in the CoreDescriptor data file's "simulator" section.

      Returns:
    • onReset

      void onReset()
      Every time the core is reset, this method is called. Default values for I/O register is normal set by the core itself but may be set here.
    • onTick

      void onTick(long currentTicksCount)
      After every instruction simulation, this method is called.
      Parameters:
      currentTicksCount -