Popcount3

From HDLBits

thermostatPrevious
Nextgatesv

A "population count" circuit counts the number of '1's in an input vector. Build a population count circuit for a 3-bit input vector.

Module Declaration

module top_module( 
    input [2:0] in,
    output [1:0] out );

Write your solution here

Upload a source file...