VCS mixed hdl sim.. having trouble compiling

Status
Not open for further replies.

delon

Junior Member level 2
Joined
Sep 11, 2011
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,449
Hello,

I have a src code in VHDL and tb in verilog. I am doing the following to compile:

vhdlan vhdmodule.vhd
vcs verilog_tb.v

However for the second one, its saying that "Module definition of above instance is not found in the design." Looks like it can't recognize the vhdl module instantiated in the TB. Can anyone please help me out with this? How does the flow works?
 

you need to first compile the verilog file with :
vlogan verilog_tb.v
then elaboration:
vcs tb (the library not file name)
simulation:
./simv
check out the vcs_mx users guide
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…