# components
loadrt sampler cfg=bb depth=4096 
loadrt stepgen step_type=0 

# signals
newsig unlinked bit  

# nets
net dir => sampler.0.pin.0
net dir <= stepgen.0.dir
net step => sampler.0.pin.1
net step <= stepgen.0.step

# parameter values
setp stepgen.0.dirhold   0x00000001
setp stepgen.0.dirsetup   0x00000001
setp stepgen.0.maxaccel            2
setp stepgen.0.maxvel         0.15
setp stepgen.0.position-scale        32000
setp stepgen.0.steplen   0x00000001
setp stepgen.0.stepspace   0x00000001

# realtime thread/function links
addf stepgen.update-freq fast
addf stepgen.make-pulses fast
addf stepgen.capture-position fast
addf sampler.0 fast

