Even number

Design a circuit that receives a 4-bit number as input and produces an output that is asserted when the input number is even.

Specification

module even4(number, even);
   input [3:0] number;
   output even;

Input

Output

Problem information

Author: Jordi Cortadella

Generation: 2026-02-03T12:15:10.734Z

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