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

posts - 71,  comments - 41,  trackbacks - 0

What's a Clock?

? 2003 by Charles C. Lin. All rights reserved.

Background

When you buy a computer, one of the first things you probably look for is the speed of the computer. These days, it's not unusual to here rates as fast as 3 GHz.

But what is 3 Ghz referring to? This is referring to the clock rate.

The clock on a computer is not the same as the clock on the wall, which is used to tell time. A computer clock is more like a metronome, which keeps the beat for musicians to play music.

A Plot of a Clock

One way to understand a clock is to look at a plot of its behavior.

A clock changes its value from 0 to 1 every period. We use the letter T to designate the period. This signal repeats over and over again. Perhaps you remember, from a course in calculus, about sine waves. This wave repeats once per period. The difference between a sine wave and a clock is that a sine wave is curved. It gradually increases than decreases.

A clock's signal is squarish in shape.

Related to the period of the clock is the frequency. Frequency is defined as 1/T, and has units of s-1.

When you hear clock rates, it's usually given by its frequencies. Thus, 2 Ghz means 2 x 109 cycles per second. A cycle is a signal for a single period. The period for this clock is 1/2 x 109 which is 5 x 10-10 seconds, which is half a nanosecond, which is a really, really short period of time.

To give you an idea of how short this time is. Imagine that everyone in the world sang exactly one note, and exactly one person sings at a time. Suppose each note lasts one nanosecond. It would take 6 seconds to complete (assuming 6 billion people in the world).

A More Realistic Clock

A clock can't really instantaneously go from 0 to 1 and back to 0. A more realistic diagram looks like:

As you can see the clock signal has a positive slope from 0 to 1 and a negative slope from 1 to 0. This slope has been exaggerated so you can see it better. Normally, it wouldn't be quite so angled.

Features of a Clock

There are a few key features of a clock:

  • period This is the time it takes for a clock signal to repeat. Its unit of measurement is seconds. The symbol for the period is T.
  • frequency Frequency is 1/T. The unit of measurement is s-1, which is inverse seconds. This is also sometimes called Hertz (abbreviated Hz). Sometimes people say "cycles per second" instead of Hz or s-1. They all mean the same. When people refer to the "speed" of a CPU, they are usually talking about the clock frequency.
  • positive edge When the signal transitions from 0 to 1. It's circled above.
  • negative edge When the signal transitions from 1 to 0. It's circled above.

Each positive clock edge appears once per clock period. Each negative clock edge appears once per clock period.

Is It Always 50-50?

In the clock diagrams above, the amount of time the clock is at 1 appears to be T/2 (i.e., half the period). The amount of time the clock is at 0 also appears to be T/2. (There is a little time when it transitions from 0 to 1 or from 1 to 0, but let's assume this is a fairly small fraction of T).

Must a clock always do this? The answer is no. We could have a clock where it stays 1 for 3T/4 (three quarters of a period) and 0 for T/4 (one quarter of a period), or any fraction x and T - x where x < T.

If you're only using the positive edge, then it doesn't matter how long the signal stays at 1 or 0, since you only use the edge. However, if you want to use both positive and negative edges, then you're going to have to consider when you want the edges to occur.

A Simple Exercise

In order to get a feel for how a clock signal behaves, put your finger at the beginning of the clock signal in the diagram above. At this point, the signal should have a value of 0.

Begin to move your finger to the right, but trace out the signal. Your finger should move from 0 to 1, and back again.

If you happen to trace over the positive edge once a second, and you're steadily moving to the right (not going faster or slower) then the period is 1 second, and the frequency is 1 Hz.

Tracing the signal with your hand gives you a better "feel" for how a continuous signal behaves. Usually, computer science majors have a more difficult time with this (unless you really like calculus or are in engineering) because we deal with quantities that are discrete, rather than continuous.

At any point in time, someone can ask you the current value of the signal.

If we use the "pipe" analogy, we can think of this signal alternating between pumping red soda (for 0) and green soda (for 1).

What's a Clock Used For?

We use a clock to synchronize the events of a CPU. Devices in a CPU can be categorized as sequential circuits or combinational circuits. Sequential logic devices use a clock. Basically, sequential logic devices can only change outputs once a period, usually during a positive or a negative edge. We'll assume that a sequential device can only change outputs on positive clock edges.

To give you an analogy, imagine a music conductor tapping a beat with a baton (a stick) at regular intervals. Suppose you are playing a piano, and you're told to play a new note each time he taps his baton. Thus, how fast the conductor taps the baton controls how often you play notes.

Similarly, the rate at which the positive clock edge appears controls how fast a sequential logic device can change outputs.

It turns out that by using a clock, we can design a CPU more easily than if we don't use a clock. This is primary reason to use a clock.

Can't We Make It Faster?

If a CPU will run faster with a faster clock, then why not run it faster? The problem is that it takes time for signals to move around in a circuit. You can reduce this time in several ways. The main way is simply to make the circuit smaller. When the circuit is smaller, signals have less distance to travel, and therefore everything can happen more quickly.
posted on 2007-01-23 14:20 Charles 閱讀(308) 評論(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>
            亚洲在线视频网站| 欧美激情小视频| 国产一区av在线| 国产日韩精品视频一区二区三区| 欧美喷潮久久久xxxxx| 欧美—级高清免费播放| 欧美日韩亚洲在线| 欧美性淫爽ww久久久久无| 国产精品视频自拍| 国产一区二区三区久久悠悠色av| 狠狠色狠狠色综合日日tαg| 亚洲日本中文字幕免费在线不卡| 99精品久久久| 久久久久久久999| 亚洲第一视频网站| 亚洲乱码久久| 一本久久a久久免费精品不卡| 亚洲少妇一区| 久久一区二区三区av| 亚洲激情视频网| 亚洲欧美精品在线| 久久久一二三| 欧美色欧美亚洲另类七区| 国语自产精品视频在线看| 一区二区三区国产在线观看| 欧美专区在线| 亚洲国内自拍| 欧美一区日本一区韩国一区| 欧美日本亚洲视频| 国语自产精品视频在线看8查询8 | 99精品福利视频| 亚洲影院免费观看| 蜜桃av噜噜一区二区三区| 亚洲每日更新| 久久久91精品国产一区二区精品| 欧美日韩免费网站| 亚洲色图综合久久| 欧美不卡视频一区发布| 欧美成人自拍| 免费看成人av| 亚洲视频一区在线观看| 欧美黄色免费网站| 在线观看日韩| 久久精品国产99国产精品澳门 | 久久尤物视频| 亚洲网址在线| 欧美日韩一区二区高清| 亚洲欧洲日韩女同| 久久伊人亚洲| 久久久91精品国产| 国产一区二区精品久久91| 午夜激情亚洲| 亚洲综合第一页| 国产精品乱码| 亚洲欧美中文日韩在线| 一区二区电影免费观看| 欧美视频你懂的| 亚洲视频在线视频| 亚洲免费成人av| 欧美精品色综合| 99www免费人成精品| 亚洲国产午夜| 欧美日韩精品一区二区三区| 一区二区不卡在线视频 午夜欧美不卡'| 欧美gay视频| 欧美国产日韩精品| 一本色道久久综合亚洲二区三区| 亚洲理伦电影| 国产精品亚洲а∨天堂免在线| 性欧美超级视频| 欧美在线一区二区| 亚洲国产精品免费| 亚洲人成网站999久久久综合| 欧美精品www| 亚洲一二区在线| 亚洲欧美日韩高清| 一色屋精品视频在线看| 曰韩精品一区二区| 免费在线观看日韩欧美| 欧美成人a∨高清免费观看| 99国产精品视频免费观看一公开| 一本大道久久a久久综合婷婷| 国产精品久久久免费 | 一本色道**综合亚洲精品蜜桃冫| 欧美午夜理伦三级在线观看| 欧美中文字幕第一页| 久久人人爽人人爽爽久久| 日韩一二三区视频| 亚洲——在线| 亚洲欧洲日韩综合二区| 亚洲视频精品| 在线观看一区欧美| 亚洲深夜av| 亚洲风情在线资源站| 一本在线高清不卡dvd| 国产日韩精品在线| 亚洲精品欧美一区二区三区| 国产欧美一区二区三区视频| 亚洲国产成人久久| 国产免费成人av| 亚洲裸体视频| 亚洲国产日韩欧美| 亚洲欧美日韩精品久久亚洲区| 亚洲精品影院| 久久精品综合一区| 亚洲欧美www| 欧美成人a视频| 久久久噜噜噜久久中文字幕色伊伊 | 亚洲视频网在线直播| 国产一区二区在线免费观看| 亚洲精品免费电影| 在线视频观看日韩| 欧美一区二区三区视频免费| 亚洲综合电影一区二区三区| 欧美91视频| 狂野欧美激情性xxxx| 国产精品一二一区| av成人免费在线| 亚洲美女精品成人在线视频| 久久久水蜜桃| 久久激五月天综合精品| 国产精品久久久久高潮| 亚洲第一色在线| 亚洲第一精品电影| 久久精品欧美日韩精品| 久久国产精品高清| 国产精品亚洲а∨天堂免在线| 亚洲毛片网站| 亚洲视频网站在线观看| 欧美激情四色 | 亚洲综合999| 亚洲欧美在线免费| 国产精品一页| 午夜精品久久久久久久男人的天堂| 日韩视频中文| 欧美激情女人20p| 亚洲激情电影中文字幕| 99视频精品在线| 免费在线一区二区| 影音欧美亚洲| 久久精品综合| 欧美二区在线观看| 亚洲激情在线| 欧美日韩日本国产亚洲在线| 日韩午夜免费| 亚洲欧美日韩国产一区二区三区| 欧美午夜三级| 午夜精品久久久久久久| 久久综合伊人77777蜜臀| 国产在线精品一区二区中文| 久久久成人网| 亚洲国产精品久久久久久女王| 亚洲国产精品成人一区二区| 欧美激情黄色片| 中国女人久久久| 欧美一区二区三区视频在线观看| 国产精品一区二区久久久| 欧美亚洲视频| 亚洲福利视频免费观看| 一区二区三区高清不卡| 国产精品久久久久毛片软件 | 99ri日韩精品视频| 欧美在线精品免播放器视频| 在线观看国产成人av片| 欧美国产视频日韩| 亚洲天堂男人| 免费人成精品欧美精品| 亚洲视频中文字幕| 国产一区日韩二区欧美三区| 欧美激情一区二区三区| 欧美一区二区三区免费看| 亚洲国产精品欧美一二99| 欧美亚洲日本网站| 亚洲精品国产拍免费91在线| 国产精品国产精品| 另类图片国产| 亚洲尤物视频网| 亚洲国产日韩欧美在线动漫| 午夜精品免费| 亚洲日本黄色| 国内精品视频在线播放| 欧美猛交免费看| 久久亚洲视频| 午夜在线观看欧美| 亚洲开发第一视频在线播放| 玖玖综合伊人| 亚洲欧美一区二区三区久久| 亚洲激情在线观看| 国产在线精品二区| 国产精品美女久久久| 欧美国产综合视频| 欧美在线中文字幕| 日韩一二在线观看| 欧美激情bt| 欧美不卡一卡二卡免费版| 久久久99国产精品免费| 亚洲一区久久久| 一本久久青青| 日韩小视频在线观看专区| 极品尤物久久久av免费看|