Altera_Forum
Honored Contributor
11 years agospikes in modelsim
Hi all,
When simulating a basic counter (74161) I get spikes in modelsim – but I am unable to zoom in on those spikes in the wave window – see attachment. When analyzing the signals I see that the spikes originates from combinations of signals; such as: SYNTHESIZED_WIRE_22 <= SYNTHESIZED_WIRE_26 XOR SYNTHESIZED_WIRE_41 where the inbound signals SYNTHESIZED_WIRE_26 and SYNTHESIZED_WIRE_41 does not exhibit spikes; but change state at the same instance. This phenomena occurs across many of the signals being combined. Code attached for the simple counter circuit and its "wiring". Any experience to share is highly appreciated. Br /mattias