New answers tagged verilog
1
vote
Accepted
What could be wrong with my vivado simulation? The clock isn't alternating
It appears your view is zoomed in too much. The timestamps on waveforms show 1ps distance between marks, while your clock should have transitions every 5ns, i.e. 5000 times slower. You should zoom out....
1
vote
JK flip flop behavior on startup in Verilog
The issue with your gate-level model is that it only represents an unknown in simulation using a single representation: 1'bx, which is overly pessimistic. The ...
2
votes
JK flip flop behavior on startup in Verilog
Using a gate-level model for sequential logic like a flip-flop is the wrong tool for the job in Verilog. The right tool for the job is a behavioral model.
Your model with the ...
2
votes
Accepted
Why is the waveform not matching? (2 clock delay in FSM code)
This code in the testbench is full of Verilog simulation race conditions:
...
Top 50 recent answers are included
Related Tags
verilog × 2056fpga × 583
system-verilog × 351
digital-logic × 334
simulation × 183
hdl × 174
xilinx × 155
vhdl × 106
synthesis × 105
vivado × 102
testbench × 72
intel-fpga × 67
quartus × 66
clock × 61
modelsim × 61
state-machines × 54
flipflop × 53
counter × 50
rtl × 48
register × 35
vlsi × 28
programmable-logic × 28
adder × 26
asic × 25
lattice × 25