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

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>
            狂野欧美性猛交xxxx巴西| 亚洲日韩视频| 欧美日韩在线视频首页| 久久久久这里只有精品| 久久亚洲精品视频| 国产精品黄色在线观看| 亚洲日本黄色| 免费不卡在线视频| 久久精品成人| 国产日韩精品在线观看| 亚洲欧美久久久久一区二区三区| 欧美国产1区2区| 国产视频在线观看一区 | 99精品久久久| 欧美福利电影在线观看| 亚洲第一中文字幕| 亚洲国产91| 麻豆乱码国产一区二区三区| 亚洲大片av| 欧美国产精品一区| 欧美精品久久久久久久| 国产在线欧美| av成人老司机| 亚洲午夜电影网| 亚洲九九精品| 久久免费一区| 日韩视频欧美视频| 日韩写真视频在线观看| 欧美偷拍另类| 久久综合五月| 国产精品xnxxcom| 另类激情亚洲| 欧美日韩精品免费看 | 日韩午夜剧场| 亚洲欧美视频在线观看| 国产日韩欧美综合在线| 欧美性做爰毛片| 久久男女视频| 国产精品久久久久久久久久妞妞 | 亚洲一二三区视频在线观看| 欧美一区二区三区播放老司机| 国产日韩专区| 中国亚洲黄色| 亚洲伦理中文字幕| 久久国产精品一区二区三区| 在线综合亚洲欧美在线视频| 欧美 日韩 国产一区二区在线视频| 亚洲免费观看视频| 美玉足脚交一区二区三区图片| 香蕉久久精品日日躁夜夜躁| 欧美日韩一级大片网址| 亚洲国产影院| 最新热久久免费视频| 亚洲欧美日韩在线播放| 亚洲人在线视频| 国产欧美视频在线观看| 亚洲制服丝袜在线| 久久精品日韩| 在线观看亚洲精品视频| 久久久久久久久久久成人| 亚洲素人一区二区| 一本大道久久精品懂色aⅴ| 亚洲综合欧美日韩| 久久久久久久久久看片| 亚洲综合大片69999| 国产欧美精品一区| 美女露胸一区二区三区| 久久亚洲欧美| 夜夜嗨av一区二区三区四区| 一本色道久久88综合日韩精品| 欧美日韩一二区| 久久成人国产| 久久永久免费| 国产私拍一区| 91久久国产精品91久久性色| 欧美视频中文字幕在线| 免费成人高清在线视频| 欧美日韩理论| 久久野战av| 国产精品视频男人的天堂| 亚洲精品乱码久久久久久蜜桃麻豆| 1024日韩| 黄色成人免费观看| 国产亚洲欧美激情| 国产精品毛片大码女人| 欧美精品一区二区在线观看| 免费一级欧美片在线观看| 国产女人精品视频| 欧美国产日韩在线观看| 美女网站在线免费欧美精品| 99re成人精品视频| 久久久欧美精品| 免费看精品久久片| 在线高清一区| 久久久久久夜精品精品免费| 欧美一区二区三区四区夜夜大片| 欧美精品久久一区| 91久久精品国产91性色tv| 亚洲国产天堂久久国产91| 久久久精品免费视频| 久久精品最新地址| 国产一区二区三区直播精品电影| 久久精品女人天堂| 性欧美大战久久久久久久久| 亚洲精选在线| 欧美视频官网| 久久精品国产久精国产爱| 久久一区二区三区国产精品| 国产亚洲精品久久久| 久久精品视频在线看| 欧美国产日产韩国视频| 国产九九精品| 麻豆精品国产91久久久久久| 亚洲破处大片| 久久精品夜色噜噜亚洲aⅴ| 在线看视频不卡| 欧美日韩在线精品| 久久精品国产久精国产一老狼| 亚洲一区在线直播| 欧美www在线| 亚洲欧美综合v| 亚洲巨乳在线| 伊伊综合在线| 国产日韩在线播放| 蜜桃av一区二区三区| 亚洲精品免费在线观看| 91久久精品国产91性色tv| 久久综合综合久久综合| 久久都是精品| 欧美一区日本一区韩国一区| 亚洲视频视频在线| 亚洲天堂av在线免费| 亚洲欧洲日本国产| 在线观看不卡av| 亚洲国产另类 国产精品国产免费| 国产精品国产三级欧美二区| 欧美日韩精品一区二区三区四区| 美女爽到呻吟久久久久| 欧美大胆成人| 欧美理论电影在线观看| 欧美精品免费观看二区| 欧美国产日本在线| 欧美视频你懂的| 国产麻豆精品久久一二三| 狠狠干综合网| 一区二区冒白浆视频| 西西人体一区二区| 亚洲大胆av| 亚洲丁香婷深爱综合| 久久婷婷久久| 亚洲欧美日韩一区二区在线| 欧美日本精品在线| 亚洲清纯自拍| 亚洲国产精品999| 亚洲三级色网| 欧美激情91| 免费观看日韩av| 亚洲人成网站999久久久综合| 久久久久一本一区二区青青蜜月| 亚洲日韩成人| 欧美xxxx在线观看| 亚洲区国产区| 亚洲精品一区在线| 欧美日韩精品久久久| 欧美高清视频| 久久精品一区蜜桃臀影院 | 老司机免费视频久久| 精品69视频一区二区三区| 女仆av观看一区| 欧美精品免费在线观看| aa级大片欧美| 亚洲欧美日韩天堂一区二区| 一区二区三区在线不卡| 亚洲精品1234| 国产日韩亚洲欧美精品| 女仆av观看一区| 欧美午夜在线一二页| 久久夜色精品国产欧美乱| 欧美黄色免费| 久久久久久欧美| 欧美体内she精视频在线观看| 久久久www成人免费无遮挡大片| 久久婷婷国产综合精品青草| 中日韩男男gay无套| 久久午夜国产精品| 午夜精品免费在线| 欧美人与性禽动交情品| 久久综合99re88久久爱| 国产精品久久久久久久7电影| 玖玖综合伊人| 韩国精品在线观看| 中国日韩欧美久久久久久久久| 亚洲经典一区| 永久免费精品影视网站| 久久成人免费电影| 久久久国产一区二区| 国产精品欧美一区二区三区奶水 | 亚洲激情在线视频| 你懂的国产精品永久在线| 欧美福利专区|