Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

WaveDrom = Waform editor in your browser

Status
Not open for further replies.

drom

Junior Member level 3
Joined
Feb 25, 2002
Messages
26
Helped
5
Reputation
10
Reaction score
5
Trophy points
1,283
Activity points
107
WaveDrom = Waveform editor in your browser

Hi All,

Want to share my new :idea: tool with all of you: **broken link removed**

Waveform editor, that works in your browser (Chrome or Firefox4), takes JSON formatted description and produces SVG picture output. On-A-Fly!

From:

Code:
{ "signal" : [
  { "name": "clk",         "wave": "p....." },
  { "name": "Data",        "wave": "x=x=.x", "data": ["data1", "data2"] },
  { "name": "Request",     "wave": "0101.0" },
  { "name": "Acknowledge", "wave": "1..01." }
|}

To:

**broken link removed**

Open Source. :-D Hope you will like it. Any feedback is welcome.

Alexey
 

It is on-line tool. Runs directly in your browser: **broken link removed**
But you can download it from wavedrom.googlecode.com

Regards, Alexey
 

Just added 'z' - high-impedance state; 'u' - pull-up (weak 1); 'd' - pull-down (weak 0) states in case somebody wants to annotate external signals.

WeveJSON
 

WaveDrom = Waveform editor in your browser

Hi All,

Want to share my new :idea: tool with all of you: **broken link removed**

Waveform editor, that works in your browser (Chrome or Firefox4), takes JSON formatted description and produces SVG picture output. On-A-Fly!

From:

Code:
{ "signal" : [
  { "name": "clk",         "wave": "p....." },
  { "name": "Data",        "wave": "x=x=.x", "data": ["data1", "data2"] },
  { "name": "Request",     "wave": "0101.0" },
  { "name": "Acknowledge", "wave": "1..01." }
|}

To:

**broken link removed**

Can be used for case documentation, support 0,1, Value, high-impedance, pull-ups, pull-down, undefined states.

Open Source. :-D Hope you will like it. Any feedback is welcome.

Alexey
 

Re: WaveDrom = Waveform editor in your browser

I2C waveform example using WaveDrom. That how external signals can be annotated and result exchanged on forum. Pull-up/Down transitions added as 'u' and 'd'. Should I add Pull-up/down data transitions?

Code:
{ "signal" : [
  { "name": "SDA", "wave": "10.=..=..=..=..0.u", "data": ["a6", "a5", "...", "a0"] },
  { "name": "SCL", "wave": "1.0.u0.u0.u0.u0.u." }
]}

45_1299986801.png


  • [1,2] Start condition
  • [4] Data Set
  • [5,6] SCL strobe
  • [7] Next bit of data
  • [17,18] Stop condition
 

Hi all,

I have improved support of zoom and sliders. FireFox 4+ now works as Chrome. Also added controls for resizing input window, gap visualization. Take a look for new version of **broken link removed**.

Any feedback or ideas will be appreciated. Write it here, into user group or directly to Project Issues.

What do you think?
--Alexey
 

This is a very nice tool. Better than what I originally thought.

One request. Can we have the ability to draw a gated clock? Something like this.

{ "name": "clk", "wave": "0p0..p0.." },

Thanks.
 

hats off to you alexey.

keep it up.
 

Someone who tested it wrote me

most functions don't work inside Chrome browser. In Firefox SVG and SVG Source buttons work, but fairly clumsy to get them from there to an offline doc. Working Save button would make this pretty useful though.
 

fixed with r124. Clock pattern can now be intermixed with any other. Could you try? [https://code.google.com/p/wavedrom/]

Wow, that was so fast. It works exactly like I wanted. Thank you.

Is this forum the best place to make feature request like this? I tried to do it from wavedrom page and couldn't figure it out. I have some more "difficult" feature requests in mind.;-)
 

The prefered way of requesting the feature is via: Issues - wavedrom - Digital timing diagram in your browser - Google Project Hosting
The User group forum https://groups.google.com/forum/?fromgroups#!forum/wavedrom can be used for focused discussions.
But I am watching this thread in edaboard anyway.
Waiting for your "difficult" feature requests. --Alexey

---------- Post added at 21:56 ---------- Previous post was at 21:45 ----------

I know that the export from WaveDrom to offline documents is clumsy and don't work in WebKit based browsers.
I am investigating better ways of offline export, including EPS and taking any sugestions on this front.
Screenshot tool (like Snipping Tool in Win7) is the fastest way exporting it into offline document. But it looses the vector nature of original work.

Save button works. It saves your JSON into the browser local storage. When you open WaveDrom editor again it will restore your previous JSON.
 
Hi Alexey,

I submitted Issue #44. It looks like you already got things figured out for the period and offsets. That's awesome.

Yup. I've been using the Snipping tool. I just found out yesterday that SVG button works for Firefox. It wasn't working with Chrome 16.

Thanks for your updates.
 
I have added period and phase properties into wavelane. Please try. Is it what wanted?
 

The behavior of "phase" is exactly reverse of what I expected. I thought phase = 1 would mean an offset of positive 1 from the position of phase = 0, meaning the waveform would shift to the right. The current behavior is applying a negative offset.

6_1329113835.png


Would you please consider changing the "phase" sense to be positive? It is more intuitive to me. Otherwise, this is a great update. Thank you.
 
Last edited:

My understanding of term "phase" can be illustrated on following picture.

Capture.PNG

Periodical signal with additional phase (+0.5) is shifted left relative to the same signal with phase 0.

The other "practical" reason -- it was much easy to implement left shift ;) if you don't mind.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top