Skip to content

Commit ca0a070

Browse files
authored
Add shyaml example
1 parent f2b1627 commit ca0a070

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,12 @@ vcd < in.vcd | less -S # scrollable view
6969

7070
## Query
7171

72-
The default `vcd` output is a valid YAML file, so you can process it with many tools like yq (a `jq` for yaml)
72+
The default `vcd` output is a valid YAML file, so you can process it with many tools like [`yq`](https://github.com/mikefarah/yq) or [`shyaml`](https://github.com/0k/shyaml)
7373

7474
```bash
7575
# print the first 9 sample of the clk channel in the fifo1 scope
7676
vcd < samples/basic.vcd | yq .channels.fifo1.clk[0:9]
77+
vcd < samples/basic.vcd | shyaml -y get-value channels.default.e_clk
7778
```
7879

7980
## Styling

0 commit comments

Comments
 (0)