Changeset 34
- Timestamp:
- Jun 29, 2009, 5:43:54 PM (16 years ago)
- Location:
- sources
- Files:
-
- 1 deleted
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/README
r27 r34 13 13 then make again. 14 14 15 TODO 16 ==== 17 - Fix some bugs, reported on 64 bits machines. 18 - testbenches: 19 * 15042009: in somes cases, the developper has to use "sc_signal<T>::read()" 20 method to explicitly read a sc_signal. OSCI's SystemC does not 21 need to call explicitly this method. LRM gives no information 22 about it. 23 - simulations using OpenMP capabilities -
sources/configure.ac
r27 r34 33 33 MY_ARG_ENABLE(check_multiwriting2port, [Report if port is written twice], [no]) 34 34 MY_ARG_ENABLE(check_multiwriting2register, [Report if unconnected signal is written twice], [no]) 35 MY_ARG_ENABLE(debug, [Enable debugging], [ yes])36 MY_ARG_ENABLE(default_runtime_compilation, [ Default is to compile scheduling code], [yes])35 MY_ARG_ENABLE(debug, [Enable debugging], [no]) 36 MY_ARG_ENABLE(default_runtime_compilation, [Compile scheduling code], [no]) 37 37 38 38 # Also set -DNDEBUG when not debugging, this disables assert()s -
sources/src/Makefile.am
r33 r34 42 42 noinst_LTLIBRARIES = libgen_code.la 43 43 libgen_code_la_SOURCES = gen_code.cc 44 libgen_code_la_CXXFLAGS=-DGENERATED_MODULE_CFLAGS='"$(CXXFLAGS) -I$(prefix)/include"' $(CXXFLAGS)44 libgen_code_la_CXXFLAGS=-DGENERATED_MODULE_CFLAGS='"$(CXXFLAGS) -I$(prefix)/include"' 45 45 46 46 include_HEADERS = alias.h casc.h data_field.h fsm_rules.h global_functions.h internal_ext.h module_hierarchy_ext.h port_dependency_ext.h sc_bigint.h sc_biguint.h sc_bit.h sc_bv.h sc_clock_ext.h sc_event.h sc_fwd.h sc_int.h sc_interface.h sc_localvar.h sc_logic.h sc_lv.h sc_module_ext.h sc_module_name.h sc_nbdefs.h sc_numrep.h sc_object.h sc_pat_trace.h sc_port_ext.h sc_sensitive.h sc_signal.h sc_signed.h sc_string.h sc_time.h sc_trace_ext.h sc_uint.h sc_unit.h sc_unsigned.h sc_vcd_trace.h sc_ver_ext.h serialization_ext.h systemc systemc.h systemcass_version_ext.h -
sources/test_regression/05042006/Makefile
r15 r34 50 50 51 51 %_systemcass.o : %_systemcass.cpp 52 $(CXX) $(CFLAGS_SYSTEMCASS) -DC HECK_MULTIWRITING2PORT -MM $*_systemcass.cpp >> Makefile.deps53 $(CXX) $(CFLAGS_SYSTEMCASS) -DC HECK_MULTIWRITING2PORT -c $*_systemcass.cpp -o $*_systemcass.o52 $(CXX) $(CFLAGS_SYSTEMCASS) -DCONFIG_CHECK_MULTIWRITING2PORT -MM $*_systemcass.cpp >> Makefile.deps 53 $(CXX) $(CFLAGS_SYSTEMCASS) -DCONFIG_CHECK_MULTIWRITING2PORT -c $*_systemcass.cpp -o $*_systemcass.o 54 54 55 55 %_socview.o : %_socview.cpp -
sources/test_regression/07122006/Makefile
r15 r34 13 13 if [ $$? -ne 0 ] ; then eval ${failcom} ; fi 14 14 @echo Test OK. 15 system2.x > /dev/null ; \ 15 system2.x > /dev/null 16 # ; \ 16 17 if [ $$? -ne 139 ] ; then eval ${failcom} ; fi 17 18 -
sources/test_regression/07122006/system2.cpp
r1 r34 19 19 virtual void transition () 20 20 { 21 cout << "This function is a virtual one.\n"; 21 22 }; 22 23 inner_test(sc_module_name n) … … 48 49 } 49 50 }; 50 51 51 52 52 void test::transition () -
sources/test_regression/15042009/system3.cpp
r21 r34 57 57 sig_test = test1.test_be; 58 58 59 ret = (sig_test == test2.test_be); 59 ret = (sig_test.read() == test2.test_be); /* OK */ 60 //ret = (sig_test == test2.test_be); /* should be OK but it is not */ 60 61 if (!ret) 61 62 return 1; -
sources/test_regression/19072006/Makefile
r15 r34 46 46 47 47 %_systemcass.o : %_systemcass.cpp 48 $(CXX) $(CFLAGS_SYSTEMCASS) -DC HECK_MULTIWRITING2REGISTER -MM $*_systemcass.cpp >> Makefile.deps49 $(CXX) $(CFLAGS_SYSTEMCASS) -DC HECK_MULTIWRITING2REGISTER -c $*_systemcass.cpp -o $*_systemcass.o48 $(CXX) $(CFLAGS_SYSTEMCASS) -DCONFIG_CHECK_MULTIWRITING2REGISTER -MM $*_systemcass.cpp >> Makefile.deps 49 $(CXX) $(CFLAGS_SYSTEMCASS) -DCONFIG_CHECK_MULTIWRITING2REGISTER -c $*_systemcass.cpp -o $*_systemcass.o 50 50 51 51 %_socview.o : %_socview.cpp -
sources/test_regression/31072006/Makefile
r15 r34 46 46 47 47 %_systemcass.o : %_systemcass.cpp 48 $(CXX) $(CFLAGS_SYSTEMCASS) -DC HECK_MULTIWRITING2PORT-MM $*_systemcass.cpp >> Makefile.deps49 $(CXX) $(CFLAGS_SYSTEMCASS) -DC HECK_MULTIWRITING2PORT-c $*_systemcass.cpp -o $*_systemcass.o48 $(CXX) $(CFLAGS_SYSTEMCASS) -DCONFIG_CHECK_MULTIWRITING2REGISTER -MM $*_systemcass.cpp >> Makefile.deps 49 $(CXX) $(CFLAGS_SYSTEMCASS) -DCONFIG_CHECK_MULTIWRITING2REGISTER -c $*_systemcass.cpp -o $*_systemcass.o 50 50 51 51 %_socview.o : %_socview.cpp -
sources/test_regression/31072006/system_bug.cpp
r1 r34 13 13 14 14 struct test : sc_module { 15 intreg;15 sc_signal<int> reg; 16 16 17 17 sc_in_clk clk; … … 19 19 20 20 sc_out<int> o1; 21 sc_ inout<bool> o2;21 sc_out<bool> o2; 22 22 23 23 void trans () … … 29 29 reg = 0; 30 30 } 31 reg = 2; 31 32 } 32 33 33 34 void gen () 34 35 { 35 o2 = 0;36 36 o1 = reg; 37 37 o2 = reg & 1; -
sources/test_regression/31072006/system_ok.cpp
r1 r34 13 13 14 14 struct test : sc_module { 15 intreg;15 sc_signal<int> reg; 16 16 17 17 sc_in_clk clk; … … 44 44 sensitive << clk.pos(); 45 45 dont_initialize(); 46 SC_METHOD(gen); 47 sensitive << clk.neg(); 48 dont_initialize(); 46 49 }; 47 50 };
Note: See TracChangeset
for help on using the changeset viewer.