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

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>
            欧美一级片一区| 久久超碰97中文字幕| 欧美黄网免费在线观看| 亚洲国产精品久久91精品| 欧美.www| 欧美激情久久久| 亚洲免费视频一区二区| 午夜精品999| 亚洲欧洲在线一区| 夜夜夜精品看看| 激情成人亚洲| 亚洲激情在线激情| 欧美视频中文一区二区三区在线观看| 亚洲欧美乱综合| 久久美女性网| 中文久久精品| 久久久国产午夜精品| 日韩亚洲一区二区| 午夜精品久久久99热福利| 在线精品福利| 亚洲天堂久久| 亚洲精品欧美日韩专区| 亚洲女人av| 99视频精品在线| 欧美制服第一页| 宅男精品视频| 久久深夜福利免费观看| 亚洲一区网站| 免费观看一区| 久久久五月婷婷| 国产精品家庭影院| 亚洲第一黄色| 极品尤物av久久免费看| 亚洲视频在线一区| 亚洲看片一区| 久久先锋资源| 欧美中文字幕在线视频| 欧美—级在线免费片| 毛片一区二区三区| 国产日产欧产精品推荐色| 亚洲精品国产精品国产自| 国精品一区二区三区| 亚洲一区二区在| 99精品视频免费| 免费久久99精品国产自| 久久中文字幕一区| 国产欧美日韩一区二区三区在线观看| 亚洲精品永久免费| 亚洲精品国产精品乱码不99| 久久久噜噜噜久久中文字幕色伊伊| 妖精成人www高清在线观看| 久热综合在线亚洲精品| 老司机精品视频一区二区三区| 国产精品青草久久| 在线亚洲免费| 亚洲影音一区| 国产精品www色诱视频| 一区二区日韩精品| 一区二区三区欧美视频| 欧美日韩免费视频| 亚洲精品中文字幕有码专区| 99在线热播精品免费| 欧美激情精品久久久久久| 91久久精品一区| 一本到12不卡视频在线dvd| 欧美片在线播放| 99精品国产一区二区青青牛奶| 一区二区三区**美女毛片| 欧美精品三级| 亚洲私拍自拍| 久久久久免费观看| 亚洲韩国青草视频| 欧美日本亚洲| 亚洲午夜免费视频| 亚洲欧美国产精品va在线观看| 国产精品久久久久久久久搜平片 | 久久精品99国产精品| 国产区在线观看成人精品| 久久er99精品| 亚洲福利视频三区| 亚洲素人一区二区| 国产精品男人爽免费视频1| 欧美一区激情| 91久久精品久久国产性色也91| 亚洲视频电影在线| 国产精品主播| 免费的成人av| 亚洲先锋成人| 欧美激情第三页| 亚洲一区二区成人在线观看| 国产免费一区二区三区香蕉精| 久久综合久久综合久久综合| 亚洲免费观看| 久久综合给合久久狠狠色 | 一区二区三区欧美亚洲| 国产精品视频免费观看www| 久久天堂精品| 一区二区三区av| 欧美成人精品h版在线观看| 亚洲视频免费看| 伊人男人综合视频网| 欧美日韩不卡视频| 久久精品国产欧美亚洲人人爽| 亚洲欧洲一区二区天堂久久| 欧美一区成人| 夜夜嗨av一区二区三区四区| 狠狠噜噜久久| 国产精品日本欧美一区二区三区| 老司机免费视频一区二区三区| 在线亚洲欧美视频| 国产精品草草| 久久久水蜜桃| 亚洲一区二区三区四区视频| 亚洲国产欧美一区二区三区同亚洲 | 午夜精品理论片| 亚洲理论在线观看| 永久久久久久| 国产午夜精品全部视频在线播放| 欧美区亚洲区| 欧美大片国产精品| 久久久精品性| 欧美一区在线直播| 亚洲欧美日韩国产综合在线| 亚洲人久久久| 亚洲国产一区二区三区青草影视| 久久精品国产清自在天天线| 亚洲制服少妇| 亚洲网站视频福利| 夜夜爽www精品| 亚洲理论在线| 一本久久a久久精品亚洲| 亚洲啪啪91| 最新成人av在线| 最新中文字幕亚洲| 亚洲黄页一区| 亚洲精品一二三| 亚洲久久在线| 中文在线不卡视频| 亚洲深夜福利| 亚洲一区二区免费视频| 亚洲午夜精品一区二区| 亚洲一区二区成人| 午夜久久久久久| 欧美主播一区二区三区美女 久久精品人 | 亚洲承认在线| 亚洲国产91| 亚洲日产国产精品| 亚洲另类一区二区| 一本一本久久| 亚洲欧美日本另类| 久久成人免费| 欧美成人国产va精品日本一级| 欧美高清视频www夜色资源网| 男人天堂欧美日韩| 91久久精品美女高潮| 日韩图片一区| 性一交一乱一区二区洋洋av| 久久精品国产一区二区三区免费看| 久久久久在线| 欧美精品激情在线| 国产精品视频专区| 精品二区视频| 在线午夜精品自拍| 久久国产一区二区| 欧美激情二区三区| 一区二区三区欧美激情| 久久av二区| 欧美激情精品久久久久| 国产精品美女久久久| 136国产福利精品导航网址| 一区二区三区鲁丝不卡| 午夜亚洲伦理| 欧美激情综合色| 亚洲一区二区欧美日韩| 久久久久久久综合色一本| 久久久亚洲影院你懂的| 亚洲国产三级在线| 亚洲一区久久久| 欧美+日本+国产+在线a∨观看| 欧美色图天堂网| 亚洲国产精品尤物yw在线观看| 亚洲欧美精品| 91久久在线视频| 久久av最新网址| 国产精品久久久一区二区| 亚洲激情av在线| 欧美一区二区三区免费看| 亚洲黄一区二区| 久久久综合网| 国产欧美三级| 亚洲性视频h| 亚洲大片av| 久久久精品日韩| 国产婷婷色一区二区三区在线| 亚洲精品视频在线观看免费| 久久久中精品2020中文| 亚洲一区二区3| 欧美视频在线观看| 亚洲美女毛片| 亚洲国产精品第一区二区|