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

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久久做| 卡一卡二国产精品| 亚洲性线免费观看视频成熟| 久久视频这里只有精品| 欧美一区二区在线看| 亚洲一区二区三区成人在线视频精品| 韩国亚洲精品| 国产一区二区av| 韩国一区二区三区在线观看| 国产精品五区| 在线观看视频欧美| 在线观看91精品国产入口| 国模私拍一区二区三区| 国产在线一区二区三区四区| 国产三区精品| 亚洲人成网在线播放| 99国产精品久久久久久久成人热| 亚洲午夜精品一区二区三区他趣| 亚洲小说欧美另类社区| 久久精品国产免费观看| 男人的天堂亚洲| 国产精品免费观看视频| 在线观看视频亚洲| 亚洲欧美日韩国产一区二区三区 | 亚洲国产精品久久久久久女王| 欧美专区在线播放| 亚洲福利专区| 久久99在线观看| 国产欧美日韩综合精品二区| 亚洲欧美网站| 亚洲国产一区二区视频| 久久这里只有| 国产精品99久久99久久久二8| 亚洲一区二区三区欧美| 国产精品扒开腿做爽爽爽视频| 亚洲专区免费| 男女视频一区二区| 亚洲欧美日本国产有色| 国产欧美亚洲精品| 午夜一级在线看亚洲| 久久女同精品一区二区| 欧美日韩国产成人在线91| 在线看欧美视频| 欧美激情精品久久久久久黑人| 久久成人国产| 尤妮丝一区二区裸体视频| 亚洲电影免费| 99国产精品视频免费观看| 国产精品色网| 亚洲国产成人在线视频| 亚洲一区二区精品在线| 亚洲精品一区二区三区四区高清| 噜噜噜91成人网| 亚洲午夜在线观看视频在线| 亚洲视频1区| 亚洲国产精品高清久久久| 亚洲人成小说网站色在线| 欧美日韩中文在线| 巨乳诱惑日韩免费av| 欧美激情一区在线观看| 亚洲女人小视频在线观看| 久久久精品动漫| 亚洲欧美精品中文字幕在线| 久久精品国产久精国产爱| 一区二区日韩伦理片| 欧美在线看片| 久久不射网站| 国产精品成人久久久久| 亚洲成人自拍视频| 国内精品亚洲| 欧美亚洲综合久久| 中文一区字幕| 欧美精品v国产精品v日韩精品| 久久激情网站| 国产日韩欧美一区二区| 亚洲精品视频在线| 亚洲人成高清| 欧美精品系列| 亚洲精选国产| 亚洲一区二区三区四区中文| 欧美日韩www| 99精品欧美一区二区三区| 99综合精品| 国产精品视频久久久| 亚洲一区精品视频| 国产精品呻吟| 羞羞色国产精品| 久久人人97超碰国产公开结果| 国产伊人精品| 欧美精品三级| 性欧美大战久久久久久久免费观看 | 欧美精品久久99| 中文网丁香综合网| 久久gogo国模裸体人体| 91久久精品www人人做人人爽| 欧美电影免费观看高清| 在线亚洲精品福利网址导航| 久久aⅴ乱码一区二区三区| 亚洲第一精品在线| 国产精品欧美经典| 欧美激情一区二区久久久| 亚洲欧美激情一区| 亚洲精品视频在线播放| 久久综合国产精品| 亚洲欧美另类在线| 妖精成人www高清在线观看| 国产在线视频欧美| 国产精品久久久久久福利一牛影视| 欧美呦呦网站| 香蕉久久国产| 午夜视频在线观看一区| 日韩视频免费在线| 亚洲国产婷婷综合在线精品| 久久久精品2019中文字幕神马| 中日韩午夜理伦电影免费| 亚洲国产精品va在线看黑人动漫| 国产精品视频内| 亚洲精品视频免费观看| 国产综合亚洲精品一区二| 亚洲免费在线看| 国产综合在线视频| 亚洲精品久久久久久一区二区| 最新亚洲一区| 国产亚洲欧美一区二区三区| 亚洲第一黄色网| 欧美激情综合| 91久久在线观看| 国产精品午夜春色av| 亚洲香蕉在线观看| 久久综合色天天久久综合图片| 亚洲成人直播| 欧美高清视频一二三区| 日韩网站在线| 久久国产99| 国产精品国产三级欧美二区| 性欧美1819sex性高清| 久久国产精品亚洲va麻豆| 久久久亚洲精品一区二区三区| 久久婷婷蜜乳一本欲蜜臀| 欧美激情一区二区三区蜜桃视频| 欧美视频日韩| 亚洲电影第1页| 亚洲欧美日本视频在线观看| 久久久久久久尹人综合网亚洲| 欧美黑人在线观看| 亚洲自拍偷拍福利| 欧美精品日韩一区| 日韩视频不卡| 国产视频一区二区三区在线观看| 国产精品亚洲综合一区在线观看| 国产人成精品一区二区三| 亚洲精品在线电影| 亚洲电影av在线| 久久精品亚洲国产奇米99| 国产精品久久久亚洲一区| 日韩午夜电影av| 亚洲欧洲精品天堂一级| 另类酷文…触手系列精品集v1小说| 国产精品中文字幕在线观看| 亚洲欧美日韩国产中文在线| 欧美r片在线| 欧美精品二区| 亚洲天堂av高清| 久久久久久噜噜噜久久久精品| 欧美精品激情在线| 一区二区三区四区五区精品| 麻豆国产精品777777在线| 久久久久国产精品一区二区| 黄色成人av网站| 欧美黄色小视频| 欧美日韩综合视频| 亚洲网站在线播放| 久久精品成人| 日韩午夜在线视频| 亚洲欧美国产一区二区三区| 国产自产2019最新不卡| 欧美丰满高潮xxxx喷水动漫| 欧美激情综合| 美女视频黄a大片欧美| 欧美日本三级| 免费观看一级特黄欧美大片| 欧美精品在线免费观看| 久久精品国产一区二区三| 欧美精品在线一区| 亚洲欧美自拍偷拍| 欧美成人自拍| 毛片精品免费在线观看| 国产精品精品视频| 亚洲国产日韩综合一区| 国产一区二区三区在线观看免费 | 亚洲女优在线| 狼狼综合久久久久综合网| 久久精品国产v日韩v亚洲| 欧美精品免费播放| 亚洲人成网站在线观看播放| 亚洲激情欧美| 欧美精品1区| 一本色道久久综合亚洲精品不卡| 亚洲黄网站在线观看|