HOME       UP       PREV       NEXT (Transactional Handshaking in RTL (Synchronous Example))  

Transactional Handshaking

Legacy RTL's (Verilog and VHDL) do not provide synthesis of handshake circuits (but its one of the main innovations in Bluespec).

We'll use the word transactional for interfaces that support flow-control and can span between clock domains (one side may even be asynchronous).

If tools are allowed to retime components, all interfaces between components must be transactional.

Here is some behavioural (non-RTL) code that embodies the above protocol:

  putbyte(char d)
    data = d;
    req = 1;
    req = 0;
  char getbyte()
    char r = data;
    ack = 1;
    ack = 0;
    return r;

26: (C) 2008-11, DJ Greaves, University of Cambridge, Computer Laboratory.