Replies: 1 comment 1 reply
-
Having explicit conversion functions, e.g. avalonMMtoAxi4Lite has the following pros:
Cons:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've ran into the situation where I have to implement components that boil down to converting between different memorymapped protocols that will be named
protocolAToProtocolB
and I wonder if we can implement this with typeclass (or other abstraction) instead.i.e. I'd like to have maybe:
Where we can make instances like for example:
You have to have some restricting laws for such a typeclass otherwise it could do anything. For example that the data produced by
a
can be recovered fromb
.I've also noticed that probably the application space is rather limited due to many protocols not adhering to the same format. Because there are protocols for different applications(Streaming vs memory mapped) or the fact that Axi4 stream is defined using multiple protocols / channels.
I'm curious to hear if other people have thoughts on this.
Beta Was this translation helpful? Give feedback.
All reactions