c Header file *.h

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Submitted by stephan.joseph@... on Mon, 06/25/2012 - 15:12

 

Hello,

I have a question, there is a way to include a c header file *.h direct in a VisSim project. Because I use already a header file in a CCS project with many #defines and i want now use this #defines in a VisSim project.

Thanks for the answer.

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    Submitted by Anders89 on Wed, 06/27/2012 - 00:00.

    Very good question. Cgen.h is always included by the VisSim code generator. At the end of Cgen.h is a directive

     #include 'userdll.h' 

    userdll.h is found in \vissim80\cg\include. It never contains any entries from VSI. It is intended for user definitions. If you have existing header files, put the #include directives into userdll.h