Skip to content

Commit

Permalink
Update tl-b-language.mdx
Browse files Browse the repository at this point in the history
Fix typo, should by 32 zeroes, because 1 for constructor definition and val's dimension is 32 bits
  • Loading branch information
glcanvas authored Oct 25, 2023
1 parent aacbf3e commit 6aedca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/develop/data-formats/tl-b-language.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ tag_a$10 val:(## 32) = A;
tag_b$00 val(## 64) = A;
```

If we parse `1000000000000000000000000000000001` (1 and 33 zeroes and 1) in TLB type `A` - firstly we need to get first
If we parse `1000000000000000000000000000000001` (1 and 32 zeroes and 1) in TLB type `A` - firstly we need to get first
two bits to define tag. In this example `10` is two first bits and they represent `tag_a`. So now we know that next 32
bits are `val` variable, `1` in our example. Some "parsed" pseudocode variables may look like:

Expand Down

0 comments on commit 6aedca5

Please sign in to comment.