From: Luke Kenneth Casson Leighton Date: Mon, 23 Jul 2018 13:14:37 +0000 (+0100) Subject: fix i2c syntax error X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b204112136d9457fa593cf1b8c56360821155e25;p=shakti-peripherals.git fix i2c syntax error --- diff --git a/src/peripherals/i2c/I2C_top.bsv b/src/peripherals/i2c/I2C_top.bsv index cd8bc37..0229502 100644 --- a/src/peripherals/i2c/I2C_top.bsv +++ b/src/peripherals/i2c/I2C_top.bsv @@ -896,7 +896,8 @@ Interrupt Generation And Documentation 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; @@ -910,7 +911,8 @@ Interrupt Generation And Documentation 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;