Forum Discussion
ak6dn
Regular Contributor
6 years ago1) Verilog is a case sensitive language. Check your first module header: Hex2 ==> HEX2
2) lines 6-8 need a type declaration, like (probably) 'wire'. Ie: wire HEX0 = ~hex0; etc
3) (minor) line 11 first arg is only 2 bits wide but function wants 4 bits. Change to: bcd_seven_seg_behavioral u2({2'b00,SW[9:8]},HEX2); to eliminate the warning.