4-bit incrementer

Design a circuit that receives a 4-bit number and produces the same number increased by one unit (mod 16).

Specification

module incr4(in, out);
    input [3:0] in;
    output [3:0] out;

Input

Output

Problem information

Author: Jordi Cortadella

Generation: 2026-02-03T12:13:26.080Z

© Jutge.org, 2006–2026.
https://jutge.org