Skip to main content

Simulation Stage

Before programming the FPGA, verify that your project behaves as intended.

    • Encoder counter (w_7) changing according to quadA and quadB.

    • Setpoint pulses (w_3) when pressing the key.

    • Error (w_5), gains (w_6, w_13), and resulting values (w_8).

    • Duty cycle (w_14) and PWM signal (w_11).

    • Motor direction (through w_10 and outputs IO69, IO68).

[VCD Simulation]

If you get compilation errors or unexpected behavior, review the module connections and re-run the simulation until the results match your expectations.