mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-22 21:17:59 -04:00
Add VCS compile option for unicode
Similar to simulator.yaml, this changes has to be applied to rtl_simulation as well to avoid weird compilation errors.
This commit is contained in:
parent
7aeb2072aa
commit
bf2476c15c
1 changed files with 5 additions and 0 deletions
|
@ -12,6 +12,10 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# The -CFLAGS option is required as some VCS DPI code contains smart quotes
|
||||
# around some preprocessor macros, making G++ throw errors during compilation.
|
||||
# As a result, passing -fno-extended-identifiers tells G++ to pretend that
|
||||
# everything is ASCII, preventing strange compilation errors.
|
||||
- tool: vcs
|
||||
compile:
|
||||
cmd:
|
||||
|
@ -21,6 +25,7 @@
|
|||
+define+UVM
|
||||
+define+UVM_REGEX_NO_DPI -timescale=1ns/10ps -licqueue
|
||||
-LDFLAGS '-Wl,--no-as-needed'
|
||||
-CFLAGS '--std=c99 -fno-extended-identifiers'
|
||||
-Mdir=<out>/vcs_simv.csrc
|
||||
-o <out>/vcs_simv
|
||||
-debug_access+pp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue