Module Sim.IoSource

Sourcetype port = int
Sourcetype packet = string
Sourcetype rx = port * packet
Sourcetype tx = port * packet
Sourcetype expect = tx * bool
Sourceval string_of_rx : rx -> string
Sourceval string_of_tx : tx -> string
Sourceval compare_packet : exact:bool -> packet -> packet -> bool
Sourceval compare_tx : exact:bool -> tx -> tx -> bool