You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Circuit (B.second C.unbundle .C.unbundle .fmap go .C.bundle .B.second C.bundle)
This needs to happen in every component due to the definition of Fwd/Bwd. We, unfortunately, need to do that as Fwd/Bwd could result in Signals on any domain. If we would instead define:
..we wouldn't have to go through all the unbundling.
I expect almost all implementations could live under Circuit1 with their Circuitcounterparts simply doing fromCircuit1 foo. We should measure before we commit ot this of course.
Edit: This would need changing the plugin too.
The text was updated successfully, but these errors were encountered:
The current implementation of
Circuit
is doing quite a lot of bundling and unbundling. For example, see:clash-protocols/src/Protocols/Df/Simple.hs
Lines 238 to 239 in 1e5be51
This needs to happen in every component due to the definition of
Fwd
/Bwd
. We, unfortunately, need to do that asFwd
/Bwd
could result in Signals on any domain. If we would instead define:..we wouldn't have to go through all the unbundling.
I expect almost all implementations could live under
Circuit1
with theirCircuit
counterparts simply doingfromCircuit1 foo
. We should measure before we commit ot this of course.Edit: This would need changing the plugin too.
The text was updated successfully, but these errors were encountered: