Let’s analyze numbers – RISC-V doubleword

Statistics and numbers are no good unless you have good people to analyze and then interpret their meaning and importance” – Brendan Rodgers
Hi
While you all are eagerly waiting for my online course on RISC-V ISA, let’s get some basic facts about numbers here – Details will be covered in the course. Stay tuned in below link:
  • 8-bytes form doubleword
If we break it to a decent level, as shown in below image, it would be a crystal-clear fact for us. I have seen people getting very confused with this one, and so a breakup of the entire doubleword and reconstructing it again, will be very helpful.
Simple and easy – 8-bits form a byte, 4-bytes form a word, 8-bytes form a doubleword. If it’s difficult to remember the text, download the below image as reference, and I promise you will never forget it

  • RV64 architecture can represent 18,446,744,073,709,551,615 patterns…
…which is from 0 to 264. That’s because RISC-V doubleword is 64 bits long, as shown in above image. In other words, just as a 2-bit can be used to represent numbers 0 – 3 (i.e. from 0 to [22 – 1]), similarly as 64-bit doubleword can be used to represent numbers from 0 to [264 – 1]. Try evaluating it for 4-bit or 5-bit system
  • Positive – MSB is ‘0’, negative – MSB is ‘1’
This one’s easy, as represented in below image, and needed to have an extremely simple hardware. This bit i.e. MSB, is called as sign bit. The method to represent the negative numbers, way to convert negative numbers to its equivalent decimal number, range of positive and negative numbers being represented by RISC-V doubleword, and many such queries will be very well covered in the course.
  • Range of signed numbers represented by RV64 architecture
This one’s is tricky, and needs you understand 1’s complement and 2’s complement concept (which, by the way, will also be covered). To give you some numbers here, RV64 can represent positive numbers from 0 to [263 – 1] and negative numbers from -1 to -263 as shown in below image:
Why am I giving you all this information? So that you get prepared, you get excited, you get overwhelmed by what is coming as an online course, which you must have not seen before or expected to be coming.
Learning these courses will give you an additional confident that, be it in any field, if you got strong basics, nothing can move you. If you start from first principle, you can learn any field and become an expert – To your surprise, the person who’s mentoring me on making of VLSI courses is 1974 pass out Mechanical Engineer from IIT Bombay.
See…I told you….you got to get your ‘first principle’ right. Stay tuned to my courses and finish all of them ASAP.
Posted in Uncategorized.

Leave a Reply

Your email address will not be published. Required fields are marked *