fixing clock frequency and sample time of control system model using hdl coder

2 vues (au cours des 30 derniers jours)
Gary
Gary le 19 Juin 2024
Modifié(e) : Kiran Kintali le 20 Juin 2024
I have built a fixed point PID controller in simulink and could generate the code using hdl coder for programming FPGA. The generated verilog code has additional inputs such as clock, clock enable. During simulation, I fixed the sample time of the discrete models to .01 seconds. I am unable to understand the difference between the input clock and the sample time. Could you please clarify? (btw My FPGA recieves external clock of 50MHz)

Réponses (1)

Kiran Kintali
Kiran Kintali le 20 Juin 2024
Modifié(e) : Kiran Kintali le 20 Juin 2024

Catégories

En savoir plus sur Code Generation dans Help Center et File Exchange

Tags

Produits


Version

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by