• 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
            • Vl-remove-unnecessary-elements
            • Vl-necessary-elements-transitive
            • Vl-dependent-elements-transitive
            • Vl-necessary-elements-direct
            • Vl-modulelist-everinstanced
            • Vl-dependent-elements-direct
            • Vl-modulelist-toplevel
            • Vl-design-deporder-modules
            • Vl-design-check-complete
            • Vl-design-upgraph
            • Immdeps
              • Immdeps-main
              • Vl-immdeps
              • Immdeps-top
              • Vl-immdepgraph
                • Vl-immdepgraph-p
                • Vl-immdepgraph-fix
                • Vl-immdepgraph-equiv
                • Make-vl-immdepgraph
                  • Vl-immdepgraph->reportcard
                  • Vl-immdepgraph->deps
                  • Vl-immdepgraph->all-okp
                  • Change-vl-immdepgraph
                • Vl-depgraph
              • Vl-design-downgraph
              • Vl-collect-dependencies
              • Vl-hierarchy-free
            • 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
            • 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
    • Vl-immdepgraph

    Make-vl-immdepgraph

    Basic constructor macro for vl-immdepgraph structures.

    Syntax
    (make-vl-immdepgraph [:all-okp <all-okp>] 
                         [:deps <deps>] 
                         [:reportcard <reportcard>]) 
    

    This is the usual way to construct vl-immdepgraph structures. It simply conses together a structure with the specified fields.

    This macro generates a new vl-immdepgraph structure from scratch. See also change-vl-immdepgraph, which can "change" an existing structure, instead.

    Definition

    This is an ordinary make- macro introduced by defprod.

    Macro: make-vl-immdepgraph

    (defmacro make-vl-immdepgraph (&rest args)
      (std::make-aggregate 'vl-immdepgraph
                           args
                           '((:all-okp . t) (:deps) (:reportcard))
                           'make-vl-immdepgraph
                           nil))

    Function: vl-immdepgraph

    (defun vl-immdepgraph (all-okp deps reportcard)
      (declare (xargs :guard (and (booleanp all-okp)
                                  (vl-depgraph-p deps)
                                  (vl-reportcard-p reportcard))))
      (declare (xargs :guard t))
      (let ((__function__ 'vl-immdepgraph))
        (declare (ignorable __function__))
        (b* ((all-okp (mbe :logic (acl2::bool-fix all-okp)
                           :exec all-okp))
             (deps (mbe :logic (vl-depgraph-fix deps)
                        :exec deps))
             (reportcard (mbe :logic (vl-reportcard-fix reportcard)
                              :exec reportcard)))
          (cons :vl-immdepgraph
                (std::prod-cons all-okp
                                (std::prod-cons deps reportcard))))))