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
it's a one cycle dispatcher, but it fails, when I take a look to test script then:
fork{
valstartX=-2.0valstartY=-1.5valendX=0.8valendY=1.5valstepX= (endX - startX) / resX
valstepY= (endY - startY) / resY
cmd.valid #=false
cd.waitSampling()
for (y <-0 until resY;
x <-0 until resX) {
cd.waitSampling(Random.nextInt(10))
cmd.valid #=true
cmd.x.raw #= ((startX + x * stepX) * (1<<20)).toInt
cmd.y.raw #= ((startY + y * stepY) * (1<<20)).toInt
cd.waitSamplingWhere(cmd.ready.toBoolean)
cmd.valid #=false
}
}
just imagine 2 task back2back transform, a one cycle dispatcher and Arbiter may not distinguish 2 results between (x ,y) and (x+1, y)
result of (x+1, y) may appear first in this situation. (with the simple strategy mentioned in spec.
so I think there will be more information in PixelResult, both iteration and (x, y)
The text was updated successfully, but these errors were encountered:
Ahhh yes, to simplify the design, the dispatcher / arbiter were designed to always select ports in a sequancial manner (0 then 1 then 2 then 3 then 0 then 1 ...)
my solution:
it's a one cycle dispatcher, but it fails, when I take a look to test script then:
just imagine 2 task back2back transform, a one cycle dispatcher and Arbiter may not distinguish 2 results between (x ,y) and (x+1, y)
result of (x+1, y) may appear first in this situation. (with the simple strategy mentioned in spec.
so I think there will be more information in
PixelResult
, both iteration and (x, y)The text was updated successfully, but these errors were encountered: