(no commit message)
authorlkcl <lkcl@web>
Wed, 30 Dec 2020 17:30:10 +0000 (17:30 +0000)
committerIkiWiki <ikiwiki.info>
Wed, 30 Dec 2020 17:30:10 +0000 (17:30 +0000)
openpower/sv/overview.mdwn

index 2fbb61f98854f3fa26d4e12ad468b7c058c5a9e8..c89d0995b85b5eef55aa0ec092800e17dc411116 100644 (file)
@@ -283,7 +283,12 @@ let alone Vectors of 8 bit.
 The solution comes in terms of rethinking the definition of a Register
 File.  The typical regfile may be considered to be a multi-ported SRAM
 block, 64 bits wide and usually 32 entries deep, to give 32 64 bit
-registers.  Conceptually, to get our variable element width vectors,
+registers.  In c this would be:
+
+    typedef uint64_t reg_t;
+    reg_t int_regfile[32]; // standard scalar 32x 64bit
+
+Conceptually, to get our variable element width vectors,
 we may think of the regfile as instead being the following c-based data
 structure: