Skip to content

labeling timings just above and below the wave more accurately #423

Open
@tthrx

Description

@tthrx

I find it's hard to make a very clear indication about the delay between signals or high/low level time of them.
and I find that some one has solved this by embedding Wavedrom into python, here is the result, and I think it's more elegant
timing_1_01
and the codes are

logic.TimingDiagram(
    {'signal': [
        {'name': 'Address',     'wave': 'x4......x.', 'data': ['Valid address']},
        {'name': 'Chip Select', 'wave': '1.0.....1.'},
        {'name': 'Out Enable',  'wave': '1.0.....1.'},
        {'name': 'Data Out',    'wave': 'z...x6...z', 'data': ['Valid data']},
    ],
     'edge': ['[0^:1.2]+[0^:8] $t_{WC}$',
              '[0v:1]+[0v:5] $t_{AQ}$',
              '[1:2]+[1:5] $t_{EQ}$',
              '[2:2]+[2:5] $t_{GQ}$',
              '[0^:5]-[3v:5]{lightgray,:}',
             ]
    }, ygap=.5, grid=False)

https://schemdraw.readthedocs.io/en/latest/gallery/timing.html

will you plan to change the style of making labels and marks like schemdraw?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      labeling timings just above and below the wave more accurately · Issue #423 · wavedrom/wavedrom