Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- a = Signal(12)
- # value of sqrt_2 = 1.414
- #migen doesn't support floating values.
- a = Signal(181) #181 = 1.414*128
- b = Signal(12)
- b.eq(3)
- c = Signal(12)
- c.eq(b*a)
- c.eq(c >> 7)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.


