Marco Ramirez Posted November 18, 2020 Report Share Posted November 18, 2020 Hi, I am trying to install uvm-systemc beta 3 in macOS Big Sur. The installation process seems to complete correctly but when running the checks all the tests fail. They do start running but at some point they stop and give a very simple error message. For example, here is the output of hello_world example: SystemC 2.3.3-Accellera --- Nov 15 2020 22:18:25 Copyright (c) 1996-2018 by all Contributors, ALL RIGHTS RESERVED Universal Verification Methodology for SystemC (UVM-SystemC) Version: 1.0-beta3 Date: 2020-07-08 Copyright (c) 2006 - 2020 by all Contributors See NOTICE file for all Contributors ALL RIGHTS RESERVED Licensed under the Apache License, Version 2.0 UVM_INFO ../../../src/uvmsc/base/uvm_root.cpp(343) @ 0 s: reporter [UVMTOP] UVM testbench topology: -------------------------------------------- Name Type Size Value -------------------------------------------- top top - - consumer consumer<T> - - producer1 uvm::uvm_component - - producer2 uvm::uvm_component - - -------------------------------------------- UVM_INFO @ 0 s: reporter [RNTST] Running test ... UVM_INFO producer.h(55) @ 0 s: top.producer1 [producer1] Starting. UVM_INFO producer.h(73) @ 0 s: top.producer1 [producer1] Sending producer1-0 UVM_INFO producer.h(55) @ 0 s: top.producer2 [producer2] Starting. UVM_INFO producer.h(73) @ 0 s: top.producer2 [producer2] Sending producer2-0 zsh: abort ./test It seems all processes run at least once but when the kernel advances the simulation something goes wrong. Has anyone seen this behaviour? Were you able to determine the its cause? Thanks for your help. Quote Link to comment Share on other sites More sharing options...
Stephan Gerth Posted November 19, 2020 Report Share Posted November 19, 2020 zsh: abort ./test Could you please retry from within a bash environment? Quote Link to comment Share on other sites More sharing options...
Marco Ramirez Posted November 19, 2020 Author Report Share Posted November 19, 2020 The checks also failed when run from bash, the reported error was: Abort trap: 6 Quote Link to comment Share on other sites More sharing options...
Philipp A Hartmann Posted December 22, 2020 Report Share Posted December 22, 2020 Make sure to compile SystemC 2.3.3 with C++11 (or later) enabled. Quote Link to comment Share on other sites More sharing options...
Marco Ramirez Posted January 26, 2021 Author Report Share Posted January 26, 2021 Hi Philipp, I recompiled both SystemC and UVM-SystemC with both CXXFLAGS=-std=c++11 and CXXFLAGS=-std=c++17 and the result is the same, all SystemC tests pass but 14 of 15 of UVM-SystemC tests fail. I even tried with and without pthreads but it made no difference. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.