Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
language:langs:dflow [2022/05/13 08:50] rajit |
language:langs:dflow [2023/02/02 14:36] rajit |
||
---|---|---|---|
Line 51: | Line 51: | ||
</ | </ | ||
+ | The bit-width of channel '' | ||
+ | |||
+ | The control channel, input data, and output data can only be channels. If a control expression is needed, one must use a combination of a split as well as a function. For example, if a split takes an input from '' | ||
+ | |||
+ | <code act> | ||
+ | dataflow { | ||
+ | {c = 0 ? 1 : 0} A -> X, Y | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Instead, use the following: | ||
+ | < | ||
+ | dataflow { | ||
+ | c = 0 ? 1 : 0 -> ctrl; | ||
+ | {ctrl} A -> X, Y | ||
+ | } | ||
+ | </ | ||
===== Controlled merge ===== | ===== Controlled merge ===== | ||
Line 65: | Line 82: | ||
} | } | ||
</ | </ | ||
+ | The bit-width of '' | ||
===== Implicit copy and explicit buffers ===== | ===== Implicit copy and explicit buffers ===== | ||