Forum Discussion
Altera_Forum
Honored Contributor
9 years agoDifferent simulate result from quartus and modelsim
I wrote a verilog program as follow UD_Cnt(CLK,UD_counter) is a Up-down counter module, CPS_PWM(CLK,Cx) is a PWM module, containing multiple UD_Cnt module with different initial value。 ...
Altera_Forum
Honored Contributor
9 years agoDon'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.