summaryrefslogtreecommitdiff
path: root/part_1/ex3/ex3_top.v
blob: 69e5276188bed2ab812a03cf23f42279c871f612 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module ex3_top (
		SW,
		HEX0,
		HEX1,
		HEX2
);

		input [9:0] SW;
		output [6:0] HEX0;
		output [6:0] HEX1;
		output [6:0] HEX2;
		
		hex_to_7seg SEG0 (HEX0,SW[3:0]);
		hex_to_7seg SEG1 (HEX1,SW[7:4]);
		hex_to_7seg SEG2 (HEX2,SW[9:8]);
		
endmodule