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

PLA Shared Term Optimization

HardLogic CircuitBuild

Programmable Logic Arrays rely on a programmable AND plane followed by a programmable OR plane to evaluate multiple boolean functions simultaneously. Silicon area scales directly with the number of product terms, making cross-function term sharing a critical physical design optimization.

Implement a Binary Coded Decimal (BCD) to Excess-3 converter. The circuit accepts a 4-bit BCD input A (MSB), B, C, D (LSB) and produces a 4-bit Excess-3 output W (MSB), X, Y, Z (LSB). Input combinations 1010 through 1111 will never occur in the system and serve as don't care conditions for logic minimization.

| A | B | C | D | W | X | Y | Z | |-----|-----|-----|-----|-----|-----|-----|-----| | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 |

Constraints

  • Minimize the total number of unique product terms across all four outputs to simulate an optimal PLA AND-plane.
  • Use only AND, OR, and NOT gates.
  • Do not use XOR or XNOR gates.

Topics

combinationaldatapathplalogic-minimization

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

  • 3-bit Ripple Counter from Toggle Flip-FlopsEasy
  • D Latch from a 2:1 MUXEasy
  • 2-bit Ring CounterEasy
  • T Flip-Flop from a D Flip-FlopEasy
  • Handshake Deadlock Due to Early ResetHard
  • Reconvergence of Individually Synchronized BitsHard
  • Debug: Asynchronous Clear GlitchHard
  • Clock Gate Enable Crossing DomainsHard

Browse all problems · Learning tracks