#ifndef PIPELINE_H_ #define PIPELINE_H_ #include #ifdef __MICROBLAZE__ #define mprint xil_printf #else #define mprint printf #endif void in(int *x) { static int c = 0; *x = c; c += 1; } void f1(int x, int *y) { *y = x * 2; } void f2(int y, int *z) { *z = y + 10; } void out(int z) { mprint("Pipeline produced a token (%d)\n", z); } #endif