Jump to content

bknpk

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by bknpk

  1. Hi Creating a makefile for the examples is quite simple. I did it for every example, which I used from Doulus or the SC TLM examples. First you need to set some pointers to where the code is installed. You'll need to update these as installed in your system. SYSC_INC_PREFIX = /home/pini/Home_1/pini/systemc-2.3.0/include SYSC_LIB_PREFIX = /home/pini/Home_1/pini/systemc-2.3.0/lib-linux includedir = /home/pini/Home_1/pini/systemc-2.3.0/include libdir = /home/pini/Home_1/pini/systemc-2.3.0/lib-linux You also has to setup the variable (in the make file) LD_LIBRARY_PATH. For the example of tlm2_getting_started_4 from Doulus: I created a makefile, which supports the basics (+ depanadcy list creation and clean) make run.o make run.x make run.exe make DBG_OPT="gdb " run.exe You can download the makefile (as well as minor changes to the code for debug messages) from http://bknpk.ddns.net/my_web/SystemC_MyFirst/sysc_tlm2_getting_started_4_MM.html Also you may want to check a makefile for an example using SCV: http://bknpk.ddns.net/my_web/SystemC_MyFirst/scv_cmp_err_pop_constraint.html
×
×
  • Create New...