Altera_Forum
Honored Contributor
9 years agoThe difference between simulation and reality and warning (332060)
Hello, i am writing to you because i have some differences between simulation and reality. Before I start to write about warning mentioned above, I would like to tell about symptoms.
I assign value for register, for example 32:output out;
reg init= 6’d32;
assign out=init; (This code is very simplicated) In simulation value of output is 32. In reality it is 0. I have no idea why. So I wonder if it has something in common with warning: --- Quote Start --- Warning (332060): Node: Debouncer:b2v_Debouncer|Knob_Debouncer:KD25|Action[1] was determined to be a clock but was found without an associated clock assignment. --- Quote End --- I use mechanical encoders to increase or decrease a value of register. So I use posedge of signal from debouncer (As a clock in always block) to change value of this register. Because of that is not periodic signal, I can't assign all atributess in TimeQuest Timing Analyzer. I can’t define it as a clock. Is this something that could make problems with registers mentoned above? Thank you for all your replies.