Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

Comparator model in simulink model using DSP BUILDER

Hi all,

I am atttaching 3 files:-

1) simulink model

2) simulink(HIL) model;

3) Error snap while go thru HIL BLOCK.

Now,

i am using DSP BUILDER for some algorithm ..

Before that i am trying my hand on small examples..

one of them is i have attached with this mail..

if i simulate the design in simulink then it works fine..

If when i compile using signal compiler it creates all the required files...

But wen i want to go dumping the code using HIL block ...

It shows the following error..

"ERROR: There are no clocks in the Quartus project sim4 HIL simulation may not work properly with this design. Refer to the HIL Trouble Shooting section of the Reference Manual for more details."

I have tried using even with clock but same message is repeating ...

I think many of u have worked on this ..

so i kindly request u inform ..

what is the problem associated with it....

thanks

regards

raj

guru.koti@gmail.com

bangalore

9886479346

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I had the same problem:

    "ERROR: There are no clocks in the Quartus project sim4 HIL simulation may not work properly with this design. Refer to the HIL Trouble Shooting section of the Reference Manual for more details."

    For me the problem was solved when I connected the DE2 board while I compiled the simulink model. That is before I press the signal compiler button I connect the board. Then the warnings during the compiling will disappear and you can include the compiled file using the HIL block...

    I hope you understand my suggestion else I will try to elaborate on it later on!