Indrajit Ghosh
Junior Member level 2

what I want to achieve is that
I have two cores p1 and p2 whose instantiation template is as
sub p1 (.output(Y),.a(A),.b(B),.clk(clk));
add p2 (.output(Z),.a(Y),.b(C),.clk(clk));
now as you can see the second core uses the output signal of the first core.....now when core p1 evaluates it should take
some clock cycles to complete its execution right? since the two instantiation will work simultaneously ,wouldn't the intermediates
results of core p2 will be erroneous? The final result would be correct but what about the intermediate result?...Now to make the core 2 wait for the result of core 1 to finish will i have to use handshaking signals?
I have two cores p1 and p2 whose instantiation template is as
sub p1 (.output(Y),.a(A),.b(B),.clk(clk));
add p2 (.output(Z),.a(Y),.b(C),.clk(clk));
now as you can see the second core uses the output signal of the first core.....now when core p1 evaluates it should take
some clock cycles to complete its execution right? since the two instantiation will work simultaneously ,wouldn't the intermediates
results of core p2 will be erroneous? The final result would be correct but what about the intermediate result?...Now to make the core 2 wait for the result of core 1 to finish will i have to use handshaking signals?