carter Posted May 26, 2014 Report Posted May 26, 2014 Hi Does anyone have Makefile of at_example by doulos? If you can, could you please give to me about Makefile? Quote
apfitch Posted May 27, 2014 Report Posted May 27, 2014 The best thing would be to email Doulos (info@doulos.com) and see if they have a makefile, regards Alan Quote
bknpk Posted April 11, 2015 Report Posted April 11, 2015 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/includeSYSC_LIB_PREFIX = /home/pini/Home_1/pini/systemc-2.3.0/lib-linuxincludedir = /home/pini/Home_1/pini/systemc-2.3.0/includelibdir = /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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.