+++ title = "Lightweight speculation and predication in HLS" author = "Yann Herklotz" tags = [] categories = [] backlinks = ["2b1c"] forwardlinks = [] zettelid = "2b1c1" +++ In high-level synthesis, there is no penalty for performing jumps, and one can therefore implement a lightweight predicated execution, where less predication is used (only in writes) and jumps are used in the shorted branches \[1\]. This is done by adding a jump statement in the shorter branch which jumps to the end of the if-statement, therefore allowing predication to work as efficiently as jumps. This is more efficient for high-level synthesis, as there is no cost when jumping.