Jutge.org
The Virtual Learning Environment for Computer Programming
Two or more ones
X78683 en
Design a circuit that receives four inputs and produces one output. The output must be 1
when there are two or more inputs at 1. Otherwise, the output must be zero.
The top module must be called two or more ones.
module
two or more ones(a, b, c , d, out );
input
a, b, c , d;
output
out;
Input
• a, b, c and d are the four inputs.
Output
• out is the output.
Problem information
Author : Jordi Cortadella
Generation : 2013-07-17 16:31:34
© Jutge.org, 2006–2013.
http://www.jutge.org