[SOLVED] what is wrong with this code?? (Verilog)

Status
Not open for further replies.
Thanks for your suggestion FvM I'll try to implement the code using case structure now. And about using blocking assignments I can use non-blocking assignments too.

And yes you got it right `low and `high in place of binary 1'b0 and 1'b1. It was simply because it is my first verilog code and till now I am not that acquainted to its syntax and all. I did not know that i could write 1 and 0 simply. It's easy for me to represent it like this and the code becomes understandable to anyone who reads too. It won't be a problem changing if need be.

Now I am pasting the complete code although it is not finished yet. I am still to code the modulo N counter. I just want you guys to let me know of the other flaws that I have in my code and which may affect the functionality of it.

I want my DCO module to be checked because there's a lot of gates n conditions used in there which might have went wrong.

Thanks in advance.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…