PPT Slide
const int NUM_BLOCK_INPUTS=3;
const int NUM_BLOCK_OUTPUTS=3;
const int COMP_MODE=PARALLEL;
HWint<BITS> x0, y0, z0, angle1, angle2;// rotation
HWint<BITS> dx, dy, dz; // translation
HWint<BITS> x[2],y[2],z[2]; // temp coords
(x[0],y[0])=ROTATE((in[0]-x0),(in[1]-y0),angle1);
(y[1],z[1])=ROTATE(y[0],(in[2]-z0),angle2);
Domain Specific Compiler: StReAm