logidrom icon indicating copy to clipboard operation
logidrom copied to clipboard

Schematics/Waveform: Rendering of Low Active Signal Names

Open Raffzahn opened this issue 9 years ago • 2 comments

Ist:

Low active signal names are usually rendered with an Overline. Recomendet implementation ( according to https://github.com/drom/wavedrom/wiki/Unicode ) is the usage of Unicode overline code sequences. While this is doable, human editing is quite limited due missing support. Even thru Unicode support is a definite need, basic functions should be accessible with ASCII only sequences.

Soll:

Signal names starting with '/' (Slash) or '-' (Hyphen/Minus) should be rendered with an overline. The the negation character is part of the signal name ('/A' vs. 'A') and must not to be removed. Example:

{ assign:
 [
  ["/A", ["NOT", "A"]],
  ["-B", ["NOT", "B"]],
 ]
}

Result: neg-label

Raffzahn avatar Jul 14 '14 21:07 Raffzahn