Data Selectors and Allocators

Publisher:浅唱清风Latest update time:2011-07-27 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
Data selector and distributor
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.

Reference address:Data Selectors and Allocators

Previous article:Adders and Comparators
Next article:Display decoder

Latest Analog Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号