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

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>
            羞羞答答国产精品www一本 | 亚洲一区在线观看视频 | 久久精品99国产精品日本| 国产亚洲精品bt天堂精选| 国产精品xnxxcom| 国产精品视频在线观看| 国产精品视频你懂的| 国产精品伊人日日| 激情五月***国产精品| 在线日韩欧美视频| 夜夜嗨av一区二区三区网站四季av | 亚洲福利久久| 亚洲激情第一区| 亚洲视频在线一区| 欧美在线播放| 欧美激情aⅴ一区二区三区| 欧美老女人xx| 国产日韩欧美在线一区| 最近看过的日韩成人| 亚洲网站在线观看| 久久久综合激的五月天| 亚洲国产精品国自产拍av秋霞| 99re热精品| 欧美综合国产| 欧美日韩一区二区三区在线| 国产专区综合网| 99伊人成综合| 麻豆精品精华液| 一本综合久久| 免费不卡视频| 国产综合欧美| 亚洲欧美精品在线观看| 欧美激情一区| 久久久久久精| 国产亚洲精品久久久久婷婷瑜伽| 亚洲精品视频一区二区三区| 久久激情综合| 正在播放日韩| 欧美视频精品在线| 亚洲麻豆av| 欧美激情区在线播放| 欧美一区二区三区四区高清| 欧美亚洲第一页| 中文在线不卡| 亚洲日本成人网| 欧美阿v一级看视频| 1000精品久久久久久久久| 久久久久国产精品午夜一区| 亚洲一区二区精品视频| 欧美视频在线观看免费网址| 亚洲美洲欧洲综合国产一区| 欧美风情在线观看| 老司机午夜精品| 亚洲国产经典视频| 美日韩在线观看| 久久久久欧美精品| 在线播放国产一区中文字幕剧情欧美 | 久久久久久久久岛国免费| 亚洲精品极品| 欧美极品一区二区三区| 在线成人激情黄色| 久久一区国产| 久久久人成影片一区二区三区观看 | 在线综合欧美| 欧美午夜精彩| 一区二区久久久久| 亚洲乱码国产乱码精品精天堂| 欧美国产日韩一区二区| 日韩一级黄色片| 99精品久久久| 国产精品久久久久久久app| 亚洲一品av免费观看| 一区二区不卡在线视频 午夜欧美不卡在 | 亚洲精品老司机| 亚洲国产成人av在线| 欧美国产日韩在线| 中文在线不卡视频| 亚洲一区一卡| 激情久久婷婷| 亚洲激情自拍| 国产精品黄视频| 久久精品国产亚洲精品| 另类国产ts人妖高潮视频| 亚洲精品一区中文| 一区二区三区 在线观看视| 国产日韩精品一区二区浪潮av| 久久三级福利| 欧美精品1区2区| 午夜精品久久久久久久99热浪潮 | 亚洲视频免费观看| 亚洲欧美日韩另类| 亚洲第一在线综合网站| 一本大道久久精品懂色aⅴ| 国产日韩av在线播放| 亚洲国产99精品国自产| 国产精品毛片在线看| 免费成人激情视频| 国产精品a久久久久| 久久频这里精品99香蕉| 欧美日韩dvd在线观看| 美女网站久久| 午夜久久99| 欧美日韩成人一区二区| 亚洲黄色成人网| 亚洲欧洲综合另类| 欧美视频免费看| 玖玖视频精品| 国产精品毛片a∨一区二区三区|国 | 亚洲另类在线视频| 国产一区日韩欧美| 亚洲黄色在线视频| 国产一区二区三区网站| 日韩视频中文字幕| 韩国av一区二区三区在线观看| 亚洲国产欧美一区二区三区同亚洲| 欧美色大人视频| 欧美成人福利视频| 国产精品推荐精品| 亚洲国产日韩欧美| 韩日欧美一区二区三区| 亚洲午夜高清视频| 99re8这里有精品热视频免费| 香港成人在线视频| 一区二区三区四区五区精品| 麻豆成人小视频| 美脚丝袜一区二区三区在线观看| 国产精品综合不卡av| 99热在这里有精品免费| 亚洲激情成人| 美女久久网站| 久久综合激情| 国产真实乱偷精品视频免| 亚洲影视在线播放| 亚洲一区二区三区视频| 欧美日韩免费视频| 亚洲精品国久久99热| 最新日韩在线视频| 久久全国免费视频| 欧美成人免费va影院高清| 精品99一区二区| 久久精品观看| 久久免费国产| 一区三区视频| 美女图片一区二区| 亚洲激情在线播放| 亚洲伦伦在线| 欧美日韩直播| 亚洲一二三区在线| 欧美怡红院视频| 国产日本欧美一区二区三区| 亚洲你懂的在线视频| 久久久www免费人成黑人精品| 国产一区二区三区日韩欧美| 久久高清福利视频| 欧美电影免费观看高清| 亚洲精品少妇网址| 国产精品久久久久久久久久久久久| 中文国产成人精品久久一| 免费91麻豆精品国产自产在线观看| 久久亚洲精品视频| 亚洲黑丝在线| 欧美日韩日日骚| 午夜欧美理论片| 美女精品国产| av成人免费观看| 国产精品一区在线观看| 久久精品盗摄| 亚洲精品一区二区三区蜜桃久| 亚洲欧美在线看| 亚洲国产精品va在线看黑人| 欧美日本精品| 久久精品欧洲| 亚洲精品在线观看免费| 久久都是精品| 亚洲日本欧美| 国产亚洲精品激情久久| 欧美精品观看| 亚洲欧美在线免费观看| 欧美成人激情视频免费观看| 这里只有精品在线播放| 黄色亚洲免费| 国产精品久久精品日日| 美女日韩在线中文字幕| 亚洲深夜影院| 亚洲高清不卡一区| 久久精品亚洲精品| 日韩一级黄色片| 在线观看日韩av| 国产精品久久一区二区三区| 免费在线成人av| 久久精品欧美日韩| 亚洲一区免费视频| 日韩午夜剧场| 亚洲国产精品第一区二区三区 | 亚洲人被黑人高潮完整版| 国产精品亚洲综合色区韩国| 欧美日韩国产一区| 欧美成ee人免费视频| 欧美一区二区三区精品电影| 亚洲精品在线观看免费|