Hi all,
Recently, i received a strange problem.
when using spatial and in the Accel{} region, for example, i define "val x = Reg[FixPt[TRUE, _16, _16]]" and i want to do SRA.
so i define another parameter "val shift =
x.to[FixPt[TRUE, _16, _0]]", i use "result" to receive the return value of "x >> shift".
But here is a strange problem, if i set x to 0, then the result will be 0 rather tnan x. And if the x doesnt equal to 0, for example 1 or 2, the the result will be what it should be like x/2 or x/4.
So can anyone help me with this