coding style example
Anonymous
verilog
05/13/2022 6:34 AM
628 B
32
Indexable
always @* begin
case(last_change)
// keyboard '0'
9'h45 : begin
out1_next = 4'd0;
out2_next = 4'd0;
out3_next = 4'd0;
out4_next = 4'd0;
end
// keyboard '1'
9'h16: begin
out1_next = 4'd0;
out2_next = 4'd0;
out3_next = 4'd0;
out4_next = 4'd1;
endEditor is loading...