Jump to content


  • Content Count

  • Joined

  • Last visited

  1. Thanks Eyck my intention was (is) to define a standard/default behaviour for ahb master (=> the dummy class) ie performs random bus bandwidth consumption then , when i need to instantiate and test a "real" ahb master , i can immediatly test the scene with an arbiter (fixed priority) , the ahb master under test and several dummies Regards JB
  2. Dear all, i want to define a generic simple class for ahb master (very simple modeling) liek this : SC_MODULE (ahb_master) { sc_in<bool> bus_grant ; sc_out<bool> bus_req; sc_out<bool> bus_release; sc_out<bool> busy; //------------Local Variables Here--------------------- sc_uint<4> count; void tick () {;} SC_CTOR(ahb_master) { SC_THREAD(tick); } }; then i wanted to derive daughter class with additional fields and specialised SC_THREAD, but i encountered s
  3. Hi all I finally decided to go with cygwin and it worked at once, without problem the main difference i could notice is the choice of the library for threading (qt vs fiber) Regards
  4. Thanks Philipp I tried : ../configure CXXFLAGS="-DWIN64" --target=mingw64 but i get an error , early at compile time : make[3] : on entre dans le répertoire « /d/BOULOT/tools/SYSTEMC/NEW2/systemc-2.3.3/objdir/src/sysc » CXX kernel/sc_attribute.lo CXX kernel/sc_cor_fiber.lo ../../../src/sysc/kernel/sc_cor_fiber.cpp: In destructor 'virtual sc_core::sc_cor_fiber::~sc_cor_fiber()': ../../../src/sysc/kernel/sc_cor_fiber.cpp:72:7: error: 'PVOID' was not declared in this scope PVOID cur_fiber = GetCurrentFiber(); ^~~~~ ../../../src/sysc/kern
  5. Hi, I made the following : ./configure --target=mingw64 CXXFLAGS="-DSC_OVERRIDE_DEFAULT_STACK_SIZE=0x80000" then : make : OK , no compilation error error and then : make check : i get the following : make[3] : on entre dans le répertoire « /d/BOULOT/tools/SYSTEMC/NEW2/systemc-2.3.3/examples/sysc » CXX fft/fft_flpt/fft_fft_flpt_test-fft.o CXX fft/fft_flpt/fft_fft_flpt_test-main.o CXX fft/fft_flpt/fft_fft_flpt_test-sink.o CXX fft/fft_flpt/fft_fft_flpt_test-source.o CXXLD fft/fft_flpt/test.exe ../../src/.
  6. Dear fellows, I just downloaded systemc2.3.3 and when i generate the test exe (using make check) i get an error at link : undefined symbol in libsystemc.a(sc_simcontext.o):sc_simcontext.cpp:(.text+0x6704): undefined reference to `sc_core::sc_cor_pkg_qt::sc_cor_pkg_qt i had no problem to build the libs (libsystemc.a , libsysc.a, libtlm_core.a and libtlm_utils.a) but apparetnly the libsystemc.a contains unresolved reference ? i use MSYS2 with mingw64 and before building, i set the CXXFLAGS variable : CXXFLAGS='-O3 -g -Wall -Wextra -Winvalid-pch -Wno-unu
  • Create New...