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

Unknown X Literals Propagation

HardLogic CircuitAnalyze

Uninitialized registers and floating inputs in Verilog simulations manifest as unknown X values that can easily mask critical reset bugs.

The schematic shows a combinational logic block with three inputs A, B, and C, and one output Y. Input A is driven by an uninitialized flip-flop, forcing its simulation value to 1'bx. Input B is tied to 1'b1 and input C is tied to 1'b0. The logic evaluates the expression Y = (A & B) | (A & C).

Determine the propagated value at output Y and analyze how the unknown literal interacts with standard logic gates.

Constraints

  • Input A strictly evaluates to the four-state logic value 1'bx.
  • Bitwise operations in Verilog follow standard IEEE 1364 four-state logic truth tables.
  • The circuit contains no sequential elements or delays.

Topics

verilogfour-state-logicsimulationx-propagation

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