6.5.1 Data selector
I. 4-to-1 data selector
1. Logic circuit
2. Truth table
3. Output logic function
1. Logic diagram
2. Logical function analysis
3. Truth table
4. Output logic function
II. 8-to-1 data selector
1. Logic function diagram
2. Truth table
3. Output logic function
III. Using data selector to implement combinational logic function
1. When the number of variables of the logic function is the same as the number of address input variables of the data selector
Algebraic method
Karnaugh map method
2. When the number of variables of the logic function is greater than the number of address input variables of the data selector
6.5.2 Data distributor
8-way data distributor composed of 3-line to 8-line decoder CT74LS138.
6.5 Data Selectors and Allocators
6.5.1 Data Selectors
In the process of multi-channel data transmission, it is often necessary to select one of the signals for transmission, which requires the use of a data selector.
In the data selector, the address input signal is usually used to complete the task of selecting data. For example, a 4-to-1 data selector should have two address input terminals, which have a total
of 4 different combinations, and each combination can select a corresponding input data output. Similarly, for an 8-to-1 data selector, there should be 3 address input terminals. The rest is analogous.
The function of the multi-channel data distributor is exactly the opposite of that of the data selector. It distributes one channel of data to the corresponding output terminal for output according to the different address codes.
The circuit that selects one output from multiple input signals according to the address code is called a data selector.
Its function is equivalent to a controlled band switch.
Multiple input signals: N
Output: 1
Address code: n bits
Should satisfy
≥ N
1. 4-to-1 data selector
3. Based on Figure 6.5.1 and the truth table, the output logic function can be written as
1. Logic diagram (understand). It consists of two identical 4-to-1 data selectors.
2. Logical function analysis
The following analysis takes a data selector in Figure 6.5.2 in the textbook as an example.
(1) The opening and closing of the first-stage transmission gates 1TG1~1TG4 are controlled by A0.
When A0=0, 1TG1 and 1TG3 are opened, and 1TG2 and 1TG4 are closed; when A0=1, 1TG1 and 1TG3 are closed, and 1TG2 and 1TG4 are opened.
(2) The opening and closing of the second-stage transmission gates 1TG5 and 1TG6 are controlled by A1.
When A1=0, 1TG5 is opened, and 1TG6 is closed; when A1=1, 1TG5 is closed, and 1TG6 is opened.
In this way, after the value of A1A0 is determined, and
when it takes 1=0, there is a corresponding data output in the input data 1D0~1D3.
3. Truth table
Table 6.5.2 Truth table of dual 4-to-1 data selector CC14539
4. Output logic function
2. 8-to-1 data selector
MSI device TTL 8: Select 1 data selector CT74LS151
1. Logic function diagram
2. Truth table
Table 6.5.3 Truth table of data selector CT74LS151
3. Output logic function
3. Implementing Combinational Logic Functions with Data Selectors
Implementation principle: The data selector is a minimum term outputter of a logical function:
Any logic function of n-bit variables can be transformed into the standard form of the sum of minimum terms
, Ki's value is 0 or 1, so the data selector can be used to easily implement the logic function.
Method: ⑴ Expression comparison method, compare and . ⑵ Karnaugh map comparison method.
1. When the number of variables of the logic function is the same as the number of address input variables of the data selector, the data selector can be used directly to implement the logic function.
[Example 6.5.1] Try to use the data selector to implement the logic function
Y = AB + AC + BC
Solution: This problem can be solved by algebraic method and Karnaugh map method.
Algebraic method
(1) Select a data selector. Since there are three variables A, B, and C in the logic function Y, an 8-to-1 data selector can be selected. Now CT74LS151 is selected.
(2) Write the standard AND-OR expression of the logic function. The standard AND-OR expression of the logic function Y is
(3) Compare the corresponding relationship between the minimum terms in the two equations Y and Y'. Assume Y = Y', A = A2, B = A1, C = A0. When Y' contains the minimum term in Y, the data is 1, and when it does not contain the minimum term in Y, the data is 0. Thus,
(4) Draw a connection diagram. Based on the above formula, we can draw the connection diagram shown in Figure 6.5.4.
Karnaugh Map Method
(1) Write the standard AND-OR expression of the logic function Y as
(2) Draw the Karnaugh map of Y and the 8-to-1 data selector output logic function Y′. The Karnaugh maps of Y and Y′ are shown in Figure 6.5.5.
(3) Compare the Karnaugh maps of logic functions Y′ and Y. Let Y = Y′, A = A2, B = A1, C = A0, and compare the two Karnaugh maps in Figure 6.5.5 (a) and (b) to obtain
Figure 6.5.5 [Example 6.5.1] Karnaugh map
(a) Karnaugh map of Y; (b) Karnaugh map of
(4) Draw a connection diagram. Based on the above formula, we can draw the connection diagram of Figure 6.5.4.
2. When the number of variables of the logic function is greater than the number of address input variables of the data selector, the redundant variables should be separated and the remaining variables should be added to the address input terminals of the data selector in order.
[Example 6.5.2] Use dual 4-to-1 data selector CC14539 and NOT gate to form a one-bit full adder.
Solution: (1) Set variables and list the truth table.
Assume that the binary numbers are added at the i-th position
. Input variables: addend Ai, addend Bi, carry number from the lower position Ci-1
Output logic function: sum of the current position Si, carry number to the adjacent higher position is Ci.
Its truth table is shown in Table 6.5.4.
(4) Compare the output logic function of the full adder with the output logic function of the data selector. Assume Si = 1Y, Ai = A1, Bi = A0, then
(5) Draw a connection diagram.
Figure 6.5.6 Connection diagram of [Example 6.5.2]
From the above question, we can see that when the number of variables in the logic function is greater than the input address codes A1 and A0 of the data selector, then D3~D0 can be regarded as the third (input) variable, used to represent the variables separated from the logic function.
6.5.2 Data Allocator
Data allocation is the inverse process of data selection.
A circuit that distributes one data path to a specified output channel according to the requirements of the address signal is called a data distributor.
What is the logical function of the 3-line to 8-line MSI decoder?
If the enable terminal of the decoder is used as the data input terminal and the binary code input terminal is used as the address signal input terminal, the decoder becomes a data distributor.
An 8-way data distributor consisting of a 3-line to 8-line decoder CT74LS138.
Previous article:Adders and Comparators
Next article:Display decoder
- 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
- What is the use of a 28V operating voltage microcontroller?
- The microcontroller drives the P-MOS to conduct abnormally through the NPN transistor?
- How to support domestic suppliers who use tricks?
- Thank you for being there + seeking change
- RVB2601 First Experience
- If the Lingte LT3789 is to output 12V10A, can it be directly connected in parallel with MOS?
- MSP430 and ATK-NEO-6M GPS module
- Saw a picture on the official account
- How much do you know about 5G antennas?
- Please help me with this circuit