Jump to content


  • Content Count

  • Joined

  • Last visited

  1. Hey everyone! I'm a total beginner with SystemC as i'm just starting to learn about it; i'm doing a simple program that takes two inputs and either sums or multiplies them depending on the signal i'm asserting. This is the code: #include <systemc.h> SC_MODULE( operation ){ sc_in<bool> clock; sc_in<bool> enable; sc_in<bool> reset; sc_in<bool> mult; sc_in<sc_uint<8>> in1; sc_in<sc_uint<8>> in2; sc_out<sc_uint<8>> out; sc_uint<8> val; void func(){ cout << "in1: " << in1.read() <
  • Create New...