fixing clock frequency and sample time of control system model using hdl coder
이전 댓글 표시
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
2024년 6월 20일
편집: Kiran Kintali
2024년 6월 20일
0 개 추천
See the attached document on the concept of sample time in the model and its relation to clock in the generated code using HDL Coder.
Please share your sample model and target specifications for additional inputs.
You may also find these videos interesting on clock rate pipelining
카테고리
도움말 센터 및 File Exchange에서 Intel FPGA and SoC Devices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!