mii-management-bus mmc_card
Simics Reference Manual  /  5 Classes  / 

mii-transceiver

Description

mii-transceiver is an IEEE 802.3 physical layer device with MII interface

Interfaces Implemented

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

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 this class

Attributes

Optional attribute; read/write access; type: o|n
The Ethernet link that the network device is connected to.
mac_address
Optional attribute; read/write access; type: s|[i{6}]|n
Ethernet (MAC) address of the network interface.
model_crc
Pseudo attribute; read/write access; type: i
Deprecated. Do not use.
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.
network
Pseudo attribute; read/write access; type: o|n
Obsolete attribute. Use link instead.
inject_packet
Pseudo attribute; write-only access; type: d
Attribute used to send a packet to the network device. Writing this attribute at any time injects a new packet into the device (without involving the network simulation). Injecting a packet copies the packet data, allowing the caller to reuse or dispose of the buffer used for creating the packet, after the attribute is written.
add_crc_on_inject
Optional attribute; read/write access; type: i
Frames injected using the 'inject_packet' will get a correctly calculated CRC added at the end when this attribute is set to 1 (default). When set to 0, the user has to supply a CRC field with the injected frame. Note that you must always provide room for the CRC field, even when this attribute is set to 1.
mdio_target
Optional attribute; read/write access; type: n|o|[os]
Describes where the outgoing MDIO signal should be connected
serial_num_cycles
Optional attribute; read/write access; type: i
MII Management Interface serial communication state.
serial_data_in
Optional attribute; read/write access; type: i
MII Management Interface serial communication state.
serial_data_out
Optional attribute; read/write access; type: i
MII Management Interface serial communication state.
serial_clock
Optional attribute; read/write access; type: i
MII Management Interface serial communication state.
serial_port_status
Optional attribute; read/write access; type: i
MII Management Interface serial communication state.
mac
Required attribute; read/write access; type: o|[os]
Set to a media access controller (MAC) object, implementing the ieee_802_3_mac_v3 or ieee_802_3_mac interface.
Optional attribute; read/write access; type: i
The status of the link - 0 when completely unconnected, 1 when connected but down, and 2 when connected and up.
duplex_mode
Optional attribute; read/write access; type: i
Set to 1 for full duplex (0 for half duplex).
Optional attribute; read/write access; type: i
The link speed (usually 10 or 100 Mbit/s).
address
Optional attribute; read/write access; type: i
PHY identifier sent in calls to ieee_802_3_mac interface methods.
registers
Optional attribute; read/write access; type: [i{32}]
The MII management register set as described in IEEE 802.3.

Provided By

mii-transceiver
mii-management-bus mmc_card