Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 703 Bytes

File metadata and controls

18 lines (13 loc) · 703 Bytes

Resources

Conventions:

GENERAL RULES

  • external signals: use UPPERCASE
  • internal signals: user lowercase

State machine

  • Combinatorial block: lines up the next state
    • Write simple statements outside of the combinatorial block
    • Write complicated related switch statements inside a combinatorial block (like switch-case statements)
      • Make sure to do your instruction decoding inside a combinatorial block
  • Register block: registers next state from combinatorial block