You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On page 2.3_control_flow.ipynb, in the thrid polynomial circuit exercise, if I paste in the solution, it does not compile. Below is the message.
cmd2.sc:11: value \* is not a member of chisel3.SInt
square := io.x \* io.x
^cmd2.sc:13: value \* is not a member of chisel3.SInt
result := (square - (2.S \* io.x)) + 1.S
^cmd2.sc:15: value \* is not a member of chisel3.SInt
result := (2.S \* square) + (6.S \* io.x) + 3.S
^cmd2.sc:15: value \* is not a member of chisel3.SInt
result := (2.S \* square) + (6.S \* io.x) + 3.S
^cmd2.sc:17: value \* is not a member of chisel3.SInt
result := (4.S \* square) - (10.S \* io.x) - 5.S
^cmd2.sc:17: value \* is not a member of chisel3.SInt
result := (4.S \* square) - (10.S \* io.x) - 5.S
^cmd2.sc:29: not found: value poly
expect(c.io.fOfX, poly(select, x))
^Compilation Failed
The text was updated successfully, but these errors were encountered:
update: it seems that backslash star is not a Chisel operator. So the bug is that the solutions have backslashes before the start (multiply) operators.
On page 2.3_control_flow.ipynb, in the thrid polynomial circuit exercise, if I paste in the solution, it does not compile. Below is the message.
The text was updated successfully, but these errors were encountered: