Skip to content

A set of postscript functions for drawing waveforms

Notifications You must be signed in to change notification settings

jbush001/DrawWaveform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

This is a postscript library that allows creating waveform images. The waveforms are specified by calling a small set of library functions (there is an example at the end of the source file). As is typical in postscript, parameters appear before the function name.

numclocks numsignals startwaveform
Begins drawing a new waveform with the specified number of clock transitions and signals The clock waveform will be drawn automatically.

name newsignal
Starts a new signal with the specified name

value numclocks drawbit
Draws a single bit waveform with a given value for a specified number of clocks

label numclocks drawknown
Draws a multi-bit waveform with the given label

numclocks drawunknown
Draw a multi-bit waveform that is unknown. It will be filled with gray

numclocks drawhiz
Draw a portion of signal that is floating (high impedance)

This can be invoked from ghostscript (gs waveform.ps) or you can double click the postscript file directly on a Mac.

sample

About

A set of postscript functions for drawing waveforms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published