startmacro u:device[pic2ooe]

res sr 1e6
res tr 600e3
res tr 2e6

picd reset device
pic create ramfile si 1m sr

xpipe on 

  waveform/rt/tl=64k/ps=1m _cb si 1e9 sin 10e3 tr/50 0 0 1/tr 
  sinkpic/port=module1/flags=muxclk=i/throttle=4/stats=1/xtl=64k _cb ramfile device 

xpipe off

endmacro
