dotnetdev
Newbie level 1
For wires under component ports, there is option to specify driver. This is the description of driver from the IPXACT documentation
From IPXACT:
drivers (optional) defines an unbounded list of driver elements, defining drivers that may be attached to this port if no other object is connected to this port. This allows the IP to define the default state of unconnected inputs. A wire style port may define a driver element for a port only if the direction of the port is in or inout. See also 6.12.10.
The driver element contains one of three different types of drivers (defaultValue, clockDriver, or singleShotDriver) that can be applied to a wire port of a component. This is the documentation for defaultValue from IPXACT documentation
From IPXACT:
defaultValue (type: unsignedBitVectorExpression (see C.3.6)) specifies a static logic value for this port. The defaultValue shall be defined to have a bit width that is compatible with the
range of the port being driven. The value shall be applied to this port when it is left unconnected, independent of being part of a busInterface. This value shall be over-ridden by the default value from the abstraction definition if the interface is connected.
I am trying to figure out if the defaultValue tag is tied to default value specified in VHDL. This tag can mean one of the two -
1. HDL has a default value and this tag reflects the value
2. This tag is a direction to the tool. If the port is unconnected, the tool should drive the port with this value.
Does anyone know how to interpret the defaultValue tag?
From IPXACT:
drivers (optional) defines an unbounded list of driver elements, defining drivers that may be attached to this port if no other object is connected to this port. This allows the IP to define the default state of unconnected inputs. A wire style port may define a driver element for a port only if the direction of the port is in or inout. See also 6.12.10.
The driver element contains one of three different types of drivers (defaultValue, clockDriver, or singleShotDriver) that can be applied to a wire port of a component. This is the documentation for defaultValue from IPXACT documentation
From IPXACT:
defaultValue (type: unsignedBitVectorExpression (see C.3.6)) specifies a static logic value for this port. The defaultValue shall be defined to have a bit width that is compatible with the
range of the port being driven. The value shall be applied to this port when it is left unconnected, independent of being part of a busInterface. This value shall be over-ridden by the default value from the abstraction definition if the interface is connected.
I am trying to figure out if the defaultValue tag is tied to default value specified in VHDL. This tag can mean one of the two -
1. HDL has a default value and this tag reflects the value
2. This tag is a direction to the tool. If the port is unconnected, the tool should drive the port with this value.
Does anyone know how to interpret the defaultValue tag?