M
Marwan
Guest
Peace,
As part of a project I am working on, I need to be abe to do the
following:
I need to work on an array of data (an array of registers thanks to
verilog 2001) within module A, then I will need to work on this array
of data from within module B. This challenge also exists for
functions/tasks.
The two solutions I could see for this are as follows: -
1- Read in the data from the array in module A into a memory in
module B using for loops, then make use of the data in the memory in
module B to continue with the calculation.
2- Somehow read the data from the memory in module A directly from
module B by the use of data and addressing ports between module A and
module B.
Is this the right way to think about this problem?
Has anyone come across a better way for working with arrays of data
when the above need exists?
Peace, and thanks for your time.
As part of a project I am working on, I need to be abe to do the
following:
I need to work on an array of data (an array of registers thanks to
verilog 2001) within module A, then I will need to work on this array
of data from within module B. This challenge also exists for
functions/tasks.
The two solutions I could see for this are as follows: -
1- Read in the data from the array in module A into a memory in
module B using for loops, then make use of the data in the memory in
module B to continue with the calculation.
2- Somehow read the data from the memory in module A directly from
module B by the use of data and addressing ports between module A and
module B.
Is this the right way to think about this problem?
Has anyone come across a better way for working with arrays of data
when the above need exists?
Peace, and thanks for your time.