Forum Discussion
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- Don't you need to pass two parameters? If so, these lines are wrong: UD_Cnt# (257) UDxx(CLK_150M,CC); UD_Cnt# (259) UDxx(CLK,Cx); You're not including the direction parameter. --- Quote End --- Not wrong. If you don't supply the parameter in the module instantiation it will use the default value supplied in the parameter statement. However, in the UD_Cnt module in a couple of IF statements you use the bitwise AND operator (&) instead of the logical AND (&&) operator to combine conditionals.