CodiodeCodiode
Home
Problem Solving
Skill Tracks
My Assignments
Contests
Leaderboard
Community
Settings
Codiode/Problems/Combinational Logic

Explicit vs Implicit FSMs

HardLogic CircuitAnalyze

Digital control paths often require sequencing through a fixed number of operations, which can be implemented using either a formal state machine or a counter with decoding logic. The design contains two modules intended to sequence ten distinct events. Module A is a one-hot explicit Finite State Machine with ten states, a state register, and next-state logic. Module B is an implicit FSM built from a four-bit binary counter and a combinational decode block to generate ten distinct output flags. Both modules receive a clk and an en signal and produce a 10-bit output vector flags. Analyze the architectural tradeoffs between these two approaches. Determine the register count, combinational depth, and overall area implications for each implementation.

Constraints

  • Assume standard-cell synthesis targeting minimum area.
  • Module A utilizes strict one-hot encoding for all states.
  • Module B utilizes standard binary encoding for its counter.
  • The sequence is perfectly linear with no branching or conditional jumps.

Topics

fsmsynthesiscountersarea-optimization

Solve this problem

Place the gates, wire them up and watch the signals settle. Every submission runs on the same simulation engine that grades it.

This problem is part of Codiode Pro. The statement above is free to read.

Sign in to solveSee what Pro unlocks

The circuit builder and code editor need a desktop screen. On a phone, read the problem here and open it on a laptop to solve.

Related problems

  • Binary to HexEasy
  • 1-to-4 Demultiplexer from AND and NOT GatesEasy
  • 2-to-4 Line Decoder with Active-High EnableEasy
  • Hex Nibble to BinaryEasy
  • Odd Parity Bit Generator for 3-bit DataEasy
  • Full Adder from Half AddersEasy
  • Modulo ArithmeticMedium
  • Two's Complement: Encode a Negative DecimalEasy

Browse all problems · Learning tracks