Simulink® and Stateflow® model of four network interface cards (NICs) communicating with each other over a twisted pair cable using 10Base-T Ethernet and CSMA/CD protocol. The shared cable includes propagation, bus, and patch delays.
Each NIC node contains:
* CSMA/CD controller in Stateflow
* Transmitter
* Receiver
* Collision detection system
Initially, the state machines of two NICs are displayed, plus a Simulink scope which shows the transmit activity of each card. As the simulation runs, the scope display can be compared to the animation of the controller states in Stateflow, giving a visual understanding of the CSMA/CD protocol and collisions.
This model was created by Chris Thorpe.
Standard:
IEEE Std 802.3-2000, available from: http://standards.ieee.org/reading/ieee/std/lanman/ |