Jump to content

Search the Community

Showing results for tags 'unhandled exception'.

  • 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. Hello everyone I'm new to systemc and VS. I've made some codes, but when I debug the testbench of this code, I start getting "unhandled exception at memory location xxx" for ALL codes I used to run. How can I fix this? What causes this? SC_MODULE(my_memory) { sc_in <bool> clk; sc_in <sc_bv<12> > address; sc_inout <sc_bv<16> > content; sc_in <bool> write; sc_signal <sc_bv<16> > mem[4096]; void my_memory::read () {content.write(mem[address.read().to_uint()]);} void my_memory::writ() { if((write == (bool) '1') && clk.event() && (clk.read() == '1') ) mem[address.read().to_uint()]=content.read(); } SC_CTOR(my_memory) { for(int i = 0; i <= 4095;i++) mem.write(0); SC_THREAD(writ); sensitive<<clk<<write; SC_THREAD(read); sensitive<<address; } }; Regards
×
×
  • Create New...