青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

posts - 71,  comments - 41,  trackbacks - 0
? 2003 by Charles C. Lin. All rights reserved.

Pipes

Early on, we came up with an analogy for a wire. We said a wire is like a pipe that can either send red soda (which we said was 0), or green soda (which we said was 1), or no soda (which is Z, whicch is high impedance), or garbage, which occurs when two devices attempt to "pump soda" on the wire.

We claim that garbage would occur, even if two devices attempt to pump the same kind of soda (i.e., both red or both green). This probably doesn't happen in reality. That is, if two devices attempt to set the value of a wire to 1, the wire is most likely transmitting a 1 without problem.

Nevertheless, we want to avoid this situation. It should be the case that only one device writes a value to the wire, at any given time. There should be no reason for two devices writing to a wire or bus at the same time. Certainly, we expect devices to write to the wire at different times. The idea of a bus, after all, is that it is a shared medium of communication, to be used by all devices connected to the bus.

Controlling Registers

Also, recall from our discussion on registers, that a register is always generating output. Once a value gets loaded into a register (which only occurs at a positive clock edge, during a parallel load operation), the value inside the register is sent to the output.

The outputs of registers are going to be connected to busses, and often there may be more than one register connected to a bus. We want to be able to control when a register writes a value to a bus.

How can we do this? Let's think of our analogy. Suppose we have many small pipes hooked to a much larger pipe. For example, we might have 3 small pipes hooked up to a large pupe.

Suppose each small pipe is connected to a device which pumps soda. We want to make sure only one device is pumping soda into the large pipe. Unfortunately, each device is always pumping soda, which means all three devices are trying to pump soda.

If we can't turn off the device, how do we prevent the soda from being pumped into the large pipe?

One idea is to have some sort of device in the small pipe which can be opened or closed. When the device is closed, even though the device attempts to pump soda, it can't make it to the large pipe.

This device is usually called a valve. If the valve is open, soda can be pumped through. If the valve is closed, no soda can be pumped through.

Here's a diagram to illustrate the concept.

Introducing a Tri-State Buffer

There is an electronic equivalent to a valve. It's called a tri-state buffer. The following is a symbol for a tri-state buffer.

It looks very much like an inverter (a NOT gate) except it's missing a circle at the right side (where z is located). This tiny circle usually indicates that the device is inverting the input, x.

Unlike an inverter, a tri-state buffer has two inputs. It has a data input (labelled x) and a control input (labelled c).

When c = 1, the valve is open, and the output z is the same as the input x. Essentially, it lets the input value flow to the output. This input value can be 0, 1, Z, or ? (garbage).

When c = 0, the valve is closed, and the output z = Z, which means no electrical current (i.e., no 0's and 1's) is flowing through.

Regular Buffers

There are buffers which do not have a control input. Thus, the output is exactly the same as the input. It's the same as a tri-state buffer where c is always 1. Does that seem silly to you? The reason for such a device is to strengthen the signal. For example, when you make a phone call, the signal is sent over a wire, or perhaps a fiber optic cable.

Over distance, a signal begins to lose strength. There are devices called repeaters which are meant to boost the strength of the signal. That's essentially what a plain buffer is.

However, we're interested in tri-state buffers, primarily because they behave like valves. They allow us to control which devices can write to a bus.

Chart for Tri-State Buffer

? c? ? x ? ? z ?
0 0 Z
0 1 Z
0 Z Z
1 0 0
1 1 1
1 Z Z

x is the data input. c is the control input, which turns on and off the valve. z is the output. Z (which is capitalized), means "no current", which, in our analogy, is "no soda" being pumped through.

A 32-bit Tri-State Buffer

Most of the times, we're not interested in controlling the output of one bit to one wire. We're interested in 32 bits to 32 wires. We treat the 32 bits as one grouping of data.

We'd like to be able to use a single bit to control when, say, a register is allowed to write its 32 bit contents to a bus. If this bit is 1, then all 32 bits are written to the bus. If the bit is 0, then none of the bits are sent to the bus.

This can be easily implemented using 32 tri-state buffers.

The example below shows how to implement a 4-bit tri-state buffer using 4 1-bit tri-state buffers. It's easy to extend this idea to 32 bits.

There is a bus containing 4 wires going into the "black box" (we get to see the inside of the black box) labelled x3..0.

Inside the black box, we split the bus into individual wires labelled x0 through x3. Each wire goes through a 1-bit tri-state buffer.

There's a single control bit c coming from the outside world, and this one bit is attached to each of the four tri-state buffers. So, either all four tri-state buffers let the input values go through or none of them go through.

As you can see, the implementation is pretty simple.

Summary

There are some hardware devices that always generate some output, such as registers. Many of these devices are often hooked to a bus, where only one device should write to at a time. Tri-state buffers allow us to control which device outputs its value to the bus, by allowing us to selectively control the control bit of the tri-state buffer.

Usually, we use 32-bit tri-state buffers, which have 32 data inputs, 32 outputs, but a single control bit. The implementation is shown above.

posted on 2007-01-23 17:55 Charles 閱讀(422) 評論(0)  編輯 收藏 引用 所屬分類: 拿來主義
<2025年9月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

決定開始寫工作日記,記錄一下自己的軌跡...

常用鏈接

留言簿(4)

隨筆分類(70)

隨筆檔案(71)

charles推薦訪問

搜索

  •  

積分與排名

  • 積分 - 51563
  • 排名 - 449

最新評論

閱讀排行榜

評論排行榜

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            香蕉久久一区二区不卡无毒影院| 一区二区三区在线不卡| 久久久精品国产免大香伊| 欧美日韩成人综合天天影院| 国产一区二区三区在线观看精品 | 亚洲福利视频一区| 欧美一级二级三级蜜桃| 国产精品黄视频| 9色精品在线| 亚洲成人在线视频播放 | 亚洲国产1区| 一区二区三区四区五区视频| 久久永久免费| 欧美一区激情| 久久久久久999| 一区二区三区四区五区视频 | 在线观看成人小视频| 欧美国产日韩免费| 欧美激情精品久久久久久蜜臀| 国产精品夜夜夜一区二区三区尤| 午夜精品视频在线观看| 欧美怡红院视频一区二区三区| 蜜桃伊人久久| 精品二区久久| 男女精品网站| 日韩一级成人av| 久久精品综合一区| 久久这里只有精品视频首页| 91久久久精品| 欧美色一级片| 欧美成人一区二区三区在线观看| 性色一区二区| 国产中文一区二区| 久久久天天操| 在线视频欧美日韩| 久久久久青草大香线综合精品| 在线观看欧美黄色| 欧美 日韩 国产在线| 亚洲少妇自拍| 国产综合视频| 欧美激情精品久久久久久大尺度 | 亚洲视频axxx| 欧美在线在线| 欧美高清在线| 亚洲欧美成人综合| 一区二区欧美国产| 国产欧美精品一区二区色综合| 亚洲综合精品四区| 老色鬼精品视频在线观看播放| 亚洲国产精品一区| 国产精品亚洲视频| 久久婷婷色综合| 一区二区三区国产| 欧美a级片网| 久久大综合网| 久久综合999| 欧美理论在线| 国产精品最新自拍| 亚洲日本va午夜在线影院| 亚洲国产精品999| 久久久精品免费视频| 国产精品日本一区二区| 国产精品99久久久久久白浆小说 | 最近中文字幕日韩精品 | 亚洲激精日韩激精欧美精品| 亚洲欧美欧美一区二区三区| 中文精品99久久国产香蕉| 久久久国产精品一区| 国产一区二区日韩| 亚洲精品老司机| 亚洲女女女同性video| 欧美乱人伦中文字幕在线| 99精品福利视频| 亚洲国产日韩美| 欧美影视一区| 欧美在线免费播放| 欧美日韩网址| 亚洲一区二区三区高清| 久久亚洲精选| 麻豆精品视频在线观看视频| 欧美大片在线观看一区二区| 亚洲欧美日韩一区在线观看| 久久精品亚洲精品| 欧美激情网友自拍| 亚洲精品乱码久久久久久黑人| 在线亚洲欧美专区二区| 亚洲国产日韩欧美| 欧美成人性生活| 欧美一区二区在线免费播放| 日韩一本二本av| 午夜欧美不卡精品aaaaa| 欧美一级一区| 日韩视频中文字幕| 亚洲无线一线二线三线区别av| 国产一区av在线| 国产精品久在线观看| 很黄很黄激情成人| 亚洲特色特黄| 国产日韩精品一区二区浪潮av| 亚洲人成啪啪网站| 亚洲精品久久久蜜桃| 欧美不卡视频一区| 亚洲国产一区二区三区a毛片| 国产农村妇女毛片精品久久莱园子| 欧美性猛交xxxx免费看久久久| 亚洲精品综合精品自拍| 欧美电影在线| 久久免费黄色| 伊人男人综合视频网| 久久国产加勒比精品无码| 欧美在线三区| 激情欧美国产欧美| 美女视频黄 久久| 亚洲欧洲久久| 亚洲天堂第二页| 国产精品私房写真福利视频| 午夜精品短视频| 美女国产精品| 夜夜嗨av一区二区三区| 国产精品久久久久久久久搜平片| 亚洲欧美三级伦理| 欧美成人亚洲| 亚洲一区二区不卡免费| 国产农村妇女精品一区二区| 久久精品网址| 亚洲精品中文字幕女同| 欧美一区二区视频在线观看2020| 好男人免费精品视频| 欧美伦理91| 久久精品久久综合| 亚洲日本无吗高清不卡| 性一交一乱一区二区洋洋av| 精品不卡一区| 欧美成人精品| 欧美午夜精品久久久久免费视 | 亚洲国产精品ⅴa在线观看| 亚洲最新视频在线播放| 国产欧美日韩视频一区二区| 麻豆91精品| 亚洲午夜在线视频| 欧美成人69| 性亚洲最疯狂xxxx高清| 亚洲美女少妇无套啪啪呻吟| 国产精品欧美日韩一区二区| 另类亚洲自拍| 香蕉成人久久| 亚洲每日更新| 媚黑女一区二区| 亚洲欧美日韩精品一区二区| 亚洲国产精品999| 国产精品综合网站| 欧美日韩亚洲一区二区三区在线| 久久爱另类一区二区小说| 日韩午夜在线| 亚洲电影网站| 麻豆免费精品视频| 欧美一区二区精品在线| 99pao成人国产永久免费视频| 海角社区69精品视频| 国产精品久久二区| 欧美日韩成人一区| 欧美成人一区二区三区片免费| 久久精品国产99国产精品| 夜夜嗨av一区二区三区四区 | 久久久蜜桃精品| 亚洲免费在线视频一区 二区| 亚洲国产欧美不卡在线观看| 国产综合av| 国产日韩高清一区二区三区在线| 欧美三区在线观看| 欧美日韩国产另类不卡| 欧美高清在线精品一区| 蜜臀va亚洲va欧美va天堂 | 国产一区二区三区四区| 国产精品亚洲第一区在线暖暖韩国| 欧美日本一区二区高清播放视频| 麻豆成人在线观看| 欧美成va人片在线观看| 美女日韩在线中文字幕| 久久亚洲一区二区三区四区| 久久久久久高潮国产精品视| 久久本道综合色狠狠五月| 性娇小13――14欧美| 欧美一区二区成人| 性xx色xx综合久久久xx| 欧美一区二区三区在线看| 欧美一区二区三区免费大片| 性欧美video另类hd性玩具| 欧美一区二区三区在线看| 久久精品日韩| 免费在线观看成人av| 久久久久久久久蜜桃| 久久一区中文字幕| 欧美顶级少妇做爰| 亚洲毛片在线| 亚洲男女自偷自拍| 久久久精彩视频| 欧美h视频在线| 欧美日韩亚洲成人| 国产伦精品一区二区三区照片91 |