LIBRARY  |  COMPANIES |   PLATFORMS |   PROCESSORS |   PERIPHERALS
SmscLAN9118



OVP Peripheral Model: SmscLAN9118



Model Specific Information

This page provides introductory usage information for an Imperas OVP peripheral behavioral model. The page is split into sections providing specific information for this peripheral, including any ports for connecting into a platform, registers, other component parts, and configuration options and general information for peripheral modeling with Imperas OVP.

Description

Fully functional Model of SMSC LAN9118 for Arm Versatile Express platforms. For full details please consult README-EMAC.txt

Licensing

Open Source Apache 2.0

Limitations

See README-EMAC.txt

Reference

SMSC LAN9118 High Performance single-chip 10/100 Non-PCI Ethernet Controller Datasheet Revision 1.5 (07-11-08)

Location

The LAN9118 peripheral model is located in an Imperas/OVP installation at the VLNV: smsc.ovpworld.org / peripheral / LAN9118 / 1.0.



Peripheral Instance Parameters

This model accepts the following parameters:

Table : Peripheral Parameters

NameTypeDescription
recordstringRecord external events into this file
replaystringReplay external events from this file
tapDevicestringThe name of the TAP device
redirstringUser mode redirection of host port to virtual port (using SLiRP), command format <protocol>:<host port>:<ip address>:<virtual port>
tftpPrefixstringPath to the root of the tftp directory. To use tftp, fetch from the host (gw) IP address.
macaddressuns64The MAC address (hex number)
macprefixuns32The first two bytes of MAC addresses (hex number) on the VLAN
networkstringThe (v4) IP address of the local network device.
logfilestringThe file to which Ethernet frames should be logged. Uses pcap file format, viewable by Wireshark and other programs. Do not use if this device is connected to a packetnet



Net Ports

This model has the following net ports:

Table 1: Net Ports

NameTypeMust Be ConnectedDescription
irqoutputF (False)IRQ Pin



Bus Slave Ports

This model has the following bus slave ports:

Bus Slave Port: bport1

Table 2: Bus Slave Port: bport1

NameSize (bytes)Must Be ConnectedDescription
bport10x1000F (False)

Table 3: Bus Slave Port: bport1 Registers:

NameOffsetWidth (bits)DescriptionR/Wis Volatile
ab_RX_DATA_FIFO0x032
ab_RX_DATA_FIFO_10x432
ab_RX_DATA_FIFO_20x832
ab_RX_DATA_FIFO_30xc32
ab_RX_DATA_FIFO_40x1032
ab_RX_DATA_FIFO_50x1432
ab_RX_DATA_FIFO_60x1832
ab_RX_DATA_FIFO_70x1c32
ab_TX_DATA_FIFO0x2032
ab_TX_DATA_FIFO_10x2432
ab_TX_DATA_FIFO_20x2832
ab_TX_DATA_FIFO_30x2c32
ab_TX_DATA_FIFO_40x3032
ab_TX_DATA_FIFO_50x3432
ab_TX_DATA_FIFO_60x3832
ab_TX_DATA_FIFO_70x3c32
ab_RX_STATUS_FIFO0x4032
ab_RX_STATUS_FIFO_PEEK0x4432
ab_TX_STATUS_FIFO0x4832
ab_TX_STATUS_FIFO_PEEK0x4c32
ab_ID_REV0x5032
ab_IRQ_CFG0x5432
ab_INT_STS0x5832
ab_INT_EN0x5c32
ab_BYTE_TEST0x6432
ab_FIFO_INT0x6832
ab_RX_CFG0x6c32
ab_TX_CFG0x7032
ab_HW_CFG0x7432
ab_RX_DP_CTRL0x7832
ab_RX_FIFO_INF0x7c32
ab_TX_FIFO_INF0x8032
ab_PMT_CTRL0x8432
ab_GPIO_CFG0x8832
ab_GPT_CFG0x8c32
ab_GPT_CNT0x9032
ab_WORD_SWAP0x9832
ab_FREE_RUN0x9c32
ab_RX_DROP0xa032
ab_MAC_CSR_CMD0xa432
ab_MAC_CSR_DATA0xa832
ab_AFC_CFG0xac32
ab_E2P_CMD0xb032
ab_E2P_DATA0xb432



Packetnet Ports

This model has the following packetnet ports:

Packetnet Port: phy

Table 4: phy

NameMaximum Packet Size (bytes)Must Be ConnectedDescription
phy1524F (False)The port to connect the packetnet virtual network



Platforms that use this peripheral component

Peripheral components can be used in many different platforms, including those developed by Imperas or by other users of OVP. You can use this peripheral in your own platforms.

Table 5: Publicly available platforms using peripheral 'LAN9118'

Platform NameVendor
ArmIntegratorCParm.ovpworld.org
ArmVersatileExpressarm.ovpworld.org
ArmVersatileExpress-CA15arm.ovpworld.org
ArmVersatileExpress-CA9arm.ovpworld.org
ArmIntegratorCParm.ovpworld.org
ArmVersatileExpressarm.ovpworld.org
ArmVersatileExpress-CA15arm.ovpworld.org
ArmVersatileExpress-CA9arm.ovpworld.org



SmscPeripherals
Page was generated in 0.0271 seconds