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

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

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

常用鏈接

留言簿(4)

隨筆分類(70)

隨筆檔案(71)

charles推薦訪問

搜索

  •  

積分與排名

  • 積分 - 52298
  • 排名 - 447

最新評論

閱讀排行榜

評論排行榜

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <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>
            尤物九九久久国产精品的分类| 悠悠资源网亚洲青| 亚洲午夜一级| 在线一区二区三区做爰视频网站| 欧美精品久久久久久| 一本色道久久综合亚洲精品高清| 亚洲欧洲在线一区| 欧美激情欧美激情在线五月| 一本色道久久| 亚洲小少妇裸体bbw| 国产一区二区三区四区三区四 | 国产在线观看一区| 猛干欧美女孩| 欧美精品成人在线| 翔田千里一区二区| 久久国产色av| 日韩视频中文| 亚洲欧美三级在线| 亚洲国产欧美精品| 一本大道久久a久久精二百| 国产欧美一区二区视频| 免费亚洲电影在线| 国产精品第三页| 久久精品国产精品| 欧美黄色日本| 久久精品二区三区| 欧美黄在线观看| 欧美专区亚洲专区| 欧美第一黄网免费网站| 性色av一区二区三区红粉影视| 性欧美激情精品| 99精品久久免费看蜜臀剧情介绍| 亚洲欧美经典视频| 亚洲欧洲免费视频| 久久成人免费电影| 一区二区三区欧美| 老司机午夜免费精品视频 | 国内精品免费在线观看| 欧美激情自拍| 国产色综合久久| 亚洲九九精品| 伊人久久久大香线蕉综合直播 | 欧美1区2区视频| 欧美性猛交xxxx乱大交蜜桃| 美女被久久久| 国产精品一区一区| 亚洲人体大胆视频| 在线看国产一区| 性欧美8khd高清极品| 亚洲一区二区在线| 欧美激情bt| 欧美成人小视频| 国产午夜精品理论片a级大结局| 亚洲精品国精品久久99热| 黑人巨大精品欧美一区二区小视频| 99国产精品视频免费观看| 亚洲欧洲一区二区天堂久久 | 久久亚洲不卡| 国产精品一二三四| 亚洲一区二区三区免费观看| 一本色道久久综合狠狠躁篇的优点 | 亚洲免费网址| 欧美三级视频在线| 99re6热在线精品视频播放速度| 亚洲国产清纯| 欧美mv日韩mv亚洲| 亚洲电影免费观看高清完整版在线 | 久久久久高清| 蜜月aⅴ免费一区二区三区 | 久久婷婷综合激情| 久久一区二区视频| 激情文学综合丁香| 久久午夜色播影院免费高清| 久久久免费av| 国产综合久久久久久鬼色| 新67194成人永久网站| 久久激情视频久久| 海角社区69精品视频| 久久国产精品一区二区三区四区| 久久先锋影音| 亚洲韩国青草视频| 欧美日本高清| 中文欧美日韩| 久久成人综合网| 曰韩精品一区二区| 欧美国产第二页| 一区二区三区高清在线观看| 亚洲欧美日韩国产| 国产一区二区丝袜高跟鞋图片| 久久久999成人| 欧美成人影音| 亚洲天堂激情| 国产欧美一区二区精品婷婷| 久久福利电影| 亚洲大片精品永久免费| 中文一区二区在线观看| 国产精品毛片在线| 久久人人爽国产| 日韩亚洲欧美高清| 久久国产综合精品| 亚洲精品裸体| 国产精品一二三视频| 浪潮色综合久久天堂| 亚洲精品久久久久久一区二区| 亚洲欧美日韩国产| 亚洲国产精品久久久| 欧美性色综合| 久久久噜噜噜久久中文字免| 日韩亚洲欧美一区| 欧美14一18处毛片| 午夜综合激情| 亚洲美女性视频| 国产一区二区精品久久99| 欧美电影免费| 欧美在线影院| 99视频在线观看一区三区| 久久一区二区三区四区五区| 夜夜精品视频一区二区| 国内久久视频| 国产乱码精品一区二区三区五月婷| 久久婷婷国产综合国色天香| 亚洲调教视频在线观看| 亚洲区中文字幕| 老司机精品导航| 欧美一区二区三区精品电影| 亚洲精品视频在线看| 在线播放日韩欧美| 国产视频不卡| 国产精品久久久久久久久免费樱桃| 蜜臀a∨国产成人精品| 欧美一区二区视频在线| 亚洲欧美国产一区二区三区| 日韩视频三区| 亚洲三级视频| 亚洲高清视频的网址| 久久免费精品视频| 久久九九热re6这里有精品| 亚洲欧美激情诱惑| 亚洲视频久久| 制服丝袜亚洲播放| 一本一道久久综合狠狠老精东影业| 在线精品一区二区| 1000部国产精品成人观看| 韩国av一区| 国语自产在线不卡| 一区二区三区在线观看视频| 国产伊人精品| 今天的高清视频免费播放成人| 国产日韩欧美日韩| 国产日韩精品一区二区三区 | 久久亚洲国产成人| 久久久久久久激情视频| 久久精品国产成人| 久久深夜福利免费观看| 久久综合狠狠| 欧美激情第二页| 欧美精品日韩一区| 欧美视频在线免费| 国产精品美女在线| 国产视频精品va久久久久久| 韩日欧美一区二区三区| 在线看国产一区| 99精品久久久| 亚洲欧美日韩国产| 久久久久久久久久看片| 噜噜噜噜噜久久久久久91| 免播放器亚洲一区| 亚洲人成网站影音先锋播放| 99国产欧美久久久精品| 亚洲一区二区三| 久久免费视频在线观看| 欧美精品91| 国产片一区二区| 亚洲国产成人久久| 亚洲网站视频| 久久久国产精品亚洲一区| 亚洲电影免费在线观看| 亚洲一区二区三区在线视频| 久久精品一区中文字幕| 欧美国产日韩一区二区在线观看| 欧美手机在线| 在线看国产一区| 亚洲一级二级| 美女爽到呻吟久久久久| 99国产欧美久久久精品| 久久精品国产一区二区电影| 欧美刺激午夜性久久久久久久| 国产精品捆绑调教| 最近中文字幕日韩精品| 香蕉成人啪国产精品视频综合网| 欧美.日韩.国产.一区.二区| 中国成人黄色视屏| 蜜桃久久精品一区二区| 国产伦精品一区二区三区免费| 亚洲激情av在线| 久久久精品国产99久久精品芒果| 亚洲激情视频在线| 久久久精彩视频| 国产伦精品一区二区| 亚洲毛片一区|