Accessing signals through strings

Guest
Hello,

Does anyone know how to access a signals' value by referencing that
signal name though a string?

e.g. I am reading in my signal names from a file.

I then wish to print back out to a file the corresponding signal
values.

Hope that is clear.

Regards
John
 
On Tue, 20 Nov 2007 03:45:34 -0800 (PST), john.williamson@aculab.com
wrote:

Does anyone know how to access a signals' value by referencing that
signal name though a string?
Not in VHDL, unless you write a very frightening "case"
statement.

If you are using ModelSim, you should check out the
"SignalSpy" tool. Otherwise, it's something that you
could do through the simulator's C-language interface.
--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
jonathan.bromley@MYCOMPANY.com
http://www.MYCOMPANY.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.
 

Welcome to EDABoard.com

Sponsor

Back
Top