[TASK] LINT: P3 - Symbol matching C++ keyword
Created by: umerimran-10xe
Is there an existing CVA6 task for this?
-
I have searched the existing task issues
Task Description
Environment
Operating System: [Ubuntu 20.04] Compiler Version: [gcc 9.4.0] CVA6 Version: [SHA:7f4549f2]
When compiling CVA6 with Verilator 5.008, a lint warning is generated due to the Symbol matching C++ keyword: 'operator'. Since verilator generates behavioral C++ Models, it's better to avoid C++ keyword names in the SV Code. We have to change this at different places within the code, what's the suggestion here ?
%Warning-SYMRSVDWORD: cva6/core/include/ariane_pkg.sv:551:35: Symbol matches C++ keyword: 'operator'
551 | fu_op operator;
| ^~~~~~~~
Description of Done
Lint Warning should be removed.
Associated PRs
No response