Jump to content

Search the Community

Showing results for tags 'debug'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Accellera Systems Initiative
    • Information
    • Announcements
    • In the News
  • SystemC
    • SystemC Language
    • SystemC AMS (Analog/Mixed-Signal)
    • SystemC TLM (Transaction-level Modeling)
    • SystemC Verification (UVM-SystemC, SCV)
    • SystemC CCI (Configuration, Control & Inspection)
    • SystemC Datatypes
  • UVM (Universal Verification Methodology)
    • UVM 2017 - Methodology and BCL Forum
    • UVM SystemVerilog Discussions
    • UVM Simulator Specific Issues
    • UVM Commercial Announcements
    • UVM (Pre-IEEE) Methodology and BCL Forum
    • UVM 1.2 Public Review
  • Portable Stimulus
    • Portable Stimulus Pre-Release Discussion
    • Portable Stimulus 1.0
  • IP-XACT
    • IP-XACT Discussion
  • IEEE 1735/IP Encryption
    • IEEE 1735/IP Encryption Discussion
  • OCP (Open Core Protocol)
  • UCIS (Unified Coverage Interoperability Standard)
  • Commercial Announcements
    • Announcements

Categories

  • SystemC
  • UVM
  • UCIS
  • IEEE 1735/IP Encryption

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Biography


Location


Interests


Occupation


Company

Found 1 result

  1. aheimberger

    sc_int<N>

    I get following message when I debug and print a variable of type sc_dt::sc_int<N> &"print integer\n" ~"$4 = {<sc_dt::sc_int_base> = {<No data fields>}, <No data fields>}" I tried to add debug informations with no success. I did following. Install of the shared Library in Linux sudo su Untar the package using - change permissions "chmod -R +x systemc-2.3.0" Change to the top level directory systemc-2.3.0 : cd systemc-2.3.0 Make a directory systemc230 for installation in your /usr/local/ path. "mkdir /usr/local/systemc230" Make a directory “objdir” in the directory systemc-2.3.0 : "mkdir objdir" Change to objdir : cd objdir now type: export CXX=g++ export OPT_CXXFLAGS=-O0 Run configure from objdir: ../configure --prefix=/usr/local/systemc230 Do: make Install by typing command: make install First make this export SYSTEMC_HOME=/usr/local/systemc230/ My Sample Program #define SC_INCLUDE_FX #include <systemc.h> int sc_main( int, char*[]){ sc_int<30> integer; integer = 12; integer = -15; return 0; } Then this to create your program g++ -I. -I$SYSTEMC_HOME/include -L. -L$SYSTEMC_HOME/lib-linux -Wl,-rpath=$SYSTEMC_HOME/lib-linux -o main main.cpp -g -O0 -lsystemc -lm System I Use GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 Ubuntu "12.04.2 LTS, Precise Pangolin" What am I doing wrong? What am I supposed to do?
×