Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
In fact, you didn't tell a word about fixed point in this thread yet. That's the bad thing with incomplete questions. Of course, the point would be clearer, if you had managed to avoid cross postings.bradtherad - thank u but i mistake - ther is no need for floating point - i can use fixed point with decimal point
Sounds like you wanted to contradict the option to perform decimal arithmetics. The exercise may of course request a (binary) integer conversion, but technically, it's not necessarily needed.its not as simple as that.
You will have to convert each ascii character to an integer and then sum all the parts.
It's (9 downto -10), 20 bits in total in my opinion. But it's not clear, if you need to convert it to a fractional fixed point format. Alternatively, you can use a decimal scaling factor of 1000 rather 2**10, which simplifies the conversion a lot. And finally, there's the decimal compare option.You are probably going to need a (9 downto -9) to cover all possible values.