lecture #35 page 1 ece 4110– sequential logic design lecture #35 agenda 1.clocking techniques...
TRANSCRIPT
![Page 1: Lecture #35 Page 1 ECE 4110– Sequential Logic Design Lecture #35 Agenda 1.Clocking Techniques Announcements Next: 1.HW #15 due. 2.Final review](https://reader036.vdocuments.us/reader036/viewer/2022072014/56649e855503460f94b8789b/html5/thumbnails/1.jpg)
Lecture #35Page 1
ECE 4110– Sequential Logic Design
Lecture #35
• Agenda
1. Clocking Techniques
• Announcements
Next: 1. HW #15 due.
2. Final review.
![Page 2: Lecture #35 Page 1 ECE 4110– Sequential Logic Design Lecture #35 Agenda 1.Clocking Techniques Announcements Next: 1.HW #15 due. 2.Final review](https://reader036.vdocuments.us/reader036/viewer/2022072014/56649e855503460f94b8789b/html5/thumbnails/2.jpg)
Lecture #35Page 2
Clocking Techniques
• Synchronous Clocking
- when the same clock is distributed to each flip-flop, there is the chance of clock skew
- this clock skew has to be considered as uncertainty when calculating the maximum clock frequency
- data lines can also have skew. This is especially an issue when designing a bus
D Q D Q
![Page 3: Lecture #35 Page 1 ECE 4110– Sequential Logic Design Lecture #35 Agenda 1.Clocking Techniques Announcements Next: 1.HW #15 due. 2.Final review](https://reader036.vdocuments.us/reader036/viewer/2022072014/56649e855503460f94b8789b/html5/thumbnails/3.jpg)
Lecture #35Page 3
Clocking Techniques
• Source Synchronous Clocking
- to reduce the clock/data skew, a local clock can be generated and sent along with a subset of bus data.
- the advantage of creating the clock and data in the same spatial region is:
1) Less geography to cover 2) Less change in material properties 3) Tighter timing can be achieved between clock and data within that group
- a bus is divided into groups and a clock is created for each group
- the Rx latches that bus group using its associated "source synchronous"
- the clock is also commonly called a "Strobe" D Q D Q
D Q 90 deg
![Page 4: Lecture #35 Page 1 ECE 4110– Sequential Logic Design Lecture #35 Agenda 1.Clocking Techniques Announcements Next: 1.HW #15 due. 2.Final review](https://reader036.vdocuments.us/reader036/viewer/2022072014/56649e855503460f94b8789b/html5/thumbnails/4.jpg)
Lecture #35Page 4
Clocking Techniques
• Dual Data Rate (DDR)
- if the skew is reduced enough, then we can use both edges of the clock to latch data
- this doubles the effective data transfer without changing the frequency of the clock
- this technique can be used to "Double" the bus frequency
or
to reduce the number of lines/pins on the bus
- the Rx has a Demux/Latch circuit to produce two separate data signals synchronized to one edge of clock so that the information can be used by the internal circuitry on the Rx.
![Page 5: Lecture #35 Page 1 ECE 4110– Sequential Logic Design Lecture #35 Agenda 1.Clocking Techniques Announcements Next: 1.HW #15 due. 2.Final review](https://reader036.vdocuments.us/reader036/viewer/2022072014/56649e855503460f94b8789b/html5/thumbnails/5.jpg)
Lecture #35Page 5
Clocking Techniques
• Parallel vs. Serial
- the move from parallel to serial buses means trying to send the same (or more) data using less physical lines/pins in the system
- other factors besides cost that drive this movement:
1) Area - less pins reduces cost - less pins reduces the size of the overall package - smaller package means - less material, less assembly, more parts per wafer (yield) 2) Simultaneous Switching Noise (SSN)
- when signals share a VDD or GND pin, the amount of current through that pin grows as the number of sharing signal pins grows
- pins tend to be inductive and cause a L(di/dt) voltage when current is pulled through
- there is also Inductive and Capacitive coupling between signal pins causing noise
![Page 6: Lecture #35 Page 1 ECE 4110– Sequential Logic Design Lecture #35 Agenda 1.Clocking Techniques Announcements Next: 1.HW #15 due. 2.Final review](https://reader036.vdocuments.us/reader036/viewer/2022072014/56649e855503460f94b8789b/html5/thumbnails/6.jpg)
Lecture #35Page 6
Clocking Techniques
• Differential Signaling
- we can use two lines to send one piece of information
- one side sends the original signal (A or P) and the other sends the complementary (B or N)
- a diff amp style receiver is used to perform A-B (or P-N) to obtain the original signal
![Page 7: Lecture #35 Page 1 ECE 4110– Sequential Logic Design Lecture #35 Agenda 1.Clocking Techniques Announcements Next: 1.HW #15 due. 2.Final review](https://reader036.vdocuments.us/reader036/viewer/2022072014/56649e855503460f94b8789b/html5/thumbnails/7.jpg)
Lecture #35Page 7
Clocking Techniques
• Differential Signaling
- Disadvantages
1) Takes two pins
- Advantages
1) pins provide their own return path 2) the received voltage is doubled (P-N) and always centered at 0v 3) coupling between signal pins is consistent and predictable
![Page 8: Lecture #35 Page 1 ECE 4110– Sequential Logic Design Lecture #35 Agenda 1.Clocking Techniques Announcements Next: 1.HW #15 due. 2.Final review](https://reader036.vdocuments.us/reader036/viewer/2022072014/56649e855503460f94b8789b/html5/thumbnails/8.jpg)
Lecture #35Page 8
Clocking Techniques
• Differential Signaling
- Advantages
4) noise present on both A and B is removed
- this is called "Common Mode Rejection"
![Page 9: Lecture #35 Page 1 ECE 4110– Sequential Logic Design Lecture #35 Agenda 1.Clocking Techniques Announcements Next: 1.HW #15 due. 2.Final review](https://reader036.vdocuments.us/reader036/viewer/2022072014/56649e855503460f94b8789b/html5/thumbnails/9.jpg)
Lecture #35Page 9
Clocking Techniques
• Embedded Clocking
- the only way to get rid of clock/data skew is to get rid of the clock
- in Embedded Clocking, the data is encoded such that a certain number of transitions are guaranteed
- this gives a consistent and known spectrum
- a low speed reference clock is fed to the Rx.
- a Phase Locked Loop (PLL) is used to compare the incoming encoded data stream and Ref Clock
- the PLL can create a perfectly synchronized clock at the same frequency as the incoming data
ClockData
Recovery
D Q D Q
![Page 10: Lecture #35 Page 1 ECE 4110– Sequential Logic Design Lecture #35 Agenda 1.Clocking Techniques Announcements Next: 1.HW #15 due. 2.Final review](https://reader036.vdocuments.us/reader036/viewer/2022072014/56649e855503460f94b8789b/html5/thumbnails/10.jpg)
Lecture #35Page 10
Clocking Techniques
• Embedded Clocking
- this technique completely removes clock/data skew since the phase (i.e., timing relationship) comes from the data itself
- to address SSN, Differential Signaling is used
- to address DC Drift, an AC coupling capacitor is used on the line.
- the AC coupling capacitor passes AC and blocks DC
- since the encoded signal is always toggling (due to encoding), the signal passes through the capacitor (i.e., it is AC coupled)
- the DC offset of the signal can now be inserted by the receiver wherever it wants
- it is typically centered at the "sweet spot" of the Rx's DC input range
![Page 11: Lecture #35 Page 1 ECE 4110– Sequential Logic Design Lecture #35 Agenda 1.Clocking Techniques Announcements Next: 1.HW #15 due. 2.Final review](https://reader036.vdocuments.us/reader036/viewer/2022072014/56649e855503460f94b8789b/html5/thumbnails/11.jpg)
Lecture #35Page 11
Clocking Techniques
• Clocking Summary
Technology Speeds Details Application
Synchronous up to 400Mb/s SE Data/Clock PCI Bus, uControllers
Source Synchronous up to 1600 Mb/s SE Data, Diff Clock DDR, P4
Embedded Clock up to 3.125Gb/s + Diff Signaling PCI Express, SATA, future AC Coup