Upcase signal values

This commit is contained in:
Nikolay Puzanov 2022-12-07 17:53:17 +03:00
parent ab5db7f6e8
commit 90905544d4

View File

@ -304,10 +304,10 @@
(- x1 x0 (* data-hw 2)) (- x1 x0 (* data-hw 2))
(- y1 y0)) (- y1 y0))
(format-inex "<text x=\"~a\" y=\"~a\">" 0 text-position) (format-inex "<text x=\"~a\" y=\"~a\">" 0 text-position)
(if (or (eq? sig-type 'real) (string-upcase
(< sig-width 4)) (if (or (eq? sig-type 'real)
value (<= sig-width 4))
(string-upcase value
(vcd-binary->hex value #t))) (vcd-binary->hex value #t)))
"</text></svg>")))) "</text></svg>"))))