Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16603 Discussions

create an include file in modelsim

Altera_Forum
Honored Contributor II
1,156 Views

Other recipients:  

 

 

 

I am trying to create a macro file in modelsim. The file extension I need is .vh (Verilog include file). However, when I choose the file type as macro, I got a TCL file. Does anybody know how to create an include file with file extension of "vh"? Thanks.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
351 Views

maybe when you run the TCL file, a VH file will appear?

0 Kudos
Altera_Forum
Honored Contributor II
351 Views

This is my initial guess too. However, after I added the search path in the "Verilog and System Verilog", I was still told the include file can't be found. 

 

Anybody knows how to solve the problem?
0 Kudos
Reply