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

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>
            国产精品自拍一区| 欧美日韩在线观看一区二区三区 | 亚洲激情二区| 免费日韩精品中文字幕视频在线| 在线播放视频一区| 亚洲第一网站免费视频| 欧美激情中文不卡| 午夜免费日韩视频| 久久精品视频免费播放| 亚洲高清视频的网址| 99国产精品国产精品久久| 国产精品电影网站| 久久综合给合| 欧美日韩日本网| 久久久久一本一区二区青青蜜月| 久久婷婷国产综合精品青草| 在线视频欧美日韩| 午夜影院日韩| 99精品国产福利在线观看免费| 亚洲午夜视频在线观看| 一区在线电影| 宅男精品视频| 亚洲国产高清视频| 亚洲午夜久久久| 亚洲精品123区| 亚洲女人小视频在线观看| 亚洲二区视频在线| 亚洲一区二区三区国产| 亚洲高清影视| 午夜精品久久久久99热蜜桃导演| 亚洲欧洲精品一区二区三区不卡 | 午夜精品在线看| 免费一级欧美片在线播放| 亚洲性感激情| 免费亚洲电影在线观看| 欧美在线亚洲综合一区| 欧美精品亚洲一区二区在线播放| 久久精品欧美日韩精品| 国产精品v欧美精品∨日韩| 欧美韩日一区二区| 国产一区二区三区免费观看| 99亚洲视频| 亚洲美女黄网| 六月婷婷久久| 久久久之久亚州精品露出| 国产精品久久久久av免费| 亚洲大胆视频| 亚洲黄色在线观看| 性感少妇一区| 欧美一区二区三区在线看| 欧美日韩精品综合| 亚洲国产一区二区三区a毛片| 极品尤物av久久免费看| 午夜精品美女自拍福到在线 | 国产欧美日韩在线播放| 中日韩视频在线观看| 中国女人久久久| 欧美极品欧美精品欧美视频| 亚洲第一二三四五区| 亚洲高清不卡一区| 久久综合精品一区| 欧美大片在线看| 亚洲激情偷拍| 欧美电影美腿模特1979在线看| 欧美顶级少妇做爰| 亚洲日本激情| 欧美激情精品久久久久久| 亚洲国内高清视频| 一区二区三区欧美| 国产精品久久久久9999| 亚洲主播在线| 久久精品一二三区| 激情欧美一区二区三区在线观看| 欧美中文字幕视频| 免费亚洲一区二区| 亚洲精品一区二区三区在线观看| 欧美大片免费久久精品三p| 亚洲伦理网站| 午夜电影亚洲| 激情六月婷婷综合| 欧美1区2区视频| 亚洲日本无吗高清不卡| 亚洲欧美日韩天堂| 国产一区二区三区精品欧美日韩一区二区三区 | 香蕉久久夜色精品国产| 性色一区二区| 欧美国产专区| 日韩视频精品| 亚洲狼人精品一区二区三区| 欧美日韩精品高清| 亚洲欧美激情精品一区二区| 久久久噜噜噜久久久| 亚洲黄色成人网| 国产精品二区影院| 久久激情视频久久| 亚洲精品免费网站| 久久九九精品| 一区二区三区国产在线| 国产欧美日韩一区二区三区在线 | 欧美成人在线免费视频| 亚洲免费婷婷| 亚洲国产精品女人久久久| 欧美日韩在线电影| 久久综合九色综合网站| 一本色道久久综合亚洲精品高清| 久久精品国产99精品国产亚洲性色 | 亚洲欧洲精品天堂一级| 欧美日韩一区在线观看| 久久久久一区二区三区| 亚洲免费观看视频| 欧美不卡激情三级在线观看| 午夜精品短视频| 亚洲人成免费| 狠狠色狠狠色综合日日91app| 欧美aaa级| 久久久97精品| 亚洲欧美影院| 夜夜嗨av一区二区三区四区| 欧美第一黄色网| 久久久夜夜夜| 久久成人精品电影| 亚洲素人在线| 99re6这里只有精品| 在线观看日韩一区| 国产亚洲精品福利| 国产乱码精品一区二区三| 欧美日韩另类国产亚洲欧美一级| 噜噜噜久久亚洲精品国产品小说| 香蕉精品999视频一区二区| 中文久久精品| 一本久久a久久精品亚洲| 亚洲激情在线观看视频免费| 牛牛影视久久网| 免费成人毛片| 久久久噜噜噜久久中文字幕色伊伊| 午夜精品福利在线| 午夜精品福利视频| 午夜精品久久久99热福利| 亚洲视频国产视频| 一区二区三区偷拍| 亚洲午夜av在线| 一区二区三区鲁丝不卡| 一区二区三区www| 在线一区二区日韩| 中文成人激情娱乐网| 亚洲图片欧洲图片av| 一区二区三区回区在观看免费视频| 亚洲精品一区二区三区av| 亚洲肉体裸体xxxx137| 亚洲美女免费视频| 亚洲一区二区三区三| 国产精品99久久不卡二区| 亚洲欧美日本国产有色| 午夜精品福利视频| 久久久av毛片精品| 免费成人性网站| 亚洲国产高清自拍| 日韩亚洲精品电影| 亚洲一区高清| 欧美在线高清| 欧美成人精品一区二区三区| 欧美日韩国产系列| 国产精品综合av一区二区国产馆| 国产情侣久久| 亚洲精品国产精品国自产在线| 日韩午夜电影av| 亚洲欧美中文另类| 美脚丝袜一区二区三区在线观看| 欧美成人激情在线| 国产精品99久久久久久久久久久久| 亚洲影院在线观看| 久久久亚洲成人| 欧美日韩精品免费看| 国产在线国偷精品产拍免费yy| 亚洲国产老妈| 羞羞视频在线观看欧美| 免费欧美视频| 夜夜爽av福利精品导航| 久久精品日韩一区二区三区| 欧美黄色影院| 国产在线欧美| 一区二区三欧美| 嫩草国产精品入口| 这里只有精品丝袜| 欧美成人精品h版在线观看| 国产精品入口日韩视频大尺度 | 欧美激情日韩| 国产综合精品一区| 中文av一区特黄| 欧美激情一区| 久久国产主播精品| 国产精品乱人伦中文| 亚洲精品欧美一区二区三区| 久久久久成人网| 亚洲视频在线一区| 欧美精品乱码久久久久久按摩| 1024亚洲| 久久精品亚洲一区| 亚洲欧美精品在线观看| 欧美日韩一区二区在线观看|