bennymao Posted October 3, 2013 Report Share Posted October 3, 2013 Page-20 of "SystemC 2.0.1 Language Reference Manual Revision 1.0", "Index 6" of "Table 2. Examples of Fixed-Point Formats"(1) For "range signed"It says [-0.125, 0.109375].But I think the range should be [-0.125, 0.1171875], because the minimum data is ".1110000" and the maximum one is ".0001111".(2) For "range unsiged"It says [0, 0.234375].But I think the range shoulde be [0, 0.2421875], because the minimum data is ".0000000" and the maximum one is ".0011111".Whether my understanding is correct?Can anybody give me help?Thanks in advanced. karandeep963 1 Quote Link to comment Share on other sites More sharing options...
Philipp A Hartmann Posted October 3, 2013 Report Share Posted October 3, 2013 The 2.0.1 LRM is very old. SystemC became an IEEE standard in the meantime, and luckily the same example is now part of the IEEE Std. 1666-2011 (see 7.10.1, Table 32). The ranges mentioned there match the ones you were expecting. Greetings from Oldenburg, Philipp karandeep963 1 Quote Link to comment Share on other sites More sharing options...
bennymao Posted October 4, 2013 Author Report Share Posted October 4, 2013 Thank you very much, Philipp. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.