From b204112136d9457fa593cf1b8c56360821155e25 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 23 Jul 2018 14:14:37 +0100 Subject: [PATCH] fix i2c syntax error --- src/peripherals/i2c/I2C_top.bsv | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; -- 2.30.2