Verilog implementation of Slave