I started to use method/event port to sync e modules. I find some problems cadence implementation of the multiple binding of those ports.
We have a list of agent client. Each client has a monitor that reflects out event let say request.
This event is reflected by event port (out) , to this event connected the bfm of each client (in) +
There is in some other eVC arbiter that connected to the whole client events.
Now let’s test a scenario:
One client agent monitored a request and reflects it out through the port,
Expected: the client BFM and the arbiter wake up.
Actually: all the clients bfm wake up + the arbiter.
I added a little presentation that demonstrate the problem
I would like to discuss with you if this implementation of the multiple binding is a bug or my concept of using those ports are wrong
Ronen,Is the eVC arbiter connected to the clients' events using an event port as well? If that's the case, then you are probably connecting all the event ports (monitor, bfm and arbiter ports) in the same port bound set. Take a look at the 'e' Language Reference, section 6.2.2 "Multiple Bindings" and you will see that the topology of a multiple binding is a star topology, with all ports connected via a common "channel". This means that for every event emitted, all the input ports in the bound set of the same type will get the event. You can check for that by passing the "trace bind" command to specman.This looks like one of the port limitations (please correct me if i'm wrong, i'm not 100% clear from the definition):Support for point-to-point connections is between ports only, in other words, each port can be connected to only one other port.A quick workaround would be to create a duplicate port in the monitor and have it emit the request event when the original port does. You can then bind the duplicate port to the arbiter and you will get the desired behavior. If anyone can suggest a better solution, please let us know.Hope that helps!