Ignore:
Timestamp:
May 29, 2013, 6:05:44 PM (11 years ago)
Author:
meunier
Message:
  • Tried to fix a problem with echo
  • Started to resolve some tests failing (often because of the test itself)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/test_regression/07052005/system.cpp

    r55 r56  
    2121    sc_uint<16> g;
    2222    sc_uint<8>  h;
     23    sc_uint<32> i;
     24    sc_uint<17> j;
    2325
    2426    b  = 0x7;
    2527    c1 = 0x3;
    2628    c2 = 0x1;
    27     d  = 0xA0;
     29    d  = 0xA;
    2830    e  = 0x11;
    2931    g  = 0xabcd;
    3032
    31     // bit vector concatenation and boolean concatenation
    32     a = (b, (c1 | c2), d & (b, c1), e);
     33    // Concatenation
     34    a = (b, (c1 | c2),  d & (b, c1), e);
     35    j = (b, c1, d , e);
    3336
    3437    f = b.range (0, 0);
    35 
    3638    h = g.range (11, 4);
     39    i = e;
    3740
    3841    cout << "a = 0x" << hex << (unsigned int) a << " = " << a.to_string(SC_BIN) << "\n";
     
    4548    //ASSERT(h.to_string(SC_BIN) == "0b010111100");
    4649
    47     cout << "Test OK.\n";
     50    cout << "i = 0x" << hex << (unsigned int) i << " = " << i.to_string(SC_BIN) << "\n";
     51    cout << "j = 0x" << hex << (unsigned int) j << " = " << j.to_string(SC_BIN) << "\n";
    4852
    4953    return 0;
Note: See TracChangeset for help on using the changeset viewer.