Forum Discussion
Altera_Forum
Honored Contributor
10 years agoSimple problem with clock generation
Hi there, I am experiencing an apparently simple, but frustating problem: when I generate a clock signal with a process that shows an empty sensitivity list, modelsim simulation returns an unde...
Altera_Forum
Honored Contributor
10 years agoyou first set clock outside the process to'1', then start assigning values inside the process. You now have multiple drivers on the same signal. What is the level if a line is both connected to '1' and '0'? And for '1' and '1'? This is what you see. The syntax is correct, so the compilation for simulation will pass, I think that, should you do a similar thing for synthesis you'll find you get a multiple driver error.
And for the next time, please post your code between code tags.