/gem5/src/systemc/tests/systemc/tracing/wif_trace/pct1/ |
H A D | monitor.cpp | 45 printf("%x", tx.read());
|
/gem5/src/systemc/tests/systemc/misc/semantic/2.3/T_2_3_1_1/ |
H A D | T_2_3_1_1.cpp | 58 a = x.read() | y.read(); 59 b = x.read() ^ y.read(); 62 a = x.read() & y.read(); 63 b = x.read() | y.read(); 66 a = ~ x.read(); 67 b = ~ y.read(); [all...] |
/gem5/src/systemc/tests/systemc/misc/semantic/2.3/T_2_3_1_2/ |
H A D | T_2_3_1_2.cpp | 58 a = x.read() | y.read(); 59 b = x.read() ^ y.read(); 62 a = x.read() & y.read(); 63 b = x.read() | y.read(); 66 a = ~ x.read(); 67 b = ~ y.read(); [all...] |
/gem5/src/systemc/tests/systemc/misc/semantic/2.3/T_2_3_1_5_neg/ |
H A D | T_2_3_1_5_neg.cpp | 58 a = x.read() | y.read(); 59 b = x.read() ^ y.read(); 62 a = x.read() & y.read(); 63 b = x.read() | y.read(); 66 a = ~ x.read(); 67 b = ~ y.read(); [all...] |
/gem5/src/systemc/tests/systemc/misc/semantic/2.3/T_2_3_2_1/ |
H A D | T_2_3_2_1.cpp | 58 a = x.read() | y.read(); 59 b = x.read() ^ y.read(); 62 a = x.read() & y.read(); 63 b = x.read() | y.read(); 66 a = ~ x.read(); 67 b = ~ y.read(); [all...] |
/gem5/src/systemc/tests/systemc/misc/semantic/2.3/T_2_3_2_5_neg/ |
H A D | T_2_3_2_5_neg.cpp | 58 a = x.read() | y.read(); 59 b = x.read() ^ y.read(); 62 a = x.read() & y.read(); 63 b = x.read() | y.read(); 66 a = ~ x.read(); 67 b = ~ y.read(); [all...] |
/gem5/src/systemc/tests/systemc/misc/examples/a2901/ |
H A D | a2901_test.cpp | 57 if (Y.read() != 0x0) fprintf(stderr,"Y != 4'b0000 (%0d)\n", (int)Y.read()); 58 if (C4.read() != 0x0) fprintf(stderr,"C4 != 1'b0\n"); 59 if (Gbar.read() != 0x1) fprintf(stderr,"Gbar != 1'b1\n"); 60 if (Pbar.read() != 0x1) fprintf(stderr,"Pbar != 1'b1\n"); 61 if (OVR.read() != 0x0) fprintf(stderr,"OVR != 1'b0\n"); 62 if (F3.read() != 0x0) fprintf(stderr,"F3 != 1'b0\n"); 63 if (F30.read() != 0x1) fprintf(stderr,"F30 != 1'b1 (%0d)\n", (int)F30.read()); 78 if (Y.read() ! [all...] |
H A D | a2901_alu_inputs.cpp | 46 Av = RAM[Aadd.read()]; 47 B = RAM[Badd.read()]; 50 switch((int)(I.read().range(2,0))) { 61 RE.write(D.read()); 64 switch((int)(I.read().range(2,0))) { 77 S.write(Q.read());
|
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/if_test/conditions/ |
H A D | conditions.cpp | 52 if (reset.read() == true) { 69 tmp1 = in_value1.read(); 70 tmp2 = in_value2.read(); 71 tmp4 = in_value4.read(); 72 tmp5 = in_value5.read(); 83 if ((in_value1.read().to_uint()==4) && (in_value2.read().to_int()<6) || 84 (in_value4.read().to_int()+in_value5.read()==6)) { 92 tmp1 = in_value1.read(); [all...] |
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/subtract/decrement/ |
H A D | display.cpp | 47 cout << "Display: " << in_value1.read() << " " << in_value2.read() << endl;
|
/gem5/src/systemc/tests/systemc/misc/examples/datawidth_int_file/ |
H A D | datawidth.cpp | 57 tmp_a = in1.read(); 58 tmp_b = in2.read();
|
/gem5/src/systemc/tests/systemc/misc/sim_tests/srlatch/ |
H A D | testbench.cpp | 49 sprintf(buf, "SR=%x%x QQ'=%x%x", true, false, q.read(), qp.read()); 54 sprintf(buf, "SR=%x%x QQ'=%x%x", false, true, q.read(), qp.read()); 59 sprintf(buf, "SR=%x%x QQ'=%x%x", false, false, q.read(), qp.read()); 64 sprintf(buf, "SR=%x%x QQ'=%x%x", true, true, q.read(), qp.read());
|
/gem5/src/systemc/tests/systemc/misc/stars/star113946/ |
H A D | test.cpp | 51 new_input.write(input.read()); // works 52 new_input = input.read(); // works
|
/gem5/src/systemc/tests/systemc/misc/synth/inlining/test1/ |
H A D | test.cpp | 54 o1 = incr (i1.read(), i2.read());
|
/gem5/src/systemc/tests/systemc/misc/unit/data/general/datawidth_int/ |
H A D | datawidth.cpp | 57 tmp_a = in1.read(); 58 tmp_b = in2.read();
|
/gem5/src/systemc/tests/systemc/misc/communication/signals/bool/ |
H A D | proc2.cpp | 44 if( ! ready.read() ) {
|
/gem5/src/systemc/tests/systemc/misc/communication/signals/float/ |
H A D | proc1.cpp | 44 if( ready.read() ) {
|
H A D | proc2.cpp | 44 if( ! ready .read() ) {
|
/gem5/src/systemc/tests/systemc/misc/communication/signals/int/ |
H A D | proc2.cpp | 44 if( ! ready.read() ) {
|
/gem5/src/systemc/tests/systemc/misc/communication/signals/unsigned/ |
H A D | proc2.cpp | 44 if( ! ready.read() ) {
|
/gem5/src/systemc/tests/systemc/misc/sim_tests/cycle_dw8051_demo/ |
H A D | peripheral.cpp | 46 unsigned int addr = mem_addr.read().to_uint(); 47 unsigned int data = mem_data_out.read().to_uint(); 49 if(!mem_wr_n.read() && (addr==0x10)) { 57 if(!mem_rd_n.read() && (addr==0x11)) { 58 // read
|
/gem5/src/systemc/tests/systemc/misc/sim_tests/tri_state2/ |
H A D | driver.cpp | 48 cout << "Input is = " << in.read() << endl; 52 cout << "Input is = " << in.read() << endl; 57 cout << "Input is = " << in.read() << endl; 61 cout << "Input is = " << in.read() << endl;
|
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt6.1/ |
H A D | driver.cpp | 48 cout << "Input is = " << in.read() << endl; 52 cout << "Input is = " << in.read() << endl; 57 cout << "Input is = " << in.read() << endl; 61 cout << "Input is = " << in.read() << endl;
|
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_wait_cthread.cpp | 84 if( s.read() == true ) 85 do { wait(simc); } while ( s.read() == true ); 86 do { wait(simc); } while ( s.read() == false ); 92 if( s.read() == '1' ) 93 do { wait(simc); } while ( s.read() == '1' ); 94 do { wait(simc); } while ( s.read() == '0' ); 100 if( s.read() == false ) 101 do { wait(simc); } while ( s.read() == false ); 102 do { wait(simc); } while ( s.read() == true ); 108 if( s.read() [all...] |
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt12.2/ |
H A D | ram.cpp | 49 address = addr.read().to_int(); 50 if (we.read() == true) { // Write operation 52 memory[address] = datain.read().to_int();
|