Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > viewing variables in modelsim

Reply
Thread Tools

viewing variables in modelsim

 
 
knight
Guest
Posts: n/a
 
      12-12-2007
hi is it possible to view variables in modelsim...?

if so how can i do that...?

thanks
knight
 
Reply With Quote
 
 
 
 
Alain
Guest
Posts: n/a
 
      12-12-2007
On 12 déc, 06:06, knight <krshe...@gmail.com> wrote:
> hi is it possible to view variables in modelsim...?
>
> if so how can i do that...?
>
> thanks
> knight


Hi,

Just look at Modelsim Reference Guide, chapter 2, add command :
"Variables may be added if preceded by the process name. For example,
add wave myproc/int1"
 
Reply With Quote
 
 
 
 
Mike Treseler
Guest
Posts: n/a
 
      12-12-2007
knight wrote:
> hi is it possible to view variables in modelsim...?
> if so how can i do that...?


add wave * ;# Signals
add wave /mytb/main/* ;# Test variables
add wave /mytb/dut/main/* ;# UUT variables


-- Mike Treseler
 
Reply With Quote
 
Tricky
Guest
Posts: n/a
 
      12-12-2007
On 12 Dec, 05:06, knight <krshe...@gmail.com> wrote:
> hi is it possible to view variables in modelsim...?
>
> if so how can i do that...?
>
> thanks
> knight


You can also add variables from a process via the gui by dragging
+droping the process from the "sim" tab into the wave window.
I its a bit of shame they dont let you view the variables in the
"objects" window, like it shows signals. I know other simulators do.
 
Reply With Quote
 
KJ
Guest
Posts: n/a
 
      12-12-2007
On Dec 12, 5:05 am, Tricky <Trickyh...@gmail.com> wrote:
> I its a bit of shame they dont let you view the variables in the
> "objects" window, like it shows signals. I know other simulators do.


Variables show up in the 'Locals' window.

KJ
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Viewing intermediate variable value within a process in ModelSim rwdfan VHDL 6 02-22-2010 02:49 PM
Viewing internal signals with ModelSim Joseph VHDL 4 03-27-2008 07:38 PM
Viewing variables in modelsim knight VHDL 0 12-12-2007 04:50 AM
Modelsim-viewing signals within a component Neha VHDL 6 11-12-2007 05:23 PM
Viewing variables within process scoped procedures (Modelsim) Mark VHDL 4 11-09-2004 11:13 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57