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

- in represents the 4-bit input number.

Output

- out represents the 4-bit output number.

Problem information

Author: Jordi Cortadella

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

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