Jump to content

Search the Community

Showing results for tags 'class'.

  • 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, CRAVE, FC4SC)
    • SystemC CCI (Configuration, Control & Inspection)
    • SystemC Datatypes
  • UVM (Universal Verification Methodology)
    • UVM (IEEE 1800.2) - Methodology and BCL Forum
    • UVM SystemVerilog Discussions
    • UVM Simulator Specific Issues
    • UVM Commercial Announcements
    • UVM (Pre-IEEE) Methodology and BCL Forum
  • Portable Stimulus
    • Portable Stimulus Discussion
    • Portable Stimulus 2.0 Public Review Feedback
  • IP Security
    • SA-EDI Standard Discussion
    • IP Security Assurance Whitepaper Discussion
  • IP-XACT
    • IP-XACT Discussion
  • SystemRDL
    • SystemRDL Discussion
  • IEEE 1735/IP Encryption
    • IEEE 1735/IP Encryption Discussion
  • 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. I wanna take a 4 digit integer value as an input an make an BCD equivalent, I tried this code but it has \error at red line error: 'decimal' : no appropriate default constructor available it mean the class constructor? is the constructor of class decimal wrong? plz help me class decimal { public: sc_int<4> dec0; sc_int<4> dec1; sc_int<4> dec2; sc_int<4> dec3; ///constructor decimal(sc_int<4> d0,sc_int<4> d1,sc_int<4> d2,sc_int<4> d3) { dec3=d3; dec2=d2; dec1=d1; dec0=d0; } } SC_MODULE (seprate_digit) { sc_in <sc_int<16>> in; sc_in <bool> clk; sc_out <decimal> d; decimal dtmp; SC_CTOR (seprate_digit) { SC_METHOD(process3); sensitive << clk.pos(); } void process3() { ///// } };
×
×
  • Create New...