bool32.rising clk
None
spinner maxTracks
spinner maxSteps
spinner numValues
int32_t seqSteps_[attr_maxTracks];
int32_t seqClkDivs_[attr_maxTracks];
int32_t seqValue_[attr_maxTracks][attr_maxSteps][attr_numValues];
const int32_t maxSteps_ = attr_maxSteps;
const int32_t maxTracks_ = attr_maxTracks;
const int32_t numValues_ = attr_numValues;
bool clk_ = false;
bool clkTrig_ = false;
memset(&seqValue_, 0, attr_maxTracks *attr_maxSteps *attr_numValues);
for (int i = 0; i < attr_maxTracks; i++) {
seqClkDivs_[i] = 1;
seqSteps_[i] = attr_maxSteps;
}
clkTrig_ = false;
if (inlet_clk) {
if (!clk_) {
clk_ = true;
clkTrig_ = true;
}
} else {
clk_ = false;
}