cva6 icon indicating copy to clipboard operation
cva6 copied to clipboard

common_cells folder location in cva6 repo

Open nathpranay opened this issue 3 years ago • 2 comments

In current folder structure of cva6 repo "common_cells" folder has been placed in "cva6\core\fpu\src" . Will it be a good idea to place "common_cells" inside "cva6\core".

nathpranay avatar Feb 02 '22 05:02 nathpranay

Hi @nathpranay, thanks for the question. I have looked into this and I think everything is OK. As you may know, both the fpu and common_cells are brought into this repo as git submodules. Both the fpu and common_cells are maintained by the PULP team on their repos.

As it turns out, the cva6 uses one set of files from common_cells and these are found in cva6/common/submodules/common_cells and the fpu also uses some files from common_cells and these are found in cva6/core/fpu/src/common_cells.

The confusing bit is that the fpu is a submodule for cva6 and common_cells is a submodule for both cva6 and the fpu. So when we recursively clone the cva6 we get a clone of the fpu into core/fpu which in turn clones common_cells into cva6/core/fpu/src/common_cells. As it turns out, the CVA6 manifest does not reverse any of the common_cells from that path, so I think we are fine.

@zarubaf, can you confirm that I have this right?

MikeOpenHWGroup avatar Feb 02 '22 16:02 MikeOpenHWGroup

Thanks Mike. I think we can close this issue.

nathpranay avatar Feb 02 '22 16:02 nathpranay

Closing. ...one year late...

MikeOpenHWGroup avatar Feb 17 '23 02:02 MikeOpenHWGroup