Bugs case
From HDLBits
bugs_addsubzPrevious
Nextsim/circuit1
This combinational circuit is supposed to recognize 8-bit keyboard scancodes for keys 0 through 9. It should indicate whether one of the 10 cases were recognized (valid), and if so, which key was detected. Fix the bug(s).
Module Declaration
module top_module ( input [7:0] code, output reg [3:0] out, output reg valid=1 );
bugs_addsubzPrevious
Nextsim/circuit1