Question about vlog

H

hssig

Guest
Hi,

I have a curious behavior in my simulation with Modelsim:


1. approach:
I have a couple of Verilog files and I compile them with vlog one at a time. Then I start simulation with vsim.

2. approach:
I write the files into a file called files_to_compile.f
Now I compile with: vlog -f files_to_compile.f


As I can observe in the transcript window of Modelsim for every module compiled in approach (1) it is mentioned as 'Top Level module'
whereas with approach (2) Modelsim lists less 'Top level modules'.

Interestingly approach (2) works correctly, approach (1) does misbehave in simulation.


Does anyone have any idea what the difference is?


Thank you, hssig
 

Welcome to EDABoard.com

Sponsor

Back
Top