Jump to content

Search the Community

Showing results for tags 'systelc'.



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. yosri ben salah

    debug problem systemc

    Hi all , pls who can expain to me the reson of this warning even my code is too simple warning C4407: cast impossible between different representation of pointer , lthe complier may generate a wrong code #ifndef ALARM_H_ #define ALARM_H_ #include <systemc> #include <iostream> SC_MODULE(Alarm) { sc_core::sc_in<bool> i; SC_CTOR(Alarm) : i("i") { SC_METHOD(AlarmMethod); sensitive << i.pos(); dont_initialize(); } void AlarmMethod(); }; // Alarm #endif // ALARM_H_ ---------------------------------------------------------- #include "alarm.h" void Alarm::AlarmMethod() { bool temp = i.read(); std::cout << sc_core::sc_time_stamp() <<std::boolalpha << " i: " << temp << std::endl; } ------------ #include "detect.h" void Detect::DetectThread() { // Open CV setup // required only once. while(1) { // Call OpenCV motion detection // Compare with threshold // if greater then write true // else // false if (!s) { s = true; } else { s = false; } std::cout <<sc_core::sc_time_stamp() << std::boolalpha << " s: " << s << std::endl; o.write(s); wait(50, sc_core::SC_MS); } } ------------------------------------------------ #include "top.h" int sc_main(int argc, char **argv) { Top t("t"); sc_core::sc_start(1000, sc_core::SC_MS); sc_core::sc_stop(); return 0; }
×