Replies: 2 comments 3 replies
-
@klingaard or @kevin-heuer Do you have ideas about this limitation? |
Beta Was this translation helpful? Give feedback.
-
Oooohhhh boy, what are you guys doing? 😆 The original author(s) of the SyncPort intended it to be used with sparta::Bus which, in real HW, doesn't allow you to drive more than 1 data packet on the same wires per cycle. If this happens in the model, then the model is busted, hence the assert. I'm not sure what your use case is here, but if you have the same port driving multiple data to be delivered on the same cycle, I would guess you're looking to reduce modeling maintenance by reusing the same code. I suggest 2 ports, each bolted to the same callback in that case. |
Beta Was this translation helpful? Give feedback.
-
AFAIK, we can send multiple payloads to DataPort per cycle.
But we can't do that with SyncPort due to the assertion in ports/SyncPort.hpp#L1011-L1016.
I am wondering the reason why SyncPort has this limitation.
Is this because we want to simplify the implementation of SyncPort or do we have other concerns?
Beta Was this translation helpful? Give feedback.
All reactions