当前位置:网站首页>2、 Digital logic functional unit
2、 Digital logic functional unit
2022-07-23 23:04:00 【It's a small tire】
( One ) Introduction to functional units
1. Buffer door
Equivalent to a wire . But in the real world , Its function is to improve the fan out ability of the input signal .

2. Not gate
3. Tristate gate ( Equivalent to a buffer door that can control on-off )
Two inputs , An output ;
4. A little Wait and door , Or gate , NAND gate ……
( Two ) Small scale integration portfolio
1. multiplexer
According to the input of the control port , Select one of the multiple data input ports to connect with the output port , Time division multiplexing data channel .
2. Encoder
Concept : The completion is to integrate multiple input signals , The output is to convert them into a set of binary code . Unlike multiplexing , The multiplexed output is selected from one of the inputs ; But the encoder is converted into other binary outputs according to the combination of inputs .


The above figure is common 4 Input 2 Output ordinary encoder . It can be used to encode the address of the storage unit .
So what is the priority encoder we often mention ?
It is to encode according to the priority sequence of pre-set events :

Apply to the state of the event handled by the encoder : Interrupt response , Process scheduling .
3. Decoder
The decoder is the opposite of the encoder , The encoder mentioned above is used for the process of converting multiple inputs into binary code . The decoder is a process of binary code restoration . For example, a two input four output decoder :( function : Address the task of getting chip selection signal )
4. adder
A. Half adder :
Input port :2 Output : Carry and result . The combination of XOR gate and and gate .
B. Full adder
Consider the carry of status .
Input port : 3 Output : Carry and result .
Because the full adder takes into account the carry of the low order operation , So we realize the addition of two bus data by cascading multiple full adders .
This is a relatively inefficient implementation .
Therefore, carry selection adder and carry ahead adder are introduced .
C. Carry select adder
D… Carry select adder
First generate the circuit through the circuit .
5. Lookup table ( There are many inputs , Think of it as an address line composed of several inputs )
Look up table is actually omnipotent , Because it can be used to realize arbitrary combinatorial logic . such as N Input ,M Output , We can decompose it into M individual N Input 1 This kind of combinational logic output .
however LUT It is a method of combinatorial logic that consumes a lot of resources .
How to use it? ? After finding the address line , We can multiplex ( Multiple input select one of the inputs ), Select one of the address units in this way .
But if there are many table items , We'll just use it RAM.
边栏推荐
- Mongodb - Introduction to the use of $exists and the combination of $ne, $nin, $nor, $not in query statements
- fl studio 20.9更新中文版宿主DAW数字音频工作站
- Linked list - 203. remove linked list elements
- Brief analysis of compiling principle of.Net CLR R2R
- STM32 MCU uses ADC function to drive finger heartbeat detection module
- Financial products with an annual yield of 6%
- DeFi项目的盈利逻辑 2021-04-26
- About: enable delivery optimization in enterprise LAN
- TAP 系列文章7 | 易于管理的流水线配置
- Basic syntax of MySQL DDL and DML and DQL
猜你喜欢

TAP 系列文章7 | 易于管理的流水线配置

1000 okaleido tiger launched binance NFT, triggering a rush to buy
![[leetcode ladder] linked list · 206 reverse linked list](/img/49/f3322c7abc9a0c7cf637264e677bc2.jpg)
[leetcode ladder] linked list · 206 reverse linked list

糖尿病遗传风险检测挑战赛Baseline

The I2C interface mode offline burning operation method of h7-tool has been released (2022-07-16)
![[jailhouse article] a novel software architecture for mixed criticality systems (2020)](/img/ab/b9269acfa5135fdaa3d0d8cc052105.png)
[jailhouse article] a novel software architecture for mixed criticality systems (2020)

Excel password related

D1-H 开发板——哪吒 开发入门

TAP 系列文章8 | TAP 学习中心——通过动手教程来学习

TAP 系列文章4 | 基于 Backstage 的 TAP 开发者门户
随机推荐
Array - 704. Binary search
Financial products with an annual yield of 6%
Utilisation des fonctions fléchées es6
Inspiration from Buffett's shareholders' meeting 2021-05-06
Interface test
TAP 系列文章5 | 云原生构建服务
H7-tool serial port offline burning operation instructions, support TTL serial port, RS232 and RS485 (2022-06-30)
unity visual studio2019升级到2022版本(扔掉盗版红渣)
About synchronizing data from computer to mobile
STM32F4查看系统各部分频率
糖尿病遗传风险检测挑战赛Baseline
Programming in the novel [serial 19] the moon bends in the yuan universe
Basic syntax of MySQL DDL and DML and DQL
Tools in the tools package of Damon database (operate Damon database)
Introduction and project development of MVVM and mvvmlight (I)
Stm32f4 check the frequency of each part of the system
Wechat applet implements a global event bus by itself
DeFi项目的盈利逻辑 2021-04-26
TAP 系列文章4 | 基于 Backstage 的 TAP 开发者门户
Mongodb - Introduction to the usage of logical operators not, and, or, nor in query statements