Skip to content

Instantly share code, notes, and snippets.

@ktemkin
Created April 23, 2020 03:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ktemkin/a070b9ec8cc9cdb85e5cbf18638dac87 to your computer and use it in GitHub Desktop.
Save ktemkin/a070b9ec8cc9cdb85e5cbf18638dac87 to your computer and use it in GitHub Desktop.
m.d.sync += x.eq(0)
with m.If(a):
m.d.sync += x.eq(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment