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

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 閱讀(429) 評(píng)論(0)  編輯 收藏 引用 所屬分類(lèi): 拿來(lái)主義
<2007年1月>
31123456
78910111213
14151617181920
21222324252627
28293031123
45678910

決定開(kāi)始寫(xiě)工作日記,記錄一下自己的軌跡...

常用鏈接

留言簿(4)

隨筆分類(lèi)(70)

隨筆檔案(71)

charles推薦訪問(wèn)

搜索

  •  

積分與排名

  • 積分 - 52317
  • 排名 - 447

最新評(píng)論

閱讀排行榜

評(píng)論排行榜

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <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>
            亚洲肉体裸体xxxx137| 91久久精品一区二区别| 一本到12不卡视频在线dvd| 欧美ed2k| 99re6这里只有精品视频在线观看| 欧美成人中文| 欧美国产专区| 国产精品啊啊啊| 亚洲春色另类小说| 欧美成人精品| 欧美精品粉嫩高潮一区二区 | 欧美亚洲视频| 欧美成人精品三级在线观看| 老司机aⅴ在线精品导航| 欧美系列亚洲系列| 欧美一区二区日韩| 亚洲国产裸拍裸体视频在线观看乱了中文| 亚洲精品黄色| 国产精品亚洲综合久久| 久久久www成人免费无遮挡大片 | 99v久久综合狠狠综合久久| 欧美日韩在线免费| 久久国产精品99国产| 亚洲精品123区| 久久精品成人一区二区三区蜜臀| 亚洲伊人伊色伊影伊综合网| 国产色视频一区| 欧美高清免费| 国产精品综合久久久| 欧美freesex8一10精品| 欧美午夜精品理论片a级大开眼界 欧美午夜精品理论片a级按摩 | 99精品欧美一区二区蜜桃免费| 国产精品久久久999| 久久综合一区二区| 国产精品www网站| 欧美α欧美αv大片| 国产精品久久久久9999高清| 亚洲精品一区二区三区99| 亚洲视频在线观看| 亚洲日本成人| 亚洲电影成人| 国内一区二区三区| 久久久精品网| 久久成人18免费网站| 亚洲午夜在线| 欧美高潮视频| 日韩网站免费观看| 久久久国产亚洲精品| 亚洲欧洲av一区二区| 亚洲一区二区综合| 国产伦精品一区| 久久精品夜色噜噜亚洲a∨| 亚洲专区免费| 亚洲深夜福利在线| 欧美激情国产高清| 欧美国产视频在线| 亚洲国产99| 久久午夜视频| 日韩午夜免费视频| 免费看精品久久片| 裸体丰满少妇做受久久99精品| 久久久久久网址| 久久精选视频| 国产区亚洲区欧美区| 亚洲先锋成人| 午夜精品一区二区三区在线| 欧美日韩一本到| 欧美在线啊v| 久久精品av麻豆的观看方式| 亚洲精品一区二区三区婷婷月| 欧美一区影院| 亚洲美女91| 午夜视频一区| 久久亚洲美女| 欧美激情综合网| 99国产精品久久久久久久成人热| 日韩视频免费大全中文字幕| 亚洲午夜在线观看| 欧美在线3区| 欧美大片网址| 欧美在线观看一区二区三区| 国产精品乱码一区二区三区| 亚洲一区自拍| 日韩亚洲精品电影| 性欧美xxxx视频在线观看| 欧美一级理论片| 国内一区二区在线视频观看| 欧美一区中文字幕| 欧美激情视频在线播放| 亚洲最新在线视频| 久久久精品动漫| 欧美成人午夜影院| 国产精品嫩草99av在线| 欧美一级视频精品观看| 免费在线亚洲| 亚洲在线免费观看| 国产在线高清精品| 亚洲视频在线观看网站| 亚洲激情视频网| 欧美一级片久久久久久久| 欧美成人一区二免费视频软件| 亚洲精品麻豆| 国产日韩一区二区| 欧美激情一区二区| 亚洲欧美伊人| 亚洲人成77777在线观看网| 午夜视频在线观看一区| 亚洲黄色av| 久久在线免费视频| 99国产精品99久久久久久| 亚洲日本成人| 国产亚洲精品资源在线26u| 亚洲永久在线观看| 亚洲第一网站| 亚洲啪啪91| 欧美va天堂| 91久久夜色精品国产网站| 久久精品人人| av不卡在线| 亚洲国产欧美日韩| 国产精品自拍一区| 欧美一区二区精品| 亚洲人成免费| 欧美ab在线视频| 久久久亚洲欧洲日产国码αv | 国产专区一区| 国产精品久久久久久五月尺| 亚洲桃花岛网站| 亚洲国产欧美不卡在线观看| 美女视频黄免费的久久| 欧美一区二区视频在线| 一区二区激情| 国产精品久在线观看| 亚洲视频自拍偷拍| 久久av老司机精品网站导航| 国产一区二区三区自拍| 国产精品分类| 羞羞色国产精品| 欧美成人激情在线| 宅男噜噜噜66一区二区66| 欧美视频日韩视频| 欧美日韩成人一区二区三区| 亚洲午夜一区| 噜噜噜噜噜久久久久久91| 欧美专区在线播放| 欧美在线影院| 久久久国产一区二区三区| 在线观看精品| 欧美日韩视频一区二区| 欧美日韩福利| 欧美有码在线视频| 欧美综合第一页| 亚洲精品社区| 99精品久久免费看蜜臀剧情介绍| 日韩视频免费观看高清完整版| 小黄鸭视频精品导航| 久久动漫亚洲| 亚洲免费观看| 亚洲午夜av在线| 欧美一级理论片| 99伊人成综合| 亚洲一区综合| 久久中文字幕一区| 欧美成人精品三级在线观看| 亚洲激情欧美激情| 一区二区三区导航| 欧美在线三区| 欧美不卡一区| 国产精品一区免费视频| 在线观看日韩www视频免费| 最近中文字幕日韩精品 | 国产欧美一区二区三区沐欲| 久久精品在线免费观看| 亚洲精品久久久久久久久久久久久 | 国产美女精品视频免费观看| 黄色另类av| 国产欧美大片| 欧美吻胸吃奶大尺度电影| 国产麻豆91精品| 亚洲国产精品久久久久久女王| 国产精品午夜在线观看| 狠狠色噜噜狠狠色综合久| 国产精品日韩精品| 在线成人激情| 亚洲视频日本| 中文国产一区| 久久久久久久久岛国免费| 亚洲黄页一区| 久久精品人人做人人爽电影蜜月| 一区二区三区欧美激情| 亚洲伦理久久| 久久精品国产99精品国产亚洲性色| 欧美大片免费| 怡红院av一区二区三区| 国产一区二区日韩精品| 国产精品麻豆欧美日韩ww| 欧美日韩99| 欧美三级在线视频| 亚洲欧洲一区二区三区| 久久精品国产v日韩v亚洲|