Ask to generate HDL code of Sigma-delta ADC

4 views (last 30 days)
Hello,
Now I am trying to generate HDL code of sigma-delta ADC simulink.
I downloaded this sigma-delta ADC file in this community.
Matlab version : 2022b
but it occurs errors as attached files.
how can I solve these errors?
please let me know.

Accepted Answer

Sarvesh Kale
Sarvesh Kale on 20 Apr 2023
Hi Kyungmin Kyungmin,
I have to following hints at resolving the errors
  1. Let us concentrate on error 2 first since that is simple, the error is saying that you have to set the solver type to Fixed type, I think the current setting is variable type solver and also do the suggested things the error message is displaying in diagnostics
  2. the signals that are entering the system should not be continuous but should have a sample time say 0.01 or 0.001 something like that, before the Digital section you can have a data conversion block that converts to single and feeds that single data type to your Digital section
the above are some of the hints that may solve your issue
Thank you
Sarvesh Kale
  1 Comment
Kyungmin
Kyungmin on 8 May 2023
Hello Sarvesh Kale,
Thank you so much.
I will check it again.
best regards,
Kyungmin Kim

Sign in to comment.

More Answers (0)

Categories

Find more on Code Generation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!