public class NOCMaster extends NOCClient implements Serializable
| Constructor and Description |
|---|
NOCMaster()
Creates an empty NOC master client.
|
NOCMaster(org.json.JSONObject json)
Creates a NOC master client from a JSON client description.
|
NOCMaster(NOCMaster nm)
Creates a copy of an existing NOC master client.
|
| Modifier and Type | Method and Description |
|---|---|
NOCConnection |
getConnectionTo(String slaveName)
Gets the corresponding connection based on slave client name.
|
TrafficClass |
getReadTC()
Gets the traffic class for master reads.
|
TrafficClass |
getWriteTC()
Gets the traffic class for master writes.
|
void |
setReadTC(TrafficClass readTC)
Sets the traffic class for master reads.
|
void |
setWriteTC(TrafficClass writeTC)
Sets the traffic class for master writes.
|
org.json.JSONObject |
toJSONObject()
Converts this master client to its JSON representation.
|
addConnection, addExternalConnection, checkUnsupportedFields, getAxiDataWidth, getComponentType, getConnections, getDestID, getExternalConnections, getLocation, getName, getProtocol, getSimMetaData, hasParityAddr, hasParityData, isDDRC, isFabricClient, isVirtual, removeConnection, setAxiDataWidth, setComponentType, setDestID, setLocation, setName, setParityAddr, setParityData, setProtocol, setVirtual, toStringpublic NOCMaster()
public NOCMaster(NOCMaster nm)
nm - The NOC master client to copy.public NOCMaster(org.json.JSONObject json)
json - The JSON client description.public NOCConnection getConnectionTo(String slaveName)
slaveName - The name of the slave client that connects to this master.public org.json.JSONObject toJSONObject()
toJSONObject in class NOCClientpublic TrafficClass getWriteTC()
public TrafficClass getReadTC()
public void setWriteTC(TrafficClass writeTC)
writeTC - The write traffic class to set.public void setReadTC(TrafficClass readTC)
readTC - The read traffic class to set.