2.8. Use cases

A great power implies great responsibilities! As each character count there combination could lead to an undesired effect.

To prevent any surprise, this section demonstrates several edge-cases.

2.8.1. Glitched Clock

gated clock n:
    wave: "N0...Nl"

gated clock p:
    wave: "P0...Pl"
_images/glitched_clock.yaml.svg

2.8.2. Name with ‘:’ in yaml

In yaml the ‘:’ is a delimiter which prevents you to write meaningful signal names as below.

Error

the following code will fail

bus[15:0]:
    wave: "X=...X=..."

Tip

enclose the signal name by double-quotes

"bus[15:0]":
    wave: "X=...X=..."