Custom data type in ModelSim

Discussion in 'VHDL' started by XYZ, May 30, 2010.

  1. XYZ

    XYZ Guest

    Hi,

    I created a custom data type in VHDL package

    type my_type is ('A', '0', '1', 'B')

    and conversion functions so that ModelSim uses my_type to represent data.
    How can I modify line styles that ModelSim uses to plot timing diagrams?
    Both 'A' and 'B' are red (the same as 'U' in std_logic) but I would like
    'A' to be drawn as blue line with logic value 0 and 'B' to be blue at
    0.5. Is it doable?

    Thanks.
     
    XYZ, May 30, 2010
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. VB Programmer
    Replies:
    1
    Views:
    506
    Axel Dahmen
    Nov 3, 2003
  2. luna
    Replies:
    1
    Views:
    7,038
  3. heyo
    Replies:
    3
    Views:
    1,341
    Dan Pop
    Apr 1, 2004
  4. pete
    Replies:
    4
    Views:
    1,010
    Dan Pop
    Apr 2, 2004
  5. Yevgen Muntyan

    #define ALLOCIT(Type) ((Type*) malloc (sizeof (Type)))

    Yevgen Muntyan, Feb 9, 2007, in forum: C Programming
    Replies:
    10
    Views:
    1,203
    Yevgen Muntyan
    Feb 13, 2007
  6. castironpi

    custom allocation and custom type

    castironpi, Aug 4, 2008, in forum: Python
    Replies:
    0
    Views:
    422
    castironpi
    Aug 4, 2008
  7. Niv (KP)

    Custom views in ModelSim

    Niv (KP), Nov 13, 2010, in forum: VHDL
    Replies:
    1
    Views:
    789
    Jonathan Bromley
    Nov 13, 2010
  8. kj
    Replies:
    5
    Views:
    611
Loading...