Skip to content

Commit

Permalink
Docs bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
gussmith23 authored and rachitnigam committed Jun 25, 2019
1 parent fb7ae66 commit b5df236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cheat.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ decl a: bit<32>; // number
Arrays defined using `decl` are used as the memory interface for this module.

```C
decl arr: bit<32>[10] // 10 elements each of which is bit<10>
decl arr: bit<32>[10] // 10 elements each of which is bit<32>
decl barr: bit<32>[10 bank 2] // An array with two banks
decl marr: bit<32>[10 bank 2][8 bank 4] // multi-dimensional arrays are supported
```
Expand Down

0 comments on commit b5df236

Please sign in to comment.