Network switching products typically use a large number of FIFOs to convert data from one network terminal to another terminal switch. Using dual FIFOs in such applications can save board space.
Figure 1 shows the circuit design of the network switch box. It can be seen from the figure that a FIFO switch is used to convert data between any input and output buses. Data flow is one-way. The dual FIFO is not only used to buffer data, but also to control the address usage of the central data memory. In Figure 1, 4 input paths and 4 output paths are shown; however, the design structure can be easily expanded to accommodate as many buses as desired. The network switch box designed with IDT's 728×1 FIFO has the ability to switch a 9-bit wide bus, while the network switch box designed with 728×5 has the ability to switch an 18-bit bus.
Use a FIFO bank to buffer input data, one FIFO for each input bus (in Figure 1, the "source FIFO" is represented by A, B, C, D). Another FIFO memory bank is used to buffer output data, with one FIFO for each output bus (in the figure, the "terminal FIFO" is represented by 1, 2, 3, 4).
The SRAM data storage unit is used to hold information units that have been received through the source FIFO and are waiting to be transferred to the terminal FIFO. For example, an ATM information unit generally consists of a 5-byte header (including address information) and a 48-byte data string. Network switch boxes will handle these units differently. In order to process unit information more efficiently, SRAM can be divided into header area and data area.
The "FreeAddress" FIFO keeps track of free address locations in the SRAM bank.
The last FIFO unit is called "Available Cell", which keeps track of the cells stored in SRAM and waits to be booted to the terminal FIFO. Each "Available Cell" FIFO supports an output data bus and holds the address of the SRAM connected cell for that particular bus. In Figure 1, the four "Available Cell" FIFOs are numbered 1, 2, 3, and 4.
The microcontroller monitors the status of the switch box, assigns addresses and controls data flow.
The network switch function is: after receiving at least one data unit, the programmable quasi-full ( ) flag of the source FIFO is set to a low state. The processor periodically checks the flags of each source FIFO. Once a unit is written to the source FIFO, the associated flag goes low to indicate that the data is valid. The processor obtains a valid SRAM address from the free address FIFO, then reads the location from the source FIFO and writes it to the SRAM at the selected free address. Once this process is complete, the processor accesses the unit's header from the SRAM and identifies which terminal FIFO collected the data for decoding and updating the header. The processor then writes the cell's SRAM address to the corresponding Available Cell FIFO in the terminal FIFO.
As long as sufficient space is available for a cell to register data, the terminal FIFO's programmable quasi-empty ( ) flag is set to a low state. The processor periodically checks the flags of each terminal FIFO. As long as space is available for a terminal FIFO, the relevant flag goes low. The processor obtains an address from the corresponding Available Cell FIFO of the terminal FIFO and uses it to lock a cell stored in SRAM memory. Finally, the processor passes the unit to the appropriate terminal FIFO and writes the new free unit address into the Free Address FIFO.
Previous article:Active fault protection circuit characteristics of SN65LVD32B
Next article:Universal dual heat-swap controller allows live backplane insertion
- Popular Resources
- Popular amplifiers
- High signal-to-noise ratio MEMS microphone drives artificial intelligence interaction
- Advantages of using a differential-to-single-ended RF amplifier in a transmit signal chain design
- ON Semiconductor CEO Appears at Munich Electronica Show and Launches Treo Platform
- ON Semiconductor Launches Industry-Leading Analog and Mixed-Signal Platform
- Analog Devices ADAQ7767-1 μModule DAQ Solution for Rapid Development of Precision Data Acquisition Systems Now Available at Mouser
- Domestic high-precision, high-speed ADC chips are on the rise
- Microcontrollers that combine Hi-Fi, intelligence and USB multi-channel features – ushering in a new era of digital audio
- Using capacitive PGA, Naxin Micro launches high-precision multi-channel 24/16-bit Δ-Σ ADC
- Fully Differential Amplifier Provides High Voltage, Low Noise Signals for Precision Data Acquisition Signal Chain
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- How to design the step-up transformer for electrostatic generator
- TMS320F28335 generates SPWM
- [Sipeed LicheeRV 86 Panel Review] 5-Tina System Image Compilation Test
- CC2640R2F: A must-read for beginners
- Analysis of the interrupt process of C6000 DSP system
- How to select a display detector
- [Zero-knowledge ESP8266 Tutorial] Zero-knowledge WIFI Tutorial - http WEB Server Example
- 【DIY fan】Unboxing
- FOC vacuum cleaner, low voltage sensorless FOC solution, main control chip CMS32M5733Q048
- Several basic knowledge of MCU, must-read for beginners