Skip to content
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

Compilation error while building NVDLA CMOD #298

Open
ghost opened this issue Aug 6, 2019 · 4 comments
Open

Compilation error while building NVDLA CMOD #298

ghost opened this issue Aug 6, 2019 · 4 comments

Comments

@ghost
Copy link

ghost commented Aug 6, 2019

I followed "http://nvdla.org/vp.html" document to get the NVDLA Virtual Platform up and running but encountered a compilation error in section 2.3.4. while executing the command "tools/bin/tmake -build cmod_top".

Using Ubuntu 18.04 LTS, all the required directories for systemC, g++, perl were provided properly in the tree.make file in the previous step in section 2.3.4

Attaching a screenshot of the compilation error below
Screenshot from 2019-08-05 17-31-57

@sthomdev
Copy link

sthomdev commented Aug 8, 2019

You're getting this error because your compiler doesn't like that a templated member function is being used without the template keyword.

You can easily fix the error by changing the line to the following:
return ((ac_fixed<AC_MAX(I,1),AC_MAX(I,1),S>) *this).template slc<AC_MAX(I,1)>(0);

If you run into any other errors of this kind (you will) you can use the same fix.

@ghost
Copy link

ghost commented Aug 12, 2019

That issue would be fixed long time ago if comments in the pull requests were considered. Sadly this repository seems to have 'nobody-cares' status at NVIDIA.

@fanqifei
Copy link

Hi @asgarpasha , version 3.9.0 of ac_types is integrated to branch master. @mmaciag found such issue before. see #191 (comment) . branch nv_small is not updated yet. If you are using branch nv_small, you can perform a cherry-pick.

@shazib-summar
Copy link

Hey, @asgarpasha. Which branch are you compiling? Is it master or nvdlav1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants