6 (*always_ready,always_enabled*)
7 interface Ifc_sync#(type a);
11 module mksyncconnection#(Clock putclock, Reset putreset,
12 Clock getclock, Reset getreset)(Ifc_sync#(a))
13 provisos(Bits#(a, a__));
14 CrossingReg#(a) null_wire<- mkNullCrossingReg(getclock,?,
17 // ReadOnly#(Bit#(a)) null_wire <- mkNullCrossingWire(getclock,
18 // from_put, clocked_by getclock,
19 // reset_by getreset);
20 interface put = interface Put
21 method Action put(a in);
25 interface get = interface Get
26 method ActionValue#(a) get();
27 return null_wire.crossed;