• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
        • Transforms
        • Lint
        • Mlib
          • Scopestack
          • Filtering-by-name
          • Vl-namefactory
          • Substitution
          • Allexprs
          • Hid-tools
          • Vl-consteval
          • Range-tools
          • Lvalexprs
          • Hierarchy
          • Finding-by-name
          • Expr-tools
          • Expr-slicing
          • Stripping-functions
          • Stmt-tools
          • Modnamespace
          • Vl-parse-expr-from-str
          • Welltyped
          • Reordering-by-name
          • Flat-warnings
          • Genblob
          • Expr-building
          • Datatype-tools
          • Syscalls
            • Vl-syscall->returninfo
            • Vl-*ary-syscall-p
            • Vl-unary-syscall-p
            • Vl-0ary-syscall-p
            • Vl-sysfun-should-size-args-p
            • Vl-$random-expr-p
            • Vl-sysfunexpr->name
            • Vl-sysfunexpr-p
            • Vl-unary-syscall->arg
          • Relocate
          • Expr-cleaning
          • Namemangle
          • Caremask
          • Port-tools
          • Lvalues
        • Server
        • Kit
        • Printer
        • Esim-vl
        • Well-formedness
      • Sv
      • Fgl
      • Vwsim
      • Vl
      • X86isa
      • Svl
      • Rtl
    • Software-verification
    • Math
    • Testing-utilities
  • Mlib

Syscalls

Functions for working with system functions like $bits and $random.

Subtopics

Vl-syscall->returninfo
(Attempt to) look up the return type of a system function call.
Vl-*ary-syscall-p
Recognize calls of a particular system function call, without any arity checking.
Vl-unary-syscall-p
Recognize calls of a particular unary system function call.
Vl-0ary-syscall-p
Recognize calls of a particular zero-ary system function call.
Vl-sysfun-should-size-args-p
Should we size the arguments to this system call?
Vl-$random-expr-p
Recognize calls of the $random system function.
Vl-sysfunexpr->name
Get the name from a vl-sysfunexpr-p as a string, e.g., "$bits".
Vl-sysfunexpr-p
Recognize atomic expressions that are system function names.
Vl-unary-syscall->arg
Access the argument to a vl-unary-syscall-p, not including the function name.