Skip to content

Conversation

markfoodyburton
Copy link
Contributor

No description provided.

eyck and others added 14 commits December 2, 2024 10:37
report.h contains only the macros for simplified use of the SC report infrastructure. logger.h now contains the declaration of a custom lSC logging backend. report.cpp still needs to be refactored.
Signed-off-by: Mark Burton <mburton@quicinc.com>
Signed-off-by: Mark Burton <mburton@quicinc.com>
Signed-off-by: Mark Burton <mburton@quicinc.com>
Signed-off-by: Mark Burton <mburton@quicinc.com>
Signed-off-by: Mark Burton <mburton@quicinc.com>
Signed-off-by: Mark Burton <mburton@quicinc.com>
Signed-off-by: Mark Burton <mburton@quicinc.com>
Signed-off-by: Mark Burton <mburton@quicinc.com>
Signed-off-by: Mark Burton <mburton@quicinc.com>
Signed-off-by: Mark Burton <mburton@quicinc.com>
@markfoodyburton markfoodyburton requested review from barnasc and aut0 March 26, 2025 11:44
Signed-off-by: Mark Burton <mburton@quicinc.com>
Signed-off-by: Mark Burton <mburton@quicinc.com>
Signed-off-by: Mark Burton <mburton@quicinc.com>
@barnasc
Copy link
Contributor

barnasc commented Apr 18, 2025

As discussed in CPSWG at 2025/04/08:

  • I propose to remove the SCMOD define and simply use name() in the example
  • It looks like the scp::init_logging requires a global broker which needs to be instantiated by the application. Preferably initialization does not require a CCI broker
  • the init option scp::LogConfig::fileInfoFrom currently accepts an int and not a type of scp::log
  • Remove the obsolete log levels called DBGTRACE and TRACEALL (already resolved in the SystemC PR #726)
  • Where does the log go from m_my_logger?

Copy link
Contributor

@aut0 aut0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also style check fails.

cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
project(audioexample VERSION 1.0 LANGUAGES CXX C)

set(CMAKE_CXX_STANDARD 17 CACHE STRING "C++ standard to build all targets.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not force global settings, rather set it for the target.


find_package(PkgConfig REQUIRED)
pkg_check_modules(PORTAUDIO REQUIRED IMPORTED_TARGET GLOBAL portaudio-2.0)
#include_directories(${PORTAUDIO_INCLUDE_DIRS})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove?

@@ -0,0 +1,129 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be part of CPS base instead of the example

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

Successfully merging this pull request may close these issues.

4 participants