Project Simulation
Before programming the FPGA, simulate your project behavior:
-
Click on the Simulate tab.
-
Choose Advanced Simulation.
-
Click Menu → Run Iverilog.
-
Observe the main signals:
|
Signal |
Description |
|
accelX/Y/Z |
Sensor data values |
|
value (CORDIC) |
Computed tilt angle |
|
valueOut (filter) |
Smoothed angle output |
|
active (closeLoop) |
Control signal to the servo |
|
pwm |
Pulse generated to drive the servo |
If errors occur, check the connections and retry.

No Comments