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
z = x << n ; wz = wx + n
z = x >> n ; wz = wx - n
z = Fill(n, x) ; wz = wx*n
Then there are dynamic shifts, which take variable as argument.
z = x << y ; wz = wx + maxVal(y)
z = x >> y ; wz = wx - minVal(y)
They are also correctly described in Chisel CheatSheet for Chisel 2.2
(with definition of maxVal(y) and minVal(y))
But strangely dynamic shifts got omitted in Chisel Tutorial 3.0
Because of all above it is unclear from tutorial how >> and << work.
The text was updated successfully, but these errors were encountered:
Section 5.1 of tutorial describes
Fill()
,>>
and<<
using undefined functionsmaxNum(n)
andminNum(n)
Chisel CheatSheet for Chisel 2.2 described this operations as one would expect:
Then there are dynamic shifts, which take variable as argument.
They are also correctly described in Chisel CheatSheet for Chisel 2.2
(with definition of maxVal(y) and minVal(y))
But strangely dynamic shifts got omitted in Chisel Tutorial 3.0
Because of all above it is unclear from tutorial how
>>
and<<
work.The text was updated successfully, but these errors were encountered: