-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FPU integration in cv32e40p_wrapper #707
FPU integration in cv32e40p_wrapper #707
Conversation
Signed-off-by: Pascal Gouedo <[email protected]>
hi @pascalgouedo , thanks for the contribution! |
I am in favour of having a single manifest that could be used by all tools and handle all supported parameterization of the CV32E40P. I believe, but do not know for certain, that fusesoc can support this. Having said that, a decision to implement the CV32E40P manifest as a fusesoc core file is bigger than this pull-request. |
hi @MikeOpenHWGroup , I don't mean to do it with fusesoc, I mean whether we should have a manifest file with and one without the FPU files, so that people that do not use the FPU are not compiling it. |
Hi @davideschiavone & @MikeOpenHWGroup |
Hi @davideschiavone I am in favor of 2 manifest files here because there are too many new files being included together with the FPU that are not needed otherwise and that are not conforming to our coding guidelines (e.g. use of ifdefs), |
Hi @Silabs-ArjanB |
Another point about manifests, I would be in favour of separating what is purely RTL design from what concerns verification environment. |
My remark was about all the ifdefs in actual RTL files within the vendor directory.
Yes, the split between RTL and non-RTL needs to be 100% clear. So far all RTL was in a directory called 'rtl' (or its subdirectories. Stuff meant for verification was in 'bhv'. We care a bit less about the use of ifdefs in the 'bhv' directory, but within the 'rtl' directory it is a no-go for us. I did not check the 'vendor' directory to see if it has a clean split between RTL and non-RTL. |
|
…rapper Signed-off-by: Pascal Gouedo <[email protected]>
Signed-off-by: Pascal Gouedo <[email protected]>
Signed-off-by: Pascal Gouedo <[email protected]>
|
||
${DESIGN_RTL_DIR}/include/cv32e40p_apu_core_pkg.sv | ||
${DESIGN_RTL_DIR}/include/cv32e40p_fpu_pkg.sv | ||
${DESIGN_RTL_DIR}/include/cv32e40p_pkg.sv | ||
${DESIGN_RTL_DIR}/../bhv/include/cv32e40p_tracer_pkg.sv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did we delete the tracer_pkg?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't remove it, just moved it at the bottom before tb_wrapper to have clear separation between CV32 IP and behavioural/test-bench stuff.
Another point about manifests, I would be in favour of separating what is purely RTL design from what concerns verification environment. |
That is a good idea @pascalgouedo. Please create an issue on this repo and assign it to @Silabs-ArjanB and @davideschiavone as I would also be interested in their opinions. |
Moving files around is just going to cause work to us, so from our side we do not see a need for it. |
Ok let it as it is |
Signed-off-by: Pascal Gouedo [email protected]