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

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>
            久久久免费精品视频| 美日韩精品免费观看视频| 亚洲精品久久久一区二区三区| 亚洲欧洲日产国码二区| 亚洲主播在线观看| 欧美绝品在线观看成人午夜影视| 国产人成精品一区二区三| 一区二区免费在线观看| 欧美激情第三页| 另类国产ts人妖高潮视频| 国产偷国产偷精品高清尤物| 亚洲一区二区三区三| 日韩视频在线一区| 欧美日韩国产欧| 中文欧美字幕免费| 999亚洲国产精| 欧美日韩一区二区欧美激情| 99国产精品久久久久久久久久| 亚洲国产成人在线| 欧美激情视频免费观看| 亚洲人成人一区二区在线观看| 欧美va亚洲va日韩∨a综合色| 久久精品理论片| 精品福利电影| 欧美韩日视频| 欧美日韩成人在线| 亚洲欧美在线高清| 久久婷婷久久一区二区三区| 日韩一级黄色片| 亚洲三级免费| 欧美日韩国产限制| 亚洲欧美美女| 欧美一区二区成人6969| 国产亚洲欧美日韩精品| 久久亚洲私人国产精品va媚药| 久久精品国产第一区二区三区最新章节| 国产一区二区三区网站 | 亚洲黑丝一区二区| 亚洲国产精品久久久久| 欧美日韩国产免费| 久久se精品一区二区| 久久综合九色欧美综合狠狠| 日韩亚洲欧美成人一区| 亚洲无线观看| 在线观看一区二区视频| 亚洲人成人一区二区在线观看| 欧美午夜精品久久久久免费视 | 日韩视频在线你懂得| 欧美午夜在线观看| 久久精品最新地址| 欧美高清在线视频| 亚洲自拍啪啪| 久久亚洲精品视频| 亚洲先锋成人| 久久久精品国产免大香伊| 亚洲精品少妇30p| 亚洲影视在线播放| 亚洲人成免费| 欧美一区永久视频免费观看| 亚洲区在线播放| 午夜一区在线| 中日韩美女免费视频网址在线观看 | 欧美一区二区三区播放老司机| 另类酷文…触手系列精品集v1小说| 亚洲一区二区精品在线| 久久久久久**毛片大全| 亚洲影音一区| 欧美精品免费在线| 男女av一区三区二区色多| 国产精品国产自产拍高清av| 欧美激情影院| 在线日韩成人| 午夜性色一区二区三区免费视频| 亚洲日本中文字幕| 久久久免费观看视频| 欧美亚洲一级| 欧美小视频在线观看| 亚洲精选视频免费看| 91久久久久久国产精品| 久久精品国产免费观看| 欧美一激情一区二区三区| 亚洲精品日产精品乱码不卡| 国内精品久久久久影院薰衣草| 在线一区二区三区四区| 夜夜狂射影院欧美极品| 玖玖国产精品视频| 另类尿喷潮videofree| 国产欧美日韩不卡| 亚洲一区二区三区免费视频| 亚洲视频碰碰| 欧美日韩在线播放一区二区| 亚洲激情av| 日韩视频不卡中文| 欧美肥婆bbw| 亚洲国产精品精华液2区45| 亚洲国产91| 欧美激情成人在线视频| 亚洲欧洲中文日韩久久av乱码| 亚洲免费av片| 欧美日韩视频专区在线播放| 亚洲免费观看高清在线观看 | 欧美国产欧美亚洲国产日韩mv天天看完整| 国产亚洲一区精品| 久久国产99| 蜜桃av综合| 亚洲国产小视频在线观看| 欧美bbbxxxxx| 亚洲精品乱码久久久久久蜜桃麻豆 | 国产精品网站视频| 亚洲欧美不卡| 久久蜜桃精品| 亚洲人www| 国产精品国产亚洲精品看不卡15| 亚洲在线播放电影| 久久青草久久| 亚洲国产精品一区二区www| 欧美精品久久久久久久免费观看 | 亚洲视频综合| 久久久久久久国产| 91久久精品国产91性色| 欧美美女操人视频| 中文亚洲视频在线| 久久精品色图| 最新亚洲视频| 国产精品九九久久久久久久| 欧美在线观看视频一区二区| 欧美高清不卡| 亚洲欧美另类国产| 国产精品日韩一区二区| 久久精品视频亚洲| 亚洲肉体裸体xxxx137| 欧美专区第一页| 亚洲国产精品成人精品| 欧美视频一区二区三区四区| 亚洲欧美日韩一区在线观看| 欧美www视频| 亚洲一区免费在线观看| 国产午夜一区二区三区| 欧美风情在线观看| 亚洲一区久久| 欧美激情中文字幕乱码免费| 国产精品自拍小视频| 久久久99爱| 中文久久精品| 欧美国产第二页| 亚洲欧美日韩精品久久| 最近中文字幕mv在线一区二区三区四区| 欧美日韩在线大尺度| 欧美一级夜夜爽| 国产精品丝袜91| 91久久综合| 午夜综合激情| 中文一区字幕| 欧美日韩在线免费观看| 最新国产成人av网站网址麻豆 | 国产一区二区三区高清播放| 亚洲美女啪啪| 欧美极品在线视频| 欧美国内亚洲| 久久久久久网址| 亚洲性线免费观看视频成熟| 狠狠88综合久久久久综合网| 国产精品成av人在线视午夜片| 你懂的视频一区二区| 久久蜜臀精品av| 欧美在线观看天堂一区二区三区| 亚洲精品资源美女情侣酒店| 红杏aⅴ成人免费视频| 国产精品色网| 国产精品国产三级国产普通话蜜臀| 老司机成人网| 久久久亚洲人| 欧美一区二区三区在线| 亚洲欧美综合国产精品一区| 99国产精品自拍| 亚洲国产黄色| 老司机免费视频久久| 久久久久久久精| 久久米奇亚洲| 久久综合中文| 久久久久国色av免费观看性色| 亚洲男人的天堂在线| 99国产精品久久久久久久| 亚洲黄色成人| 亚洲国产裸拍裸体视频在线观看乱了中文 | 国产精品综合视频| 国产精品久久久91| 国产精品久久久久久模特| 欧美日韩亚洲精品内裤| 欧美另类人妖| 欧美日韩三级| 国产精品成人v| 国产精品美腿一区在线看| 国产精品人人做人人爽| 国产精品一区二区三区观看| 国产精品免费观看视频| 国产麻豆日韩| 韩日午夜在线资源一区二区| 国语精品中文字幕| 狠狠狠色丁香婷婷综合激情|