OVP Peripheral Model: SmscLAN91C111
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
SMSC LAN91C111
Licensing
Open Source Apache 2.0
Limitations
Not all registers and device features are implemented. Only 16-bit bus interface currently supported.
Reference
SMSC LAN91C111 10/100 Non-PCI Ethernet Single Chip MAC + PHY Datasheet Revision 1.91 (06-01-09)
Location
The LAN91C111 peripheral model is located in an Imperas/OVP installation at the VLNV: smsc.ovpworld.org / peripheral / LAN91C111 / 1.0.
Peripheral Instance Parameters
This model accepts the following parameters:
Table : Peripheral Parameters
Name | Type | Description |
---|
record | string | Record external events into this file |
replay | string | Replay external events from this file |
tapDevice | string | The name of the TAP device |
redir | string | User mode redirection of host port to virtual port (using SLiRP), command format <protocol>:<host port>:<ip address>:<virtual port> |
tftpPrefix | string | Path to the root of the tftp directory. To use tftp, fetch from the host (gw) IP address. |
macaddress | uns64 | The MAC address (hex number) |
macprefix | uns32 | The first two bytes of MAC addresses (hex number) on the VLAN |
network | string | The (v4) IP address of the local network device. |
logfile | string | The 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
Name | Type | Must Be Connected | Description |
---|
irq | output | F (False) | IRQ Pin |
Bus Slave Ports
This model has the following bus slave ports:
Bus Slave Port: bport1
Table 2: Bus Slave Port: bport1
Name | Size (bytes) | Must Be Connected | Description |
---|
bport1 | 0x1000 | F (False) | |
Table 3: Bus Slave Port: bport1 Registers:
Name | Offset | Width (bits) | Description | R/W | is Volatile |
---|
ab_BANK_SEL | 0xe | 16 | | | |
ab_REG_0 | 0x0 | 16 | | | |
ab_REG_2 | 0x2 | 16 | | | |
ab_REG_4 | 0x4 | 16 | | | |
ab_REG_6 | 0x6 | 16 | | | |
ab_REG_8 | 0x8 | 16 | | | |
ab_REG_10 | 0xa | 16 | | | |
ab_REG_12 | 0xc | 16 | | | |
Packetnet Ports
This model has the following packetnet ports:
Packetnet Port: phy
Table 4: phy
Name | Maximum Packet Size (bytes) | Must Be Connected | Description |
---|
phy | 1524 | F (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 'LAN91C111'