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

13 ビュー (過去 30 日間)
Gary
Gary 2024 年 6 月 19 日
編集済み: Kiran Kintali 2024 年 6 月 20 日
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)

回答 (1 件)

Kiran Kintali
Kiran Kintali 2024 年 6 月 20 日
編集済み: Kiran Kintali 2024 年 6 月 20 日

カテゴリ

Help Center および File ExchangeCode Generation についてさらに検索

タグ

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by