• Top
    • Documentation
    • Books
    • Boolean-reasoning
      • Ipasir
      • Aignet
        • Base-api
        • Aignet-construction
        • Representation
        • Aignet-copy-init
        • Aignet-simplify-with-tracking
        • Aignet-simplify-marked-with-tracking
        • Aignet-cnf
        • Aignet-simplify-marked
        • Aignet-complete-copy
        • Aignet-transforms
        • Aignet-eval
          • Vector-simulation
            • Aignet-vecsim
            • Aignet-vecsim1
            • S32v
              • S32v-set2
              • S32v-resize-rows
              • S32v-resize-cols
              • S32v-get2
                • S32v-nrows
                • S32v-ncols
              • Random-sim
              • Exhaustive-sim
              • S32v-randomize-inputs
              • S32v-randomize-regs
              • Aignet-vecsim-top
          • Semantics
          • Aignet-read-aiger
          • Aignet-write-aiger
          • Aignet-abc-interface
          • Utilities
        • Aig
        • Satlink
        • Truth
        • Ubdds
        • Bdd
        • Faig
        • Bed
        • 4v
      • Projects
      • Debugging
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • S32v

    S32v-get2

    Get the element at arr[row][col] from the s32v array.

    Logical definition:

    Function: s32vl-get2

    (defun s32vl-get2 (stobjs::row stobjs::col s32vl-arr2)
     (declare
          (type (integer 0 *) stobjs::row)
          (type (integer 0 *) stobjs::col)
          (xargs :guard (and (s32vl-arr2-wfp s32vl-arr2)
                             (< stobjs::row (s32vl-nrows s32vl-arr2))
                             (< stobjs::col (s32vl-ncols s32vl-arr2)))))
     (s32-fix (nth stobjs::col
                   (nth stobjs::row
                        (stobjs::2darr->rows s32vl-arr2)))))