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

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>
            中文网丁香综合网| 亚洲日本电影在线| 久久综合色影院| 久久九九热免费视频| 欧美伊人久久| 久久久久**毛片大全| 久久最新视频| 欧美另类极品videosbest最新版本 | 亚洲风情亚aⅴ在线发布| 亚洲成人在线网站| 亚洲精品一区二区三区福利| 国产精品99久久久久久人| 亚洲桃花岛网站| 亚洲一区图片| 亚洲影院色无极综合| 欧美一区二区三区男人的天堂| 久久国产66| 亚洲国产精品久久人人爱蜜臀| 美女黄网久久| 日韩一级不卡| 久久精品一区四区| 欧美视频在线免费| 国内精品视频一区| 一区二区三区精品国产| 欧美在线观看天堂一区二区三区| 欧美a级一区| 亚洲天堂久久| 久久视频国产精品免费视频在线 | 欧美喷潮久久久xxxxx| 国产精品毛片大码女人| 亚洲高清在线播放| 亚洲一区二区三区免费视频| 久久久久se| 一区二区三区国产在线| 欧美在线啊v一区| 欧美日韩性生活视频| 黄色成人在线网址| 一区二区三区鲁丝不卡| 欧美**字幕| 午夜精品福利在线观看| 欧美精品色综合| 在线欧美视频| 久久久久久9| 亚洲视频导航| 欧美女激情福利| 亚洲肉体裸体xxxx137| 久久久久久穴| 亚洲欧美日本国产有色| 欧美日韩一卡二卡| 日韩一区二区久久| 欧美福利影院| 久色成人在线| 亚洲国产精品综合| 欧美国产日韩精品| 久久人人超碰| 亚洲人成网在线播放| 免费亚洲一区二区| 久久久久久网站| 国产亚洲精品高潮| 久久精品国产亚洲a| 性欧美大战久久久久久久久| 国产毛片一区| 久久精品观看| 久久精品导航| 又紧又大又爽精品一区二区| 久久精品视频在线| 久久精品国产精品亚洲综合| 黄色在线一区| 亚洲国产成人高清精品| 欧美国产日韩一区| 韩国成人精品a∨在线观看| 美女日韩在线中文字幕| 在线播放豆国产99亚洲| 免费美女久久99| 裸体一区二区| 日韩一级裸体免费视频| 99精品国产在热久久婷婷| 国产精品videosex极品| 欧美亚洲一区二区在线| 久久精品欧美| 99精品视频网| 亚洲午夜视频| 伊人狠狠色j香婷婷综合| 亚洲第一页自拍| 欧美午夜精品理论片a级大开眼界 欧美午夜精品理论片a级按摩 | 久久躁狠狠躁夜夜爽| 久久综合九色综合网站| 亚洲精选视频在线| 亚洲一区亚洲二区| 在线不卡中文字幕播放| 亚洲精品视频免费在线观看| 国产精品亚洲成人| 欧美电影免费观看高清| 国产精品国产三级国产普通话蜜臀 | 国产欧美一区二区三区另类精品 | 国产美女一区| 欧美激情免费观看| 国产精品亚洲产品| 亚洲日本va午夜在线电影| 国产日韩欧美在线播放| 亚洲激情女人| 黄色国产精品| 亚洲一区二区三区高清 | 亚洲一区二区在线免费观看| 亚洲第一中文字幕| 亚洲制服欧美中文字幕中文字幕| 在线观看亚洲一区| 亚洲永久字幕| 亚洲视频免费观看| 欧美va亚洲va日韩∨a综合色| 欧美一区二区三区播放老司机| 老司机免费视频一区二区| 欧美一区二区三区日韩| 欧美日韩视频免费播放| 亚洲缚视频在线观看| 91久久精品一区| 亚洲第一视频| 国产欧美va欧美va香蕉在| 亚洲国内精品| 又紧又大又爽精品一区二区| 亚洲欧美第一页| 亚洲午夜激情| 欧美剧在线观看| 欧美激情五月| 在线免费观看日本一区| 欧美一区2区三区4区公司二百| 亚洲图片自拍偷拍| 欧美激情一区二区久久久| 久久综合给合| 黑人一区二区| 久久国产主播精品| 久久成人国产精品| 国产日韩精品一区二区三区在线| 一本色道久久综合狠狠躁篇怎么玩| 亚洲精品视频免费在线观看| 久热爱精品视频线路一| 欧美国产成人精品| 亚洲黄色小视频| 欧美国产日本在线| 亚洲日本国产| 亚洲午夜伦理| 国产精品视频第一区| 亚洲欧美日韩国产一区二区三区| 亚洲综合色激情五月| 国产美女精品视频免费观看| 午夜久久影院| 免费成人在线观看视频| 在线观看不卡av| 欧美肥婆在线| 一本色道久久综合亚洲精品不| 中文国产亚洲喷潮| 国产乱码精品一区二区三区不卡 | 午夜精品一区二区三区在线| 久久成人国产精品| 伊人久久男人天堂| 快播亚洲色图| 日韩视频在线一区二区| 亚洲欧美日韩直播| 红桃视频一区| 欧美精品久久久久久久| 一区二区三区免费网站| 久久久99精品免费观看不卡| 亚洲大胆av| 欧美性一二三区| 久久国产精品久久久| 亚洲国产成人精品视频| 亚洲淫性视频| 在线看成人片| 国产精品久久久久999| 欧美在线观看网址综合| 亚洲国产电影| 欧美在线视频在线播放完整版免费观看 | 一区二区三区色| 国产伦精品一区二区三区| 久久手机精品视频| 亚洲午夜影视影院在线观看| 蜜桃久久精品乱码一区二区| 一区二区精品| 亚洲第一天堂无码专区| 国产精品高清免费在线观看| 久久人91精品久久久久久不卡| 国产一区二区在线观看免费| 欧美~级网站不卡| 一区二区三区.www| 国产亚洲精品综合一区91| 欧美激情一区二区三区高清视频| 亚洲综合第一页| 亚洲国产欧美一区二区三区同亚洲| 亚洲欧美在线视频观看| 亚洲国产成人av好男人在线观看| 国产精品久久久久9999| 欧美韩日精品| 久久日韩精品| 欧美一级在线亚洲天堂| 妖精成人www高清在线观看| 欧美激情第六页| 老司机久久99久久精品播放免费| 亚洲欧美日韩网| 亚洲性夜色噜噜噜7777| 亚洲美女av电影|