interface scl_out = interface Get
method ActionValue#(Bit#(1)) get;
return val_SCL;
- endmethod
+ endmethod
+ endinterface;
interface scl_in = interface Put
method Action put(Bit#(1) in);
val_SCL_in <= in;
interface sda_out = interface Get
method ActionValue#(Bit#(1)) get;
return val_SDA;
- endmethod
+ endmethod
+ endinterface;
interface sda_in = interface Put
method Action put(Bit#(1) in);
val_SDA_in <= in;