timing diagram enhancements

0 votes
asked Apr 14 in Wanted features by benoitek (170 points)



I played a bit with timing diagrams and found several limitations.

Here they are : 

- how to draw binary signals ? (1 bit bus)
- how to draw in a 'compact format (name of the signal + waveform on the same line) ?
- how to draw 'dirac' pulses (typically an interrupt, very small compared to the other signals)
- how to make the timeline more flexible :
- allow decimal events (@1, @1.1)
- allow steps bigger than one (graduation 10-20-30...up to 100 would give 10 graduations. Currently it gives 100 graduations, not readable)
- allow non linear scale (10-20-30 ... 100 : 4 graduations with '...' between 30 and 100)

I suppose this list is not enough but if you are interested I can elaborate a bit more




1 Answer

+1 vote
answered Apr 19 by plantuml (131,770 points)

Many thanks for your suggestions!

If you have any pointer to some existing pages with the following images, it would help:
- binary signals ? (1 bit bus)
- compact format (name of the signal + waveform on the same line) ?

We have also built a new beta

This beta supports decimal events (@1.1)
There is also a new command for scale. For example, you can have:

scale 3000 as 600 pixels

This is a first draft, and we will probably enhance this scale feature.
Any suggestion is welcome (especially on non-linear scale)


commented Apr 19 by benoitek (170 points)

Thanks for this very nice release.

Concerning the 2 points where you want complements :
"- binary signals ? (1 bit bus)
- compact format (name of the signal + waveform on the same line) ?"
You can look at http://wavedrom.com/tutorial.html - On step 2 :
- you see different 1 bit signals (here they are clocks but it could be any other signals like enable, acknolwledge, ...)
- the name of the signal is written on the left of the weveform, right-aligned
http://wavedrom.com/tutorial.html - Step 5 introduces also group notion which is interesting.

http://wavedrom.com/tutorial.html - Step 4. "Spacers and Gaps" shows an example of non-linear scale.

commented May 1 by BrianChristensen (120 points)
I like the scale but it would be nice to zoom in X only (if the image covers 6 seconds and I want to Zoom into 1 second but dont want to ZOOM in x and y.   Also, tick marks....with scale most go away (I set scale 1000 as 1000 pixels and had only 3 tick marks.
commented May 2 by plantuml (131,770 points)
I'm confuse here. scale does zoom in X only.
Could you post here a simple example (@startuml...@enduml) of what you are talking about ?