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. Advertising

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. SD
    Replies:
    5
    Views:
    14,515
    Kai Harrekilde-Petersen
    Feb 23, 2005
  2. VB Programmer
    Replies:
    1
    Views:
    397
    Axel Dahmen
    Nov 3, 2003
  3. luna
    Replies:
    1
    Views:
    6,825
  4. castironpi

    custom allocation and custom type

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

    Custom views in ModelSim

    Niv (KP), Nov 13, 2010, in forum: VHDL
    Replies:
    1
    Views:
    705
    Jonathan Bromley
    Nov 13, 2010
Loading...

Share This Page