Skip to content
Snippets Groups Projects

add simple way to insert delays

Merged Hugo Winbladh requested to merge 184-add-simple-way-to-add-delays into master

Closes #184

I thought the proposed way of using an operator like >> to insert delays would be too easily confused with bit shifting, so I just created a normal function instead. I don't know if it's the best, but it works at least.

so now you can do the following to delay one of the inputs of the addition by 3T:

b = Constant(1)
c = Constant(1)
a = b + c
delayed_a = a.input(0).delay(3)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading