Changeset 60 for sources/test_regression
- Timestamp:
- Feb 14, 2017, 11:30:19 AM (8 years ago)
- Location:
- sources/test_regression
- Files:
-
- 41 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/test_regression/02052006/system.cpp
r55 r60 121 121 sc_signal<bool> resetn("resetn"); 122 122 123 // Setup number of threads open-mp to 1 with the macro threads_omp() 124 threads_omp(); 125 123 126 test test1("test1"); 124 127 test1.clk(signal_clk); -
sources/test_regression/04052005/system.cpp
r55 r60 23 23 e = 0x11; 24 24 f = 0x1A0; 25 26 // Setup number of threads open-mp to 1 with the macro threads_omp() 27 threads_omp(); 25 28 26 29 cout << "a = 0x" << hex << (unsigned int) a << " = " << a.to_string(SC_BIN) << "\n"; -
sources/test_regression/05092005/system.cpp
r56 r60 22 22 sc_clock signal_clk("my_clock", sc_time(1, sc_core::SC_NS)); 23 23 sc_signal<bool> s[5]; 24 25 // Setup number of threads open-mp to 1 with the macro threads_omp() 26 threads_omp(); 27 24 28 hard a("a"); 25 29 hard b("b"); -
sources/test_regression/07052005/system.cpp
r56 r60 39 39 i = e; 40 40 41 // Setup number of threads open-mp to 1 with the macro threads_omp() 42 threads_omp(); 43 41 44 cout << "a = 0x" << hex << (unsigned int) a << " = " << a.to_string(SC_BIN) << "\n"; 42 45 //ASSERT(a.to_string(SC_BIN) == "0b000000111100010001"); -
sources/test_regression/07122006a/system.cpp
r56 r60 19 19 sc_signal<int> in ("in"); 20 20 sc_signal<int> out("out"); 21 22 // Setup number of threads open-mp to 1 with the macro threads_omp() 23 threads_omp(); 21 24 22 25 test test("test"); -
sources/test_regression/07122006b/system.cpp
r55 r60 65 65 sc_signal<int> out("out"); 66 66 67 // Setup number of threads open-mp to 1 with the macro threads_omp() 68 threads_omp(); 69 67 70 test test("test"); 68 71 test.clk(clk); -
sources/test_regression/08092005/system.cpp
r55 r60 40 40 hard b("b"); 41 41 hard c("c"); 42 43 // Setup number of threads open-mp to 1 with the macro threads_omp() 44 threads_omp(); 42 45 43 46 a.clk(clk); -
sources/test_regression/09092005a/system.cpp
r56 r60 14 14 15 15 int sc_main (int argc, char ** argv) { 16 17 // Setup number of threads open-mp to 1 with the macro threads_omp() 18 threads_omp(); 16 19 17 20 sc_uint<ADDRSIZE> LINEADDR_MASK = ~(((sc_uint<ADDRSIZE>) ~0x0) >> (ADDRSIZE - OFFSETSIZE - BPFSIZE)); -
sources/test_regression/09092005b/system.cpp
r55 r60 39 39 hard b("b"); 40 40 hard c("c"); 41 42 // Setup number of threads open-mp to 1 with the macro threads_omp() 43 threads_omp(); 41 44 42 45 a.clk(clk1); -
sources/test_regression/09092005c/system.cpp
r56 r60 82 82 top_level t("top_level"); 83 83 84 // Setup number of threads open-mp to 1 with the macro threads_omp() 85 threads_omp(); 86 84 87 t.clk(clk); 85 88 t.o(out); -
sources/test_regression/11062007/system.cpp
r55 r60 104 104 sc_signal<bool> s1("s1"),s2("s2"),s3("s3"),s4("s4"),s5("s5"); 105 105 106 // Setup number of threads open-mp to 1 with the macro threads_omp() 107 threads_omp(); 108 106 109 A a("a"); 107 110 B b("b"); -
sources/test_regression/14092005/system.cpp
r56 r60 48 48 sc_signal<int> s[10]; 49 49 hard a("a"); 50 51 // Setup number of threads open-mp to 1 with the macro threads_omp() 52 threads_omp(); 50 53 51 54 a.clk(clk1); -
sources/test_regression/15042009a/system.cpp
r55 r60 123 123 top_level t("top_level"); 124 124 125 // Setup number of threads open-mp to 1 with the macro threads_omp() 126 threads_omp(); 127 125 128 t.clk(clk); 126 129 t.o(out); -
sources/test_regression/15042009b/system.cpp
r55 r60 17 17 a = ca; 18 18 b = cb; 19 20 // Setup number of threads open-mp to 1 with the macro threads_omp() 21 threads_omp(); 19 22 20 23 c = a & b; -
sources/test_regression/15042009c/system.cpp
r55 r60 32 32 const long long int ca = 0xf00000000LLU; 33 33 a = ca; 34 35 // Setup number of threads open-mp to 1 with the macro threads_omp() 36 threads_omp(); 34 37 35 38 test_t<param_t> test1, test2; -
sources/test_regression/15062006/system.cpp
r55 r60 77 77 sc_signal<int> s01("s01"), s02("s02"), s03("s03"), s04("s04"); 78 78 79 // Setup number of threads open-mp to 1 with the macro threads_omp() 80 threads_omp(); 81 79 82 test<int> test1("test1"); 80 83 test1.clk(signal_clk); -
sources/test_regression/15092005a/system.cpp
r55 r60 89 89 top_level t("top_level"); 90 90 91 // Setup number of threads open-mp to 1 with the macro threads_omp() 92 threads_omp(); 93 91 94 t.clk(clk); 92 95 t.o(out); -
sources/test_regression/15092005b/system.cpp
r55 r60 92 92 top_level t("top_level"); 93 93 94 // Setup number of threads open-mp to 1 with the macro threads_omp() 95 threads_omp(); 96 94 97 t.clk(clk); 95 98 t.o(out); -
sources/test_regression/15092005c/system.cpp
r55 r60 87 87 top_level t("top_level"); 88 88 89 // Setup number of threads open-mp to 1 with the macro threads_omp() 90 threads_omp(); 91 89 92 t.clk(clk); 90 93 t.o(out); -
sources/test_regression/15092005d/system.cpp
r55 r60 90 90 top_level t("top_level"); 91 91 92 // Setup number of threads open-mp to 1 with the macro threads_omp() 93 threads_omp(); 94 92 95 t.clk(clk); 93 96 t.o(out); -
sources/test_regression/16022007/system.cpp
r55 r60 213 213 s15("s15"); 214 214 215 // Setup number of threads open-mp to 1 with the macro threads_omp() 216 threads_omp(); 215 217 216 218 M_0i1o a("a"); -
sources/test_regression/16062005a/system.cpp
r55 r60 75 75 } 76 76 77 // Setup number of threads open-mp to 1 with the macro threads_omp() 78 threads_omp(); 79 77 80 sc_clock clk("clock"); 78 81 top_level1 top1("top1"); -
sources/test_regression/16062005b/system.cpp
r55 r60 65 65 } 66 66 67 // Setup number of threads open-mp to 1 with the macro threads_omp() 68 threads_omp(); 69 67 70 ofstream o; 68 71 o.open (argv[1], ios::out | ios::trunc); -
sources/test_regression/16112005a/system.cpp
r55 r60 40 40 sc_signal<int> s1("s1"), s2("s2"), s3("s3"), s4("s4"); 41 41 42 // Setup number of threads open-mp to 1 with the macro threads_omp() 43 threads_omp(); 44 42 45 m.i1 (s1); 43 46 m.i2 (s1); -
sources/test_regression/16112005b/system.cpp
r55 r60 38 38 sc_signal<int> s1("s1"), s2("s2"), s3("s3"), s4("s4"); 39 39 40 // Setup number of threads open-mp to 1 with the macro threads_omp() 41 threads_omp(); 42 40 43 m.i1(s1); 41 44 m.i3(s1); -
sources/test_regression/16112005c/system.cpp
r55 r60 38 38 sc_signal<int> s1("s1"), s2("s2"), s3("s3"), s4("s4"); 39 39 40 // Setup number of threads open-mp to 1 with the macro threads_omp() 41 threads_omp(); 42 40 43 m.i1 (s1); 41 44 m.i2 (s1); -
sources/test_regression/16122005/system.cpp
r55 r60 67 67 } 68 68 69 // Setup number of threads open-mp to 1 with the macro threads_omp() 70 threads_omp(); 71 69 72 sc_clock clk("clock"); 70 73 top_level1 top1("top1"); -
sources/test_regression/17022006/system.cpp
r55 r60 69 69 sc_signal<char> s04_0("s04_0"), s04_1("s04_1"), s04_2("s04_2"); 70 70 71 // Setup number of threads open-mp to 1 with the macro threads_omp() 72 threads_omp(); 73 71 74 test test1("test1"); 72 75 test1.clk(signal_clk); -
sources/test_regression/17032005/system.cpp
r55 r60 76 76 test.clk(clk); 77 77 test.resetn(resetn); 78 79 // Setup number of threads open-mp to 1 with the macro threads_omp() 80 threads_omp(); 78 81 79 82 sc_trace_file * tf; -
sources/test_regression/19042005/system.cpp
r55 r60 78 78 sc_signal< sc_uint<64> > s11("s11"), s12("s12"), s13("s13"); 79 79 sc_signal< sc_uint<32> > s16("s16"); 80 81 // Setup number of threads open-mp to 1 with the macro threads_omp() 82 threads_omp(); 80 83 81 84 test test1("test1"); -
sources/test_regression/19122005/system.cpp
r55 r60 127 127 sc_clock signal_clk("my_clock", 1, 0.5); 128 128 129 // Setup number of threads open-mp to 1 with the macro threads_omp() 130 threads_omp(); 131 129 132 test test1("test1"); 130 133 test1.clk(signal_clk); -
sources/test_regression/20122006/system.cpp
r55 r60 226 226 s15("s15"); 227 227 228 // Setup number of threads open-mp to 1 with the macro threads_omp() 229 threads_omp(); 228 230 229 231 M_0i1o a("a"); -
sources/test_regression/21062005/system.cpp
r55 r60 48 48 sc_signal<int> s1("s1"), s2("s2"), s3("s3"), s4("s4"); 49 49 50 // Setup number of threads open-mp to 1 with the macro threads_omp() 51 threads_omp(); 52 50 53 m.i1 (s1); 51 54 m.i2 (s1); -
sources/test_regression/24082009/system.cpp
r55 r60 42 42 sc_signal<int> s1("s1"), s2("s2"), s3("s3"), s4("s4"); 43 43 44 // Setup number of threads open-mp to 1 with the macro threads_omp() 45 threads_omp(); 46 44 47 A a("a"); 45 48 A b("b"); -
sources/test_regression/25032005/system.cpp
r55 r60 103 103 sc_signal<bool> s1("s1"), s2("s2"), s3("s3"), s4("s4"), s5("s5"); 104 104 105 // Setup number of threads open-mp to 1 with the macro threads_omp() 106 threads_omp(); 107 105 108 A a("a"); 106 109 B b("b"); -
sources/test_regression/28102005/system.cpp
r55 r60 47 47 sc_clock clk("clock"); 48 48 49 // Setup number of threads open-mp to 1 with the macro threads_omp() 50 threads_omp(); 51 49 52 check_time(0); 50 53 sc_start(sc_time(0, sc_core::SC_NS)); -
sources/test_regression/29032005/system.cpp
r55 r60 216 216 s15("s15"); 217 217 218 // Setup number of threads open-mp to 1 with the macro threads_omp() 219 threads_omp(); 218 220 219 221 M_0i1o a("a"); -
sources/test_regression/30032005a/system.cpp
r55 r60 119 119 s15("s15"); 120 120 121 // Setup number of threads open-mp to 1 with the macro threads_omp() 122 threads_omp(); 121 123 122 124 M1_3i3o a("a"); -
sources/test_regression/30032005b/system.cpp
r55 r60 74 74 s15("s15"); 75 75 76 // Setup number of threads open-mp to 1 with the macro threads_omp() 77 threads_omp(); 76 78 77 79 M1_1i1o a("a"); -
sources/test_regression/30032005c/system.cpp
r55 r60 108 108 s15("s15"); 109 109 110 // Setup number of threads open-mp to 1 with the macro threads_omp() 111 threads_omp(); 110 112 111 113 M1_3i2o a("a"); -
sources/test_regression/test.h
r55 r60 1 2 #ifdef _OPENMP 3 #include <omp.h> 4 #endif 1 5 2 6 #define ASSERT(x) \ … … 8 12 } 9 13 14 #ifdef _OPENMP 15 #define threads_omp() \ 16 ({ \ 17 omp_set_dynamic(false);\ 18 omp_set_num_threads(1);\ 19 }) 20 #else 21 #define threads_omp() 22 #endif 23
Note: See TracChangeset
for help on using the changeset viewer.