generic-mmc-card generic_pcie_switch
Simics Reference Manual  /  5 Classes  / 

generic_eth_phy

Description

Represents a generic Ethernet 802.3 PHY with MII and MDIO45 interfaces. It reflects link-status in the MII registers but does not autonegotiate speed with the link. All Ethernet frames are passed through unmodified, except when loopback mode is enabled in the MII registers, then they are immediately returned back to the MAC. The generic_eth_phy can optionally model a maximum transmit bandwidth, see the tx_bandwidth attribute.

Interfaces Implemented

conf_object, log_object, ethernet_cable, ethernet_common, ieee_802_3_phy, ieee_802_3_phy_v2, ieee_802_3_phy_v3, mdio45_phy, mii, mii_management

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.
state-change
Notifier on potential DML state change

Port Objects

bank.mii_regs
generic_eth_phy.mii_regs – The MII management register set as described in IEEE 802.3.
bank.mmd_auto_neg
generic_eth_phy.mmd_auto_neg – The Auto-Negotiation MMD register set in the MDIO interface, as described in IEEE 802.3.
bank.mmd_default
generic_eth_phy.mmd_default – Fallback MMD used for unimplemented and/or reserved MMDs
bank.mmd_dte_xs
generic_eth_phy.mmd_dte_xs – The DTE XS MMD register set in the MDIO interface, as described in IEEE 802.3.
bank.mmd_mii_ext
generic_eth_phy.mmd_mii_ext – The MII extension MMD register set in the MDIO interface, as described in IEEE 802.3.
bank.mmd_pcs
generic_eth_phy.mmd_pcs – The PCS MMD register set in the MDIO interface, as described in IEEE 802.3.
bank.mmd_phy_xs
generic_eth_phy.mmd_phy_xs – The PHY XS MMD register set in the MDIO interface, as described in IEEE 802.3.
bank.mmd_pma_pmd
generic_eth_phy.mmd_pma_pmd – The PMA/PMD MMD register set in the MDIO interface, as described in IEEE 802.3.
bank.mmd_tc
generic_eth_phy.mmd_tc – The TC MMD register set in the MDIO interface, as described in IEEE 802.3.
bank.mmd_vendor1
generic_eth_phy.mmd_vendor1 – The vendor1 MMD register set in the MDIO interface, as described in IEEE 802.3.
bank.mmd_vendor2
generic_eth_phy.mmd_vendor2 – The vendor2 MMD register set in the MDIO interface, as described in IEEE 802.3.
bank.mmd_wis
generic_eth_phy.mmd_wis – The WIS MMD register set in the MDIO interface, as described in IEEE 802.3.
port.HRESET
generic_eth_phy.HRESET
port.SRESET
generic_eth_phy.SRESET

Commands for this class

Attributes

address
Optional attribute; read/write access; type: i
PHY identifier sent in calls to ieee_802_3_mac interface methods.
Optional attribute; read/write access; type: o|[os]|n
The Ethernet link that the PHY is connected to or Nil if the PHY is disconnected.

Required interfaces: ethernet_common.

Optional attribute; read/write access; type: o|[os]|n
An object that will get a high signal when the link status is up.

Required interfaces: signal.

loopback_delay
Optional attribute; read/write access; type: f
The time in seconds for sending back a frame when in loopback mode
mac
Required attribute; read/write access; type: o|[os]
Media access controller (MAC) object
phy_id
Pseudo attribute; read/write access; type: i
32-bit PHY identifier
register_defaults
Optional attribute; read/write access; type: [n|i{32}]
Reset values of the MII registers. A nil value denotes that the standard reset value for that register is used.
registers
Pseudo attribute; read/write access; type: [i{32}]
The 32 MII management registers
tx_bandwidth
Optional attribute; read/write access; type: i
The transmit bandwidth of the network interface in bits per second. The network interface will limit the rate at which it sends packets to remain below this bandwidth. Set to 0 for unlimited bandwidth.
tx_next_time
Optional attribute; read/write access; type: f
The earliest time at which that the network interface may send another packet. Used for transmit bandwidth limitation.

Provided By

generic_eth_phy

generic_eth_phy.HRESET

Interfaces Implemented

conf_object, log_object, signal

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

generic_eth_phy.SRESET

Interfaces Implemented

conf_object, log_object, signal

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

generic_eth_phy.mii_regs

Description

The MII management register set as described in IEEE 802.3.

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, register_view, register_view_read_only

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

generic_eth_phy.mmd_auto_neg

Description

The Auto-Negotiation MMD register set in the MDIO interface, as described in IEEE 802.3.

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, register_view, register_view_read_only

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

generic_eth_phy.mmd_default

Description

Fallback MMD used for unimplemented and/or reserved MMDs

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, register_view, register_view_read_only

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

generic_eth_phy.mmd_dte_xs

Description

The DTE XS MMD register set in the MDIO interface, as described in IEEE 802.3.

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, register_view, register_view_read_only

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

generic_eth_phy.mmd_mii_ext

Description

The MII extension MMD register set in the MDIO interface, as described in IEEE 802.3.

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, register_view, register_view_read_only

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

generic_eth_phy.mmd_pcs

Description

The PCS MMD register set in the MDIO interface, as described in IEEE 802.3.

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, register_view, register_view_read_only

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

generic_eth_phy.mmd_phy_xs

Description

The PHY XS MMD register set in the MDIO interface, as described in IEEE 802.3.

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, register_view, register_view_read_only

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

generic_eth_phy.mmd_pma_pmd

Description

The PMA/PMD MMD register set in the MDIO interface, as described in IEEE 802.3.

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, register_view, register_view_read_only

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

generic_eth_phy.mmd_tc

Description

The TC MMD register set in the MDIO interface, as described in IEEE 802.3.

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, register_view, register_view_read_only

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

generic_eth_phy.mmd_vendor1

Description

The vendor1 MMD register set in the MDIO interface, as described in IEEE 802.3.

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, register_view, register_view_read_only

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

generic_eth_phy.mmd_vendor2

Description

The vendor2 MMD register set in the MDIO interface, as described in IEEE 802.3.

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, register_view, register_view_read_only

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

generic_eth_phy.mmd_wis

Description

The WIS MMD register set in the MDIO interface, as described in IEEE 802.3.

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, register_view, register_view_read_only

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

generic-mmc-card generic_pcie_switch