Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]Can wavedrom support below datasheet like timing? #328

Open
cyanue opened this issue Jul 16, 2020 · 5 comments
Open

[Feature Request]Can wavedrom support below datasheet like timing? #328

cyanue opened this issue Jul 16, 2020 · 5 comments

Comments

@cyanue
Copy link

cyanue commented Jul 16, 2020

Annotation 2020-07-16 152357

@drom
Copy link
Member

drom commented Aug 16, 2020

Is that close?

{signal: [
  {name: 'clock', wave: 'P.....', node: '..D.E'},
  {                               node: '.BC.FG'},
  {name: 'data',  wave: '01...0', node: '.A...H'},
],
  edge: [
  'A-B', 'B<->C tDS', 'C-D',
  'E-F', 'F<->G tDH', 'G-H'
]
}

image

@cyanue
Copy link
Author

cyanue commented Aug 17, 2020

Yes, it is close to the original figure.
But how to do when the node number is larger than 26, means "Z" was used?

@drom
Copy link
Member

drom commented Aug 17, 2020

You can use unicode symbols. For example https://en.wikipedia.org/wiki/Greek_and_Coptic

@cyanue
Copy link
Author

cyanue commented Aug 17, 2020

Thank you, it works.
But it is still too complex to me. And even use unicode symbols, it is still limited number.

As the timing is always from one edge of a singal to another edge of current signal or other signal, can we add a syntax to define the edge as below? Here temp is the 2nd waveform which is empty. And if each signal has an index, it will be more helpful.
edge: [
'data(1)-temp(1)', 'temp(1)<->temp(2) tDS', 'temp(2)-clock(2)',
'clock(4)-temp(4)', 'temp(4)<->temp(5) tDH', 'temp(5)-data(5)'
]

In this way, the node number is unlimited, and actually, don't need to define node in signal part.

@drom drom transferred this issue from wavedrom/wavedrom.github.io Jun 7, 2021
@adrienkohlbecker
Copy link
Contributor

This MR might be helpful #337

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants