Searched refs:csd (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dscfx_utils.cpp62 scfx_string csd; local
64 // copy bits from 's' into 'csd'; skip prefix, point, and exponent
70 csd[i ++] = s[j];
75 csd[i] = '\0';
77 // convert 'csd' from two's complement to csd
81 if( csd[i] == '0' )
85 if( i > 0 && csd[i - 1] == '0' )
88 csd[i --] = '-';
90 { // i > 0 && csd[
[all...]
/gem5/src/systemc/dt/fx/
H A Dscfx_utils.cc61 scfx_string csd; local
63 // copy bits from 's' into 'csd'; skip prefix, point, and exponent
68 csd[i ++] = s[j];
73 csd[i] = '\0';
75 // convert 'csd' from two's complement to csd
78 if (csd[i] == '0') {
81 if (i > 0 && csd[i - 1] == '0') {
84 csd[i--] = '-';
86 csd[
109 scfx_csd2tc(scfx_string &csd) argument
[all...]

Completed in 4 milliseconds