File: test.hal

package info (click to toggle)
linuxcnc 1%3A2.9.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 285,604 kB
  • sloc: python: 202,568; ansic: 109,036; cpp: 99,239; tcl: 16,054; xml: 10,631; sh: 10,303; makefile: 1,255; javascript: 138; sql: 72; asm: 15
file content (26 lines) | stat: -rw-r--r-- 469 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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