You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ASLi aims to be a faithful implementation of ASL version 1.0 beta 7.
Unfortunately, the document DDI0612-asl_spec-00bet7 is no longer available from Arm's website so we cannot refer you to it. However beta 7 roughly corresponds to the state of ASLRef documentation around September 2024.
We know of the following differences between ASLi and ASL version 1.0 beta 7.
Missing features
The standard library print function can only take one argument
Subtypes
'<=' and '>=' patterns
'.item0'/'.item1'/... syntax to extract fields from tuples
'pass' statements
'case' labels must be literal constants instead of constant expressions
'x DIV y' should report an error if 'y' is not an exact divisor of 'x'.
Extensions
Optional exception markers: Functions that may throw an exception are marked with '?' and functions that always throw an exception are marked with '!'. Markers appear after the function name in both definitions and calls to the function.
Bitvector literals can be written like this 32'xffff_ffff' where 32` is the bitwidth. (Literals can be written in hexadecimal (x), decimal (d) or binary (b).)
It is not necessary to define a setter function when defining a getter function. This is useful for registers that should not be written directly.
Records can have bitwidth parameters. This is useful when a record field is a bitvector whose size is not fixed.
The text was updated successfully, but these errors were encountered:
ASLi aims to be a faithful implementation of ASL version 1.0 beta 7.
Unfortunately, the document
DDI0612-asl_spec-00bet7
is no longer available from Arm's website so we cannot refer you to it. However beta 7 roughly corresponds to the state of ASLRef documentation around September 2024.We know of the following differences between ASLi and ASL version 1.0 beta 7.
Missing features
Extensions
32'xffff_ffff' where
32` is the bitwidth. (Literals can be written in hexadecimal (x), decimal (d) or binary (b).)The text was updated successfully, but these errors were encountered: