vcIntegerSignalMap

vcIntegerSignalMap allows you to map Integer signals to ports in a continuous IO space.

Inherits: vcBehaviour

Properties

Name Type Access Description
Listeners List of vcBehaviour RW Defines a list of behaviors using the signal map.
PortCount Integer RW Defines the amount of ports in signal map.

Methods

Name Return Type Parameters Description
getPortName String Integer index Returns the name of a port at a given index in map.
input Integer Integer index Returns the value of a port at a given index in map.
output None Integer index, Integer value Sets the value of a port at a given index to a given value in map.
setPortName None Integer index, String name Sets the name of a port at a given index to a given name in map.

Events

Name Parameters Description
OnSignalTrigger vcIntegerSignalMap signal_map, Integer port Triggered when the value of a signal mapped to a port has a new value.