Hi ,
In layered protocol such as USB I have seen config_db being used by phy layer to pass information to the protocol layer for further processing .
A certain thread in protocol Monitor uses wait_modified so that as soon phy deserializes data it can send it to protocol layer .
My question is couldn’t TLM be used in this scenario ?
I understand that TLM can be unidirectional as well as bidirectional whereas config_db is unidirectional . But TLM unidirectional put could be replaced with config_db ( Assuming the consumer component is never overridden via factory ) right ? TLM get is where I feel config_db can’t be replaced with config_db .
Any performance wise preference between the 2 ?
Thanks .