Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

help needed - Modelsim simulation warning

Status
Not open for further replies.

research_vlsi

Advanced Member level 4
Joined
Nov 15, 2006
Messages
108
Helped
11
Reputation
22
Reaction score
7
Trophy points
1,298
Activity points
1,902
modelsim no mcd channels available

Hi friends while i simulating my design i come across the following warning.

# ** Warning: (vsim-3533) [FOFIW] - No mcd channels available.
Failed to open file "D:/output/v_out/design.out" for writing.

design.out is the file that will generated from my verilog code.
I used
file=$fopen("D:/output/v_out/design.out"); in the code.. but the file is not generating after simualtion...

anybody help regarding this..
 

modelsim fopen

I'm not sure, but I remember that this kind of problem appears when the Architecture name in the configuration part of your code is not correct.
 

modelsim simulation output files

I am not very shure that you are doing right because I never worked with windows modelsim
but in unix if you want to open a file the command is following :=
file=$fopen("../output/v_out/design.out");

I think something is wrong with D: drive option.
 

modelsim $fopen file

thank you for the replies..

hi AdvaRes: i written code in verilog..
any other reason?
 

[fofiw] - no mcd channels available.

Try the below one :

file=$fopen("./design.out");


Since this path is not set in the configration file of the modelsim, the path which u have specified is not recognised.

Hope it will solve u r problem

Regads,
dcreddy
 

I am not sure, but you could try putting back-slashes (\) instead of front-slashes (/) in your path.

Try D:\output\v_out\design.out instead of D:/output/v_out/design.out

Windows OS uses backslash in its address path whereas linux uses frontslash.

Maybe windows is not able to locate the path in the form that you specified.

Just give it a try. All the best! Hope it works! :)
 

I came across the same warning and I bumped into this thread. Thought I will update it with the solution I received from Mentor.

Changing from

f = $fopen("file");

to

f = $fopen("file", "w");

resolved the issue.

Hope this helps to people who might be seeing this issue.

Regards,
Sudhakar
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top