
public interface TMdata {

// Sends data to and from a circuit in the FPGA

public int writePacket(
                byte[] b,
                int off,
                int len,
                int port,
                int port_width_bits)
   throws java.io.IOException;

public int readPacket(
                byte[] b,
                int off,
                int len,
                int port,
                int port_width_bits)
   throws java.io.IOException;

}
