How teivah/majorana works
Main Components
a. Core Processing Units:
• Fetch Unit (FU)
• Decode Unit (DU)
• Execute Unit (EU)
• Write Unit (WU)
• Branch Unit (BU)
• Control Unit (CU) [for MVP-6 and above]
b. Memory Hierarchy:
• L1I Cache (Instruction Cache)
• L1D Cache (Data Cache)
• L3 Cache (Shared Cache)
• Main Memory
• Memory Management Unit (MMU)
c. Special Components:
• Branch Target Buffer (BTB)
• MSI Protocol Controller
• Register File
• Cache Coherency Controller
┌─────────────────────────────────────────────┐
• Pipeline Stage │
• ┤
• FU → DU → CU → EU → WU │
• ┤
• Memory Hierarchy │
• L1I L1D L3 Main Memory │
• ┘
Specific Elements
• Instruction flow path
• Data flow path
• Control signals
• Cache coherency messages
b. Component Interfaces:
• Cache line sizes (64 bytes)
• Pipeline width (dual-issue for superscalar)
• Register file connections
Multiple Views
• Basic pipeline (MVP-1)
• Cache hierarchy (MVP-2/3)
• Superscalar pipeline (MVP-6+)
• Cache coherency (MVP-7/8)
Important Details to Capture
• MSI protocol states (Modified, Shared, Invalid)
• Forwarding paths for hazard resolution
• Demonstrate the branch prediction mechanism
• Register renaming process
┌──────────┐
• Component │ → Regular component
• ┘
╔══════════╗
║ Control ║ → Control component
╚══════════╝
〈 Cache 〉 → Memory component
⇒ → Main data flow
→ → Control flow
• > → Feedback path
Implementation Notes
• Maintain consistent spacing and alignment
• Document pipeline stages and their latencies