// CPEN 230L Lab 8, 4-bit binary to 2-digit BCD converter // Firstname Lastname, mm/dd/yy module bin2bcd ( input [3:0] bin_i, // 0 to 15 output [3:0] bcd1_o, // 0 or 1 (bin_i MS decimal digit) output [3:0] bcd0_o); // 0 to 9 (bin_i LS decimal digit) // Write your code here. // hint: use an always block per component (comparator, offset, mux) // and declare the always blocks' "outputs" as reg endmodule