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

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

Wires

You can transmit a single bit on a wire. The purpose of a wire is to allow information to be transmitted.

It's useful to think of the wire like a pipe which you can send soda. Let's pretend a device can send two kinds of soda. If a device pumps red soda, then the wire is transmitting a 0. If a device pumps green soda, the wire is transmitting a 1.

A device can also pump no soda at all. In this case, the wire is at high impedance, which means it has neither value 0 or 1 (or perhaps more precisely, it has a random value of 0 or 1, which changes depending on when it is read).

When a device is pumping soda into the pipe, it can only pump red or green soda. No other device is allowed to pump soda onto the same wire. If some other device attempts to pump soda, then the wire will contain a garbage value. We assume there is a garbage value even if two devices are pumping soda of the same color.

The device that is pumping the soda is said to write a a value to the wire. We want to guarantee that there is, at most, single writer (there may be none).

Devices may "read" the wire as well. The device can "sample" the soda, and determine if it's red or green. If the device attempts to read the value of a pipe when it is empty, or if the device attempts to read the value when two or more devices attempt to pump soda, then we assume the value read is random. That is, it can either be a 0 or a 1, but we don't know which, and this value can change.

In order for us to make a stable system, we want devices reading when a pipe contains soda pumped by a single device.

More than one device can read from the wire, but at most one device can write to the wire.

Why the Soda Analogy?

You probably think it's weird to view a wire like a pipe containing soda. However, it gives us some insight into the working of a wire.

When you learn to program, you often think of values in discrete units. For example, suppose you want to run the statement: z = foo( x + y ). You think of x + y being computed, then this value sent to foo, then foo computing a return value, and this return value being stored in z.

Each event occurs in a discrete step.

However, it's better to think of a wire like water being sent to your home, or like electricity flowing down the wires. It's constantly flowing. This creates a more accurate image of what's happening in a circuit.

In reality, electrons are floating at some potential of either 0 or 5 volts (though these days, it's sometimes 3.3 volts) where 0 volts represents the bit 0, and 5 volts represents the value 1. If no voltage is asserted on the wire, the the voltage is ambiguous and essentially "floats".

These electrons are flowing through the wire, and devices can measure the potential of the wire to determine if there is a 0 or 1 on the wire.

We want to avoid two devices trying to assert (i.e. "write") voltages on the wires.

Specifying Behavior

It's useful to specify the behavior of the wire, using two devices attempting to write a value to a wire. Each device can do one of three things: write a 0, write a 1, or not write at all. When a device does not write a value, we'll use the letter Z, which is the symbol for "high impedance" (i.e., no output).

The following chart describes the behavior.

DeviceOneDeviceTwoWire Value
0 0 ?
0 1 ?
0 Z 0
1 0 ?
1 1 ?
1 Z 1
Z 0 0
Z 1 1
Z Z Z

The output is one of four values: 0, 1, Z, and ?. 0 and 1 should be obvious.

? occurs when two devices attempt to write to the wire at the same time. When a device reads from the bus it reads a value that's either 0 or 1, so it's unknown. We want to avoid having two devices write at the same time.

Z means that no device is writing to the wire. Reading a value from the wire also results in a value that's 0 or 1, but it's not known which. We want to avoid having a device read the wire when no device is writing to a wire.

Other Issues

In reality, we've avoided a few issues. In particular, we haven't discussed how fast we can change values on the wire. This can affect how fast the CPU works, but since this is not such an important issue, we won't discuss it much.
posted on 2007-01-23 14:17 Charles 閱讀(181) 評論(0)  編輯 收藏 引用 所屬分類: 拿來主義
<2007年1月>
31123456
78910111213
14151617181920
21222324252627
28293031123
45678910

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

常用鏈接

留言簿(4)

隨筆分類(70)

隨筆檔案(71)

charles推薦訪問

搜索

  •  

積分與排名

  • 積分 - 51541
  • 排名 - 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色诱视频| 在线亚洲+欧美+日本专区| 欧美在线黄色| 欧美粗暴jizz性欧美20| 国产精品区一区二区三区| 欧美大胆a视频| 亚洲国产精品传媒在线观看| 久久精品夜色噜噜亚洲aⅴ| 亚洲国产小视频在线观看| 亚洲人成在线影院| 国产精品日韩欧美一区二区三区 | 欧美日韩国产综合一区二区| 久久男女视频| 国产精品国产三级国产aⅴ浪潮 | 亚洲欧美99| 亚洲精选中文字幕| 欧美日韩在线综合| 亚洲九九九在线观看| 国模私拍一区二区三区| 一区二区三区高清不卡| 一区二区三欧美| 欧美日韩免费网站| 亚洲黄色精品| 一区二区日韩伦理片| 欧美xxx成人| 欧美大色视频| 国产一区二区三区免费观看| 欧美一区二区免费| 老牛国产精品一区的观看方式| 狠狠久久综合婷婷不卡| 中文一区二区| 亚洲欧美在线观看| 国内成人精品视频| 这里只有精品电影| 欧美一区二区日韩| 国产在线视频欧美| 美女露胸一区二区三区| 亚洲精品一区二区在线观看| 你懂的国产精品永久在线| 久久亚洲欧美| 亚洲欧美精品在线观看| 久久久水蜜桃| 亚洲欧美一区二区在线观看| 欧美成年人网| 欧美成人国产| 国产亚洲精品美女| 99精品视频一区| 亚洲三级影院| 久久天堂精品| 久久久久久久一区二区三区| 国产精品久久福利| 亚洲精品专区| 亚洲免费成人av| 亚洲无线视频| 亚洲第一精品在线| 在线精品高清中文字幕| 日韩一级二级三级| 欧美性感一类影片在线播放| 亚洲国产精品嫩草影院| 国语自产精品视频在线看抢先版结局| 在线一区免费观看| 国产精品99久久久久久久久久久久 | 国内精品久久久久国产盗摄免费观看完整版| 亚洲精品之草原avav久久| 在线日本高清免费不卡| 久久成人免费网| 久久久久久一区二区三区| 国产日韩精品久久久| 亚洲午夜电影| 欧美亚洲综合另类| 欧美日韩国产美| 欧美成人精品三级在线观看 | 蜜桃av一区二区三区| 韩国成人精品a∨在线观看| 欧美一级二区| 久久久爽爽爽美女图片| 国产精品美女久久久久久免费| 欧美激情2020午夜免费观看| 亚洲国产精品va在线看黑人| 麻豆久久婷婷| 最新国产成人在线观看| 一本色道久久综合亚洲精品按摩| 久久久久成人精品| 欧美xart系列高清| 亚洲精品美女在线观看播放| 欧美精品99| 日韩视频不卡| 欧美在线观看一区二区| 国产在线精品成人一区二区三区| 久久国产精品黑丝| 欧美激情aⅴ一区二区三区| 日韩视频―中文字幕| 久久综合九色综合欧美就去吻| 久久久久久欧美| 国产欧美高清| 香蕉成人伊视频在线观看 | 久久精品女人的天堂av| 欧美高清不卡| 亚洲永久免费视频| 国内精品一区二区三区| 免费成人激情视频| 亚洲深夜福利网站| 久久人人97超碰人人澡爱香蕉| 亚洲电影免费在线观看| 欧美gay视频激情| 一本一本久久a久久精品综合麻豆| 欧美女人交a| 亚洲欧美日韩精品久久久| 六月天综合网| 亚洲一级黄色片| 国语自产偷拍精品视频偷 | 久久精品国产2020观看福利| 1024欧美极品| 国产精品劲爆视频| 久久久久久噜噜噜久久久精品 | 欧美日韩在线直播| 玖玖玖国产精品| 亚洲一区二区视频在线| 久久精品视频免费观看| 1769国内精品视频在线播放| 久久久午夜电影| 在线视频欧美日韩精品| 欧美二区视频| 久久久久五月天| 午夜精品亚洲| 夜夜夜久久久| 亚洲国产一区二区视频| 国产一二精品视频| 国产精品欧美经典| 欧美电影美腿模特1979在线看| 亚洲欧美精品suv| 亚洲欧洲日产国产综合网| 亚洲免费影视| 国产精品久久久久久久午夜 | 亚洲女同精品视频| 亚洲激情视频网| 黄色成人av| 国产一区二区欧美日韩| 国产精品第一区| 欧美日本国产一区| 久久夜色精品国产欧美乱极品| 亚洲欧美区自拍先锋| 亚洲毛片av在线| 亚洲电影中文字幕| 欧美xx69| 欧美高清成人| 久久久91精品国产一区二区精品| 亚洲五月六月| 一本综合精品| 一本久久综合| av成人动漫| 99国产精品国产精品久久| 亚洲激情第一页| 91久久精品国产| 亚洲国产二区| 亚洲欧洲日本mm| 最新国产成人av网站网址麻豆| 狠狠爱综合网| 黄色另类av| 在线日韩中文字幕| 在线观看一区| 最新高清无码专区| 亚洲六月丁香色婷婷综合久久| 亚洲精品视频在线播放| 久久精品在线播放| 国产伦精品一区二区三区免费| 欧美日本不卡| 国产精品美女久久久| 国产精品一区二区久久精品| 国产毛片一区| 国产一区二区三区四区老人| 尤物99国产成人精品视频| 亚洲国产成人av在线| 亚洲精品五月天| 亚洲图片欧洲图片av| 亚洲欧美在线一区二区| 久久久久久网站| 欧美成人国产va精品日本一级| 久久精品人人做人人爽电影蜜月| 亚洲一区区二区| 亚洲一区二区三区四区五区黄| 国产欧美短视频| 欧美激情亚洲视频| 亚洲一区三区电影在线观看| 在线亚洲欧美视频| 亚洲午夜国产成人av电影男同| 亚洲免费在线视频| 可以免费看不卡的av网站| 欧美精品三级| 国产精品男gay被猛男狂揉视频| 黄色一区二区在线| 亚洲免费观看视频| 欧美一区不卡| 欧美福利精品| 亚洲图片自拍偷拍| 久热综合在线亚洲精品| 国产精品白丝jk黑袜喷水|