1 2 3 4 5 6 7 8 9
module ex2(SW, HEX0); input [3:0] SW; output [6:0] HEX0; hex_to_7seg SEG0(HEX0, SW); endmodule