当前位置:网站首页>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.
边栏推荐
- Linked list - 203. remove linked list elements
- $, $*, [email protected], $$ Understand the meaning of 0
- Drools (1): introduction to drools
- torchvision.datasets.ImageFolder前的数据整理及使用方法
- Analysis of mobile semantics and perfect forwarding
- As a developer, you have to know the three performance testing tools JMeter, API and jmh user guide
- 小说里的编程 【连载之十六】元宇宙里月亮弯弯
- Tap series article 6 | application model of tap
- Profit logic of DFI project 2021-04-26
- 20. Valid parentheses valid parentheses
猜你喜欢

1000个Okaleido Tiger首发上线Binance NFT,引发抢购热潮
About synchronizing data from computer to mobile

Crazy bull market, where to go in the second half? 2021-04-30

DeFi項目的盈利邏輯 2021-04-26

J9 number theory: how can we overcome the fomo phenomenon in the digital industry?

How does the easynvr platform turn off anonymous login?

海外资深玩家的投资建议(3) 2021-05-04
![[leetcode ladder] linked list · 206 reverse linked list](/img/49/f3322c7abc9a0c7cf637264e677bc2.jpg)
[leetcode ladder] linked list · 206 reverse linked list

TAP 系列文章4 | 基于 Backstage 的 TAP 开发者门户

一,数字逻辑的化简
随机推荐
How does the easynvr platform turn off anonymous login?
D1-h development board - Introduction to Nezha development
The role of physical layer, link layer, network layer, transport layer and application layer of tcp/ip model of internet protocol stack
Investment suggestions for overseas senior players (3) 2021-05-04
[laser principle and Application-8]: EMC design of laser circuit
Programming in the novel [serial 17] the moon bends in the yuan universe
[leetcode ladder] the penultimate node in the 022 linked list
礪夏行動|源啟數字化:既有模式,還是開源創新?
Mongodb database + graphical tools download, installation and use
Mongodb - Introduction to the use of $exists and the combination of $ne, $nin, $nor, $not in query statements
Light up the LED light of little bear patting learning
Array - 704. Binary search
[unity3d daily bug] unity3d solves "the type or namespace name" XXX "cannot be found (are you missing the using directive or assembly reference?)" Etc
Brief analysis of compiling principle of.Net CLR R2R
Raspberry pie SSH login
Inspiration from Buffett's shareholders' meeting 2021-05-06
ES6 other syntax and extended syntax summary
DeFi項目的盈利邏輯 2021-04-26
Notes on network segment CIDR
【Unity3D日常BUG】Unity3D解决“找不到类型或命名空间名称“XXX”(您是否缺少using指令或程序集引用?)”等问题