2.jpg (11.17K)
Number of downloads: 7
1.jpg (11.39K)
Number of downloads: 9
For picture 1, it is the example which give me.
The proccess config is below:
producer_process = co_process_create("Producer", (co_function)Producer,3,in_A, in_B, in_C);
Do0 = co_process_create("Do0", (co_function)Do,3,in_A,out_A,0);
Do1 = co_process_create("Do1", (co_function)Do,3,in_B,out_B,1);
Do2 = co_process_create("Do2", (co_function)Do,3,in_C,out_C,2);
consumer_process = co_process_create("Consumer",(co_function)Consumer,3,out_A, out_B, out_C);
co_process_config(Do0, co_loc, "pe0");
co_process_config(Do1, co_loc, "pe0");
co_process_config(Do2, co_loc, "pe0");
1. For this answer, I have one question. Why we can use Do0 Do1 Do2 as parts of Do, because they have the same function? Not the same, can I use it?
2. My design is the second one, how can I set it? Input 1,2,3,4 and output, and 2 intermediate stream, these 7 streams, how can I config them? Could you show me the result as the same format as above?
PS: the 3 hardware process are not the same.
3. Do0 = co_process_create("Do0", (co_function)Do,3,in_A,out_A,0);
Do1 = co_process_create("Do1", (co_function)Do,3,in_B,out_B,1);
Do2 = co_process_create("Do2", (co_function)Do,3,in_C,out_C,2);
what does the 3rd argument(0,1 or 2)mean?












