/gem5/src/systemc/tests/systemc/datatypes/fx/bit/ |
H A D | main.cpp | 55 static void test_cases(ostream& out, int wl, int iwl) argument 57 test_bit(out, wl, iwl); 63 int wl = 0, iwl = 0; local 64 test_cases(cout, wl, wl);
|
H A D | test_bit.cpp | 53 void test_bit(ostream& out, int wl, int iwl) argument
|
/gem5/ext/systemc/src/sysc/datatypes/fx/ |
H A D | scfx_params.h | 90 int wl() const; 160 scfx_params::wl() const function in class:sc_dt::scfx_params 162 return m_type_params.wl(); 176 return ( m_type_params.wl() - m_type_params.iwl() );
|
H A D | sc_fxdefs.h | 266 #define SC_CHECK_WL_(wl) \ 267 SC_ERROR_IF_( (wl) <= 0, sc_core::SC_ID_INVALID_WL_ )
|
H A D | sc_fxtype_params.h | 92 int wl() const; 93 void wl( int ); 254 sc_fxtype_params::wl() const function in class:sc_dt::sc_fxtype_params 261 sc_fxtype_params::wl( int wl_ ) function in class:sc_dt::sc_fxtype_params
|
H A D | sc_fxnum.h | 929 int wl() const; 1353 int wl() const; 3313 SC_ERROR_IF_( i < 0 || i >= m_params.wl(), sc_core::SC_ID_OUT_OF_RANGE_ ); 3322 SC_ERROR_IF_( i < 0 || i >= m_params.wl(), sc_core::SC_ID_OUT_OF_RANGE_ ); 3330 SC_ERROR_IF_( i < 0 || i >= m_params.wl(), sc_core::SC_ID_OUT_OF_RANGE_ ); 3339 SC_ERROR_IF_( i < 0 || i >= m_params.wl(), sc_core::SC_ID_OUT_OF_RANGE_ ); 3350 SC_ERROR_IF_( i < 0 || i >= m_params.wl(), sc_core::SC_ID_OUT_OF_RANGE_ ); 3351 SC_ERROR_IF_( j < 0 || j >= m_params.wl(), sc_core::SC_ID_OUT_OF_RANGE_ ); 3361 SC_ERROR_IF_( i < 0 || i >= m_params.wl(), sc_core::SC_ID_OUT_OF_RANGE_ ); 3362 SC_ERROR_IF_( j < 0 || j >= m_params.wl(), sc_cor 3566 sc_fxnum::wl() const function in class:sc_dt::sc_fxnum 4689 sc_fxnum_fast::wl() const function in class:sc_dt::sc_fxnum_fast [all...] |
H A D | scfx_rep.cpp | 1098 lsb = params->iwl() - params->wl(); 1105 params->wl() > 1 ) 1955 scfx_index x = calc_indices( params.iwl() - params.wl() ); 2091 scfx_index x2 = calc_indices( params.iwl() - params.wl() ); 2108 // wrap-around all 'wl' bits 2113 else if( n_bits < params.wl() ) 2117 // wrap-around least significant 'wl - n_bits' bits; 2126 // saturate all 'wl' bits 2188 else if( n_bits < params.wl() ) 2193 // wrap-around least significant 'wl [all...] |
H A D | sc_fix.h | 1030 int wl_c = wl(); 1046 for( int i = iwl_c - c.wl(); i < iwl_c; ++ i ) 1065 int fwl_c = sc_max( a.wl() - iwl_a, b.wl() - iwl_b ); \ 1097 for( int i = iwl_c - c.wl(); i < iwl_c; ++ i ) \ 1186 for( int i = iwl_c - wl(); i < iwl_c; ++ i ) \ 1744 int wl_c = wl(); 1760 for( int i = iwl_c - c.wl(); i < iwl_c; ++ i ) 1779 int fwl_c = sc_max( a.wl() - iwl_a, b.wl() [all...] |
H A D | sc_ufix.h | 1033 int wl_c = wl(); 1049 for( int i = iwl_c - c.wl(); i < iwl_c; ++ i ) 1068 int fwl_c = sc_max( a.wl() - iwl_a, b.wl() - iwl_b ); \ 1100 for( int i = iwl_c - c.wl(); i < iwl_c; ++ i ) \ 1189 for( int i = iwl_c - wl(); i < iwl_c; ++ i ) \ 1747 int wl_c = wl(); 1763 for( int i = iwl_c - c.wl(); i < iwl_c; ++ i ) 1782 int fwl_c = sc_max( a.wl() - iwl_a, b.wl() [all...] |
H A D | sc_fxnum.cpp | 390 int fwl = params.wl() - params.iwl(); 470 int fwl = params.wl() - iwl; 505 // wrap-around all 'wl' bits 510 else if( n_bits < params.wl() ) 514 // wrap-around least significant 'wl - n_bits' bits 532 // saturate all 'wl' bits 567 // wrap-around all 'wl' bits 578 // wrap-around all 'wl' bits 583 else if( n_bits < params.wl() ) 591 // wrap-around least significant 'wl [all...] |
/gem5/src/systemc/ext/dt/fx/ |
H A D | scfx_params.hh | 79 int wl() const; 132 scfx_params::wl() const function in class:sc_dt::scfx_params 134 return m_type_params.wl(); 146 return (m_type_params.wl() - m_type_params.iwl());
|
H A D | sc_fxtype_params.hh | 89 int wl() const; 90 void wl(int); 230 inline int sc_fxtype_params::wl() const { return m_wl; } function in class:sc_dt::sc_fxtype_params 232 sc_fxtype_params::wl(int wl_) function in class:sc_dt::sc_fxtype_params
|
H A D | sc_fxdefs.hh | 253 #define SC_CHECK_WL_(wl) SC_ERROR_IF_((wl) <= 0, sc_core::SC_ID_INVALID_WL_)
|
H A D | sc_fxnum.hh | 792 int wl() const; 1150 int wl() const; 2822 SC_ERROR_IF_(i < 0 || i >= m_params.wl(), sc_core::SC_ID_OUT_OF_RANGE_); 2830 SC_ERROR_IF_(i < 0 || i >= m_params.wl(), sc_core::SC_ID_OUT_OF_RANGE_); 2837 SC_ERROR_IF_(i < 0 || i >= m_params.wl(), sc_core::SC_ID_OUT_OF_RANGE_); 2845 SC_ERROR_IF_(i < 0 || i >= m_params.wl(), sc_core::SC_ID_OUT_OF_RANGE_); 2854 SC_ERROR_IF_(i < 0 || i >= m_params.wl(), sc_core::SC_ID_OUT_OF_RANGE_); 2855 SC_ERROR_IF_(j < 0 || j >= m_params.wl(), sc_core::SC_ID_OUT_OF_RANGE_); 2864 SC_ERROR_IF_(i < 0 || i >= m_params.wl(), sc_core::SC_ID_OUT_OF_RANGE_); 2865 SC_ERROR_IF_(j < 0 || j >= m_params.wl(), sc_cor 3037 sc_fxnum::wl() const function in class:sc_dt::sc_fxnum 4008 sc_fxnum_fast::wl() const function in class:sc_dt::sc_fxnum_fast [all...] |
H A D | sc_fix.hh | 690 int wl_c = wl(); 703 for (int i = iwl_c - c.wl(); i < iwl_c; ++i) 719 int fwl_c = sc_max(a.wl() - iwl_a, b.wl() - iwl_b); \ 748 for (int i = iwl_c - c.wl(); i < iwl_c; ++i) \ 828 for (int i = iwl_c - wl(); i < iwl_c; ++i) \ 1177 int wl_c = wl(); 1190 for (int i = iwl_c - c.wl(); i < iwl_c; ++i) 1206 int fwl_c = sc_max(a.wl() - iwl_a, b.wl() [all...] |
H A D | sc_ufix.hh | 702 int wl_c = wl(); 715 for (int i = iwl_c - c.wl(); i < iwl_c; ++i) 731 int fwl_c = sc_max(a.wl() - iwl_a, b.wl() - iwl_b); \ 760 for (int i = iwl_c - c.wl(); i < iwl_c; ++i) \ 840 for (int i = iwl_c - wl(); i < iwl_c; ++i) \ 1188 int wl_c = wl(); 1201 for (int i = iwl_c - c.wl(); i < iwl_c; ++i) 1217 int fwl_c = sc_max(a.wl() - iwl_a, b.wl() [all...] |
/gem5/ext/mcpat/cacti/ |
H A D | htree2.h | 51 double mat_w, double mat_h, int add, int data_in, int search_data_in, int data_out, int search_data_out, int bl, int wl,
|
/gem5/src/cpu/pred/ |
H A D | multiperspective_perceptron_tage_8KB.cc | 92 lm, lgehl, lnb, logLnb, wl); 114 lm, lgehl, lnb, logLnb, wl, bi);
|
H A D | tage_sc_l_64KB.cc | 108 lgehl, lnb, logLnb, wl); 128 + (wl[getIndUpds(branch_pc)] >= 0) + (wbw[getIndUpds(branch_pc)] >= 0) 178 lgehl, lnb, logLnb, wl, bi);
|
H A D | multiperspective_perceptron_tage_64KB.cc | 93 lm, lgehl, lnb, logLnb, wl); 123 lm, lgehl, lnb, logLnb, wl, bi);
|
H A D | tage_sc_l_8KB.cc | 88 lgehl, lnb, logLnb, wl); 130 gUpdate(pc, taken, sh->getLocalHistory(1, pc), lm, lgehl, lnb, logLnb, wl,
|
/gem5/src/systemc/dt/fx/ |
H A D | scfx_rep.cc | 1028 lsb = params->iwl() - params->wl(); 1035 params->wl() > 1) { 1781 scfx_index x = calc_indices(params.iwl() - params.wl()); 1903 scfx_index x2 = calc_indices(params.iwl() - params.wl()); 1917 // wrap-around all 'wl' bits 1921 } else if (n_bits < params.wl()) { 1924 // wrap-around least significant 'wl - n_bits' bits; 1931 // saturate all 'wl' bits 1988 } else if (n_bits < params.wl()) { 1992 // wrap-around least significant 'wl [all...] |
H A D | sc_fxnum.cc | 353 int fwl = params.wl() - params.iwl(); 431 int fwl = params.wl() - iwl; 460 // wrap-around all 'wl' bits 464 } else if (n_bits < params.wl()) { 467 // wrap-around least significant 'wl - n_bits' bits 482 // saturate all 'wl' bits 516 // wrap-around all 'wl' bits 525 // wrap-around all 'wl' bits 529 } else if (n_bits < params.wl()) { 536 // wrap-around least significant 'wl [all...] |
/gem5/src/systemc/tests/systemc/misc/unit/data/user_guide/ch9/std_ulogic_datatype/ |
H A D | std_ulogic_datatype.cpp | 348 std_ulogic wu, wx, w0, w1, wz, ww, wl, wh, wd; local 385 wl = v6 & v7; wh = v6 & v8; wd = v6 & v9; 438 wl = v6 | v7; wh = v6 | v8; wd = v6 | v9; 491 wl = v6 ^ v7; wh = v6 ^ v8; wd = v6 ^ v9;
|
/gem5/ext/systemc/src/sysc/tracing/ |
H A D | sc_wif_trace.cpp | 767 if ( buf.size() < (size_t)object.wl() ) { 768 size_t sz = ( (size_t)object.wl() + 4096 ) & (~(size_t)(4096-1)); 773 for(int bitindex = object.wl() - 1; bitindex >= 0; --bitindex) 786 bit_width = object.wl(); 836 if ( buf.size() < (size_t)object.wl() ) { 837 size_t sz = ( (size_t)object.wl() + 4096 ) & (~(size_t)(4096-1)); 842 for(int bitindex = object.wl() - 1; bitindex >= 0; --bitindex) 855 bit_width = object.wl();
|