27 lines
469 B
Plaintext
27 lines
469 B
Plaintext
loadrt threads name1=fast period1=100000
|
|
loadrt flipflop
|
|
|
|
loadrt sampler depth=1000 cfg=b
|
|
loadrt streamer depth=32 cfg=bbbb
|
|
|
|
|
|
net a streamer.0.pin.0
|
|
net b streamer.0.pin.1
|
|
net c streamer.0.pin.2
|
|
net d streamer.0.pin.3
|
|
|
|
net a flipflop.0.data
|
|
net b flipflop.0.clk
|
|
net c flipflop.0.reset
|
|
net d flipflop.0.set
|
|
|
|
net n0 flipflop.0.out sampler.0.pin.0
|
|
|
|
addf streamer.0 fast
|
|
addf flipflop.0 fast
|
|
addf sampler.0 fast
|
|
|
|
loadusr -w sh runstreamer
|
|
start
|
|
loadusr -w halsampler -n 10
|