Jump to content

VanessaFaria

Members
  • Content Count

    3
  • Joined

  • Last visited

  1. Hello, i have installed system c on codeblocks and my computer is windows 8 and i created this program test #include <iostream> #include "systemc.h" SC_MODULE(dff) { sc_in<bool > clk; sc_in<sc_logic > din; sc_out<sc_logic > dout; void p1() { if (clk.posedge()) { dout=din; } }SC_CTOR(dff) { SC_METHOD(p1); sensitive(clk); }}; int main(){} And there is a problem in the kernel,please take a look: D:\Desktop\Vanessayo.cpp|2|fatal error: systemc.h: No such file or directory| ||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===| D:\Desktop\
  2. I would like some help because i m tring to load this program in system c ,but with no sucess.The program is a flip flop (an example that is in my book) And i got the visual basic 2013 on my computer. SC_MODULE(dff) { sc_in < bool > clk; sc_in<sc_logic > din; sc_out<sc_logic >dout; void p1() { if (clk.posedge()) { dout = din; } } SC_CTOR(dff) { SC_METHOD(p1); sensitive(clk); } } AND THE PROBLEM : 1 IntelliSense: cannot open source file "systemc.h" c:\Documents\Visual Studio 2013\Projects\
×
×
  • Create New...