Skip to content
DenseChip
Learn
PracticeCode labInterview

DenseChip

Navigate

Menu

LearnPracticeCode labInterview

Tools

All toolsSV editorCode repoResume
DenseChip

Practice, courses, and chip-design tools in one focused workspace.

LearnPracticeCode labInterviewToolsLearning paths

© 2026 DenseChip

AboutRoadmapCareersInternshipsFAQContactPrivacyTerms
Skip to lesson

Course contents

  • How to Use This Course
  • The NanoSoC Tour
  • Reading Path
  • SoC Glossary10
  • SoC Metrics Reference
  • SoC Cheatsheet
  • What SoC Integration Is12
  • Architecture and Budgets21
  • Memory Maps and Address Decode26
  • Interconnect and Bus Fabrics26
  • Clock and Reset Architecture24
    • Clock Sources and PLLs
    • Dividers, Muxes and Glitch-Free Switching
      • Integer Dividers and Clock Muxes
      • Glitch-Free Switching Sequence
      • Switching Failure Modes
    • Clock Gating Architecture
    • Clock Domain Planning
    • Top-Level Crossings
    • Always-On Domain, Wake Policy and a Timer Extension
    • Reset Sources and Reset Tree
    • Reset Sequencing and Release
  • Power Architecture21
  • Interrupts, DMA and Peripherals15
  • Memories, Boot and Security21
  • IP Integration and Handoff21
  • Top-Level Verification and Bring-up21
  • Package, Pads and I/O18
  • Chip Signoff and Tapeout18
  • SoC Interview Prep16
  • Capstone: Integrate NanoSoC14
Loading lesson

←Clock and Reset Architecture
  1. Topics
  2. SoC Design
  3. Clock and Reset Architecture
  4. Dividers, Muxes and Glitch-Free Switching

Part 5 of 14Part 5 of 14/Clock and Reset ArchitectureAll levels

Dividers, Muxes and Glitch-Free Switching

Integer dividers, clock muxes, the glitch-free switching sequence with a waveform, and the failure modes.

  • 3topics
  • 3lessons

Two dividers make the fast clocks and one rule protects them: no live clock is ever switched with a plain mux. This topic shows how the divide-by-4 and divide-by-8 counters work and which edges coincide, recalls the handshake that makes a switch glitch-free with a simulated waveform, budgets the dead time of a switch in NanoSoC numbers, and covers the ways switching still goes wrong. For the circuit-level construction see Glitch-Free Clock Mux; here the emphasis is the integration sequence and its checks.

Lesson

After it you can...

Integer Dividers and Clock Muxes

Explain the /4 and /8 chains, which edges coincide, and why NanoSoC's tree has no runtime mux.

Glitch-Free Switching Sequence

Recall the switch handshake, read the switching waveform and budget a switch's dead time.

Switching Failure Modes

Name the dead-clock, constraint and ratio-sweep failures and their checks.

Suggested order: top to bottom. Dividers first, because the switch lesson assumes two running clocks; then the sequence with its waveform; then the failures, which are all violations of the sequence. The gating topic next door covers stopping clocks; this one covers changing them.

Check yourself Why does this topic forbid the plain two-input mux on a live clock?

The select can change while either clock is high, joining a truncated high pulse from one side to an early rising edge from the other. The result is a runt pulse that violates minimum pulse width everywhere downstream.

Expect to draw the AND-gate mux with its two enables and narrate the switch order: drop the old enable, wait, raise the new one. Then volunteer the dead-clock case.

PreviousNext: Integer Dividers and Clock Muxes

Up next

Up nextInteger Dividers and Clock Muxes

Sign in to save progress

Practice this lessonPrevious lessonReport an error

See also

  • Clock Sources and PLLs
  • Clock Gating Architecture
  • Clock Domain Planning