projects
/
shakti-peripherals.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix i2c syntax error
[shakti-peripherals.git]
/
src
/
peripherals
/
i2c
/
I2C_top.bsv
diff --git
a/src/peripherals/i2c/I2C_top.bsv
b/src/peripherals/i2c/I2C_top.bsv
index cd8bc37459a6cb62c005de9bc7e729a72ac63db0..0229502bdaa523e89bce12888a7c25719605aa39 100644
(file)
--- 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;
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 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;
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;
interface sda_in = interface Put
method Action put(Bit#(1) in);
val_SDA_in <= in;