Jump to content

Timur Kelin

  • Content Count

  • Joined

  • Last visited

About Timur Kelin

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi Roman Could you please recommend a multi-threaded profiler for SC. I tried making use of gprof but with no success. Thank you
  2. True. It means that the updates should be made to sc_fifo.h: template <class T> inline void sc_fifo<T>::read( T& val_ ) { while( num_available() == 0 ) { sc_core::wait( m_data_written_event ); } bool read_success = sc_fifo<T>::nb_read(val_); if( !read_success ) { sc_assert( read_success ); } }
  3. Hi Patrick you can compile with -DSC_FXDIV_WL=128 to increase max precision of the div operation 100 | .3333333333333333333333333333330703796982596627315294238115724045901089311882969923317432403564453125 | 0b000000000.0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101 101 | .3333333333333333333333333333330703796982596627315294238115724045901089311882969923317432403564453125 | 0b000000000.01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010 102 | .33333333333333333333333333333326
  4. include/sysc/communication/sc_fifo.h:269:10: warning: unused variable ‘write_success’ [-Wunused-variable] bool write_success = sc_fifo<T>::nb_write(val_); include/sysc/communication/sc_fifo.h:226:10: warning: unused variable ‘read_success’ [-Wunused-variable] bool read_success = sc_fifo<T>::nb_read(val_); sc_fifo.h: bool write_success = sc_fifo<T>::nb_write(val_); sc_assert( write_success ); sc_report.h #if defined(NDEBUG) && !defined(SC_ENABLE_ASSERTIONS) // disable assertions #define sc_assert(expr) \ ((void
  5. Thank you for your response Eyck I used configure/make flow as specified in the INSTALL file: ../systemc-2.3.3/configure \ --prefix=path_to_the_install_dir \ --host=x86_64-redhat-linux-gnu \ --build=x86_64-redhat-linux-gnu \ --target=x86_64-redhat-linux-gnu \ --enable-shared=yes \ --enable-debug=yes \ --disable-optimize \ --enable-pthreads=yes \ --with-gnu-ld=yes \ CXXFLAGS="-std=gnu++11" make -j32 make install
  6. Hi Declarations from utils/sc_stop_here.h are required for diy report handler, however in 2.3.3 this header file is not present in the installation path. The workaround is to make it available in your project somehow
  7. The basic idea: calculate hash for the string call sc_trace for the hash value update a translation file which maps hash values and the string contents. Exemplar github project which utilizes this approach: https://github.com/timurkelin/simschd In this project the translation file is written before the simulation starts raw 64-bit hash values: simvision mmap translation applied: simvision mmap is generated automatically and translates string hash (%x=) into string value (-label {}). mmap new -reuse -nam
  • Create New...