Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

ModelSim AE vs SE and "transcript file xxx"

I have some difficulties with ModelSim AE. My goal is to open a read/write channel between ModelSim and an external program. This works fine with ModelSim SE and it's done as follow:

in "my_macro.do" :

fconfigure $MyChannel -blocking 0 -buffering line

fileevent $MyChannel readable "readMe $MyChannel"

transcript file $MyChannel

OK. From this point,

  • With both ModelSim, if I type "puts $MyChannel string", the string is correctly sent to $MyChannel.

BUT, the transcript text there is a problem :

  • with ModelSim SE : the transcript is correctly redirected to $MyChannel.

  • with ModelSim AE, a file called $MyChannel is created. The value of this variable is always filexxxxxxx (file with 7 hexadecimal digit).

My external program needs to receive the transcript to correctly functionnate. The PDF Reference Manual for "transcript file" for both ModelSim AE/SE is exactly the same.

Does someone know how to output the transcript file to a channel under ModelSim AE ?

Thanks in advance.

Regards.
No RepliesBe the first to reply