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

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)  編輯 收藏 引用 所屬分類: 拿來主義
<2007年1月>
31123456
78910111213
14151617181920
21222324252627
28293031123
45678910

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

常用鏈接

留言簿(4)

隨筆分類(70)

隨筆檔案(71)

charles推薦訪問

搜索

  •  

積分與排名

  • 積分 - 51631
  • 排名 - 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>
            亚洲美女色禁图| 亚洲淫性视频| 99在线热播精品免费99热| 欧美自拍丝袜亚洲| 国产精品久久久久久久7电影 | 亚洲精品一区二区三区99| 久久综合一区二区| 欧美中文字幕第一页| 国产人久久人人人人爽| 羞羞答答国产精品www一本| 正在播放欧美视频| 欧美三日本三级少妇三99| 在线视频日本亚洲性| 亚洲人成欧美中文字幕| 另类av导航| 亚洲精选视频免费看| 亚洲国产欧美在线| 欧美激情二区三区| 99精品视频免费观看视频| 亚洲国产精品第一区二区三区| 美国十次了思思久久精品导航| 激情综合中文娱乐网| 女同性一区二区三区人了人一| 另类av导航| 这里只有精品视频| 亚洲一区在线观看视频| 一区二区免费在线观看| 欧美日韩专区| 欧美一区二区精品久久911| 亚洲女人天堂成人av在线| 国产欧美精品日韩精品| 久久免费国产精品1| 久久久久久一区二区三区| 亚洲黄色性网站| 一本色道久久综合亚洲精品按摩 | 久久精品久久99精品久久| 尤物精品在线| 亚洲精品欧美日韩| 国产免费观看久久黄| 美女脱光内衣内裤视频久久影院| 蜜桃av一区二区| 亚洲男人第一av网站| 久久国产主播| 中文欧美日韩| 久久福利毛片| 亚洲一区二区三区中文字幕| 欧美一级片在线播放| 亚洲日本欧美在线| 亚洲欧美网站| 亚洲精品欧美在线| 午夜精品视频在线| 亚洲精品美女91| 性做久久久久久久免费看| 亚洲欧洲另类| 欧美在线网址| 亚洲欧美制服另类日韩| 麻豆精品视频| 久久亚洲精品一区| 国产精品扒开腿做爽爽爽软件 | 欧美成人午夜影院| 久久成人久久爱| 欧美日韩麻豆| 欧美成人一区二免费视频软件| 欧美视频一区二区| 欧美成人精品福利| 国产欧美一区二区三区在线看蜜臀 | 久久久久久91香蕉国产| 欧美精彩视频一区二区三区| 麻豆av一区二区三区久久| 国产精品黄视频| 亚洲美女在线看| 亚洲精品欧美极品| 久久在线精品| 两个人的视频www国产精品| 国产精品爱啪在线线免费观看| 欧美黄色片免费观看| 国产一级久久| 午夜精品一区二区三区在线| 亚洲一区二区三区免费观看| 欧美黑人国产人伦爽爽爽| 免费观看不卡av| 在线成人av网站| 久久久久久伊人| 欧美.com| 亚洲高清在线观看| 久久精品99国产精品酒店日本| 国产在线视频不卡二| 亚洲欧美日韩国产另类专区| 亚洲午夜国产一区99re久久 | 亚洲欧美国产毛片在线| 欧美国产成人在线| 久久久九九九九| 久久精品欧洲| 国产美女在线精品免费观看| 亚洲天堂av高清| 午夜久久久久| 国产女精品视频网站免费| 亚洲一区制服诱惑| 久久精品在线视频| 狠狠色丁香久久婷婷综合丁香| 午夜日本精品| 久久久久综合| 亚洲国产国产亚洲一二三| 蜜桃av一区二区在线观看| 亚洲欧洲在线免费| 亚洲小说区图片区| 国产精品有限公司| 久久综合给合久久狠狠色 | 久久爱www.| 欧美成人午夜| 正在播放亚洲一区| 国产精品一级| 久久久一区二区| 亚洲欧洲一区| 欧美一区二区三区在线看| 国产亚洲二区| 美女亚洲精品| 一区二区三区国产精华| 久久国产免费| 亚洲国产成人不卡| 欧美成人免费va影院高清| 日韩亚洲欧美精品| 亚洲人久久久| 久久久综合网站| 亚洲全部视频| 午夜精品一区二区三区在线播放| 国产欧美日韩在线观看| 久久野战av| 亚洲专区一二三| 欧美激情亚洲精品| 午夜精品久久久久久久99热浪潮 | 亚洲欧洲一区二区三区在线观看| 欧美另类亚洲| 久久成人18免费观看| 亚洲精品国产精品乱码不99按摩| 性欧美超级视频| 99成人在线| 禁断一区二区三区在线| 欧美日韩亚洲综合一区| 久久精品水蜜桃av综合天堂| 亚洲美洲欧洲综合国产一区| 免费在线成人| 久久国产精品一区二区三区| 中文在线资源观看网站视频免费不卡 | 欧美黄色精品| 亚洲欧美另类国产| 久久成人精品电影| 一本一本久久a久久精品综合妖精 一本一本久久a久久精品综合麻豆 | 亚洲欧美成人精品| 亚洲国产天堂久久综合网| 欧美在线不卡| 亚洲一级影院| 亚洲乱码精品一二三四区日韩在线| 国产一区91| 国产乱码精品一区二区三区忘忧草| 欧美暴力喷水在线| 久久蜜臀精品av| 欧美在线日韩| 欧美一区二区三区在线播放| 一区二区三区四区五区视频 | 欧美亚洲在线| 亚洲深夜福利| 9色精品在线| 亚洲九九精品| 亚洲美女电影在线| 亚洲精品国产视频| 亚洲国产精品va在线观看黑人| 另类激情亚洲| 蜜桃av噜噜一区| 美玉足脚交一区二区三区图片| 久久亚洲精品中文字幕冲田杏梨| 久久精品国产96久久久香蕉| 午夜在线观看欧美| 羞羞视频在线观看欧美| 欧美在线亚洲在线| 久久久午夜视频| 欧美www在线| 最新高清无码专区| 最新国产成人av网站网址麻豆| 亚洲精品久久久一区二区三区| 91久久精品一区| 亚洲免费av网站| 正在播放欧美视频| 亚洲欧美在线x视频| 欧美在线播放一区二区| 久久精品国产第一区二区三区| 久久精彩视频| 免费在线看成人av| 欧美理论在线| 国产精品亚洲а∨天堂免在线| 国产农村妇女毛片精品久久莱园子| 国产日韩在线看| 亚洲第一综合天堂另类专| 91久久线看在观草草青青| 99一区二区| 久久se精品一区二区| 蜜桃av一区二区三区| 亚洲美女精品久久| 性欧美精品高清| 欧美不卡一区|