Changeset 34


Ignore:
Timestamp:
Jun 29, 2009, 5:43:54 PM (15 years ago)
Author:
buchmann
Message:

Remove an unused regression test.
Update some other tests.
Add a TODO section into README file.
Disable some debugging compiler options for common users.

Location:
sources
Files:
1 deleted
11 edited

Legend:

Unmodified
Added
Removed
  • sources/README

    r27 r34  
    1313then make again.
    1414
     15TODO
     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  
    3333MY_ARG_ENABLE(check_multiwriting2port, [Report if port is written twice], [no])
    3434MY_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])
     35MY_ARG_ENABLE(debug, [Enable debugging], [no])
     36MY_ARG_ENABLE(default_runtime_compilation, [Compile scheduling code], [no])
    3737
    3838# Also set -DNDEBUG when not debugging, this disables assert()s
  • sources/src/Makefile.am

    r33 r34  
    4242noinst_LTLIBRARIES =  libgen_code.la
    4343libgen_code_la_SOURCES = gen_code.cc
    44 libgen_code_la_CXXFLAGS=-DGENERATED_MODULE_CFLAGS='"$(CXXFLAGS) -I$(prefix)/include"' $(CXXFLAGS)
     44libgen_code_la_CXXFLAGS=-DGENERATED_MODULE_CFLAGS='"$(CXXFLAGS) -I$(prefix)/include"'
    4545
    4646include_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  
    5050
    5151%_systemcass.o : %_systemcass.cpp
    52         $(CXX) $(CFLAGS_SYSTEMCASS) -DCHECK_MULTIWRITING2PORT -MM $*_systemcass.cpp >> Makefile.deps
    53         $(CXX) $(CFLAGS_SYSTEMCASS) -DCHECK_MULTIWRITING2PORT -c $*_systemcass.cpp -o $*_systemcass.o
     52        $(CXX) $(CFLAGS_SYSTEMCASS) -DCONFIG_CHECK_MULTIWRITING2PORT -MM $*_systemcass.cpp >> Makefile.deps
     53        $(CXX) $(CFLAGS_SYSTEMCASS) -DCONFIG_CHECK_MULTIWRITING2PORT -c $*_systemcass.cpp -o $*_systemcass.o
    5454
    5555%_socview.o : %_socview.cpp
  • sources/test_regression/07122006/Makefile

    r15 r34  
    1313  if [ $$? -ne 0 ] ; then eval ${failcom} ; fi
    1414        @echo Test OK.
    15         system2.x > /dev/null ; \
     15        system2.x > /dev/null
     16# ; \
    1617        if [ $$? -ne 139 ] ; then eval ${failcom} ; fi
    1718
  • sources/test_regression/07122006/system2.cpp

    r1 r34  
    1919  virtual void transition ()
    2020  {
     21    cout << "This function is a virtual one.\n";
    2122  };
    2223  inner_test(sc_module_name n)
     
    4849  }
    4950};
    50 
    5151
    5252void test::transition ()
  • sources/test_regression/15042009/system3.cpp

    r21 r34  
    5757  sig_test = test1.test_be;
    5858
    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 */
    6061  if (!ret)
    6162    return 1;
  • sources/test_regression/19072006/Makefile

    r15 r34  
    4646
    4747%_systemcass.o : %_systemcass.cpp
    48         $(CXX) $(CFLAGS_SYSTEMCASS) -DCHECK_MULTIWRITING2REGISTER -MM $*_systemcass.cpp >> Makefile.deps
    49         $(CXX) $(CFLAGS_SYSTEMCASS) -DCHECK_MULTIWRITING2REGISTER -c $*_systemcass.cpp -o $*_systemcass.o
     48        $(CXX) $(CFLAGS_SYSTEMCASS) -DCONFIG_CHECK_MULTIWRITING2REGISTER -MM $*_systemcass.cpp >> Makefile.deps
     49        $(CXX) $(CFLAGS_SYSTEMCASS) -DCONFIG_CHECK_MULTIWRITING2REGISTER -c $*_systemcass.cpp -o $*_systemcass.o
    5050
    5151%_socview.o : %_socview.cpp
  • sources/test_regression/31072006/Makefile

    r15 r34  
    4646
    4747%_systemcass.o : %_systemcass.cpp
    48         $(CXX) $(CFLAGS_SYSTEMCASS) -DCHECK_MULTIWRITING2PORT -MM $*_systemcass.cpp >> Makefile.deps
    49         $(CXX) $(CFLAGS_SYSTEMCASS) -DCHECK_MULTIWRITING2PORT -c $*_systemcass.cpp -o $*_systemcass.o
     48        $(CXX) $(CFLAGS_SYSTEMCASS) -DCONFIG_CHECK_MULTIWRITING2REGISTER -MM $*_systemcass.cpp >> Makefile.deps
     49        $(CXX) $(CFLAGS_SYSTEMCASS) -DCONFIG_CHECK_MULTIWRITING2REGISTER -c $*_systemcass.cpp -o $*_systemcass.o
    5050
    5151%_socview.o : %_socview.cpp
  • sources/test_regression/31072006/system_bug.cpp

    r1 r34  
    1313
    1414struct test : sc_module {
    15   int                             reg;
     15  sc_signal<int>                  reg;
    1616 
    1717  sc_in_clk                       clk;
     
    1919 
    2020  sc_out<int>                     o1;
    21   sc_inout<bool>                    o2;
     21  sc_out<bool>                    o2;
    2222
    2323  void trans ()
     
    2929      reg        = 0;
    3030    }
     31    reg = 2;
    3132  }
    3233
    3334  void gen ()
    3435  {
    35     o2 = 0;
    3636    o1 = reg;
    3737    o2 = reg & 1;
  • sources/test_regression/31072006/system_ok.cpp

    r1 r34  
    1313
    1414struct test : sc_module {
    15   int                             reg;
     15  sc_signal<int>                  reg;
    1616 
    1717  sc_in_clk                       clk;
     
    4444                sensitive << clk.pos();
    4545    dont_initialize();
     46                SC_METHOD(gen);
     47                sensitive << clk.neg();
     48    dont_initialize();
    4649        };
    4750};
Note: See TracChangeset for help on using the changeset viewer.