Skip to content

Control loop currently does not work in hardware #6

@mcgoron-peter

Description

@mcgoron-peter

The current control loop is written in Verilog. It works in simulation but fails when put into hardware. My bet is on failures due to the control loop math file, particularly the very large width arithmetic used.

A few solutions:

  1. Rewrite control_loop_math to use an ALU. This ALU only has to do addition, subtraction, multiplication.
  2. Rewrite control loop to be a real time module on Linux.
  3. Rewrite control loop to run on a coprocessor (branch)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions