• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
      • Vwsim
      • Vl
        • Syntax
          • Vl-module
          • Vl-vardecl
          • Vl-fundecl
          • Vl-interface
          • Vl-design
          • Vl-assign
          • Vl-modinst
          • Vl-gateinst
          • Vl-taskdecl
          • Vl-portdecl
          • Vl-commentmap
          • Vl-dpiimport
          • Vl-ansi-portdecl
          • Vl-package
          • Vl-paramdecl
          • Vl-dpiexport
          • Vl-class
          • Vl-sort-blockitems-aux
          • Vl-plainarglist->exprs
          • Vl-taskdecllist->names
          • Expressions-and-datatypes
          • Vl-fundecllist->names
          • Vl-udp
          • Vl-port
          • Vl-genelement
          • Vl-clkdecl
          • Vl-parse-temps
          • Vl-bind
          • Vl-namedarg
          • Vl-exprdist
          • Vl-clkassign
          • Vl-range
          • Vl-propport
          • Vl-typedef
          • Vl-gatedelay
          • Vl-dimension
          • Vl-sequence
          • Vl-clkskew
          • Vl-program
          • Vl-gatestrength
          • Vl-property
          • Vl-config
          • Vl-always
          • Vl-import
          • Vl-repeateventcontrol
          • Vl-timeliteral
          • Vl-initial
          • Vl-eventcontrol
          • Vl-final
          • Vl-udpsymbol-p
          • Vl-maybe-clkskew
          • Vl-function-specialization
          • Vl-alias
          • Vl-maybe-nettypename
          • Vl-maybe-gatedelay
          • Vl-letdecl
          • Vl-direction-p
          • Vl-modelement
          • Vl-maybe-timeprecisiondecl
          • Vl-maybe-scopeid
          • Vl-maybe-gatestrength
          • Vl-maybe-direction
          • Vl-maybe-delayoreventcontrol
          • Vl-gclkdecl
          • Vl-fwdtypedef
          • Vl-maybe-udpsymbol-p
          • Vl-maybe-timeunitdecl
          • Vl-maybe-timeliteral
          • Vl-maybe-parse-temps
          • Vl-maybe-cstrength
          • Vl-arguments
          • Vl-maybe-module
          • Vl-maybe-design
          • Vl-covergroup
          • Vl-udpline
          • Vl-timeunitdecl
          • Vl-genvar
          • Vl-defaultdisable
          • Vl-context1
          • Vl-timeprecisiondecl
          • Vl-sort-blockitems
          • Vl-elabtask
          • Vl-udpedge
          • Vl-delaycontrol
          • Vl-context
          • Vl-ctxelement
          • Vl-ctxelement->loc
          • Vl-modelement->loc
          • Statements
          • Vl-blockitem
          • Vl-vardecllist
          • Vl-interface->ifports
          • Vl-syntaxversion
          • Vl-nettypename-p
          • Vl-module->ifports
          • Vl-lifetime-p
          • Vl-paramdecllist
          • Vl-modelementlist->genelements
          • Vl-importlist
          • Vl-typedeflist
          • Vl-gatetype-p
          • Vl-cstrength-p
          • Vl-port->name
          • Vl-genelement->loc
          • Vl-delayoreventcontrol
          • Vl-udpentry-p
          • Vl-portdecllist
          • Vl-elabtask->loc
          • Property-expressions
            • Vl-propexpr
              • Vl-propexpr-p
              • Vl-propthen
              • Vl-propexpr-case
              • Vl-propbinary
              • Vl-propeventually
              • Vl-propassign
              • Vl-propalways
              • Vl-propif
              • Vl-propaccept
              • Vl-proprepeat
                • Vl-repetition
                  • Vl-repetition-fix
                  • Vl-repetition-equiv
                  • Vl-repetition-p
                  • Make-vl-repetition
                  • Vl-repetition->type
                  • Vl-repetition->right
                  • Vl-repetition->left
                  • Change-vl-repetition
                • Vl-proprepeat->seq
                • Vl-proprepeat->reps
                • Make-vl-proprepeat
                • Change-vl-proprepeat
                • Vl-repetitiontype-p
              • Vl-propnexttime
              • Vl-propclock
              • Vl-propexpr-equiv
              • Vl-propunary
              • Vl-propinst
              • Vl-propexpr-kind
              • Vl-propthroughout
              • Vl-propcase
              • Vl-propcore
              • *vl-trivially-true-property-expr*
              • Vl-propexpr-fix
              • Vl-propexpr-count
            • Vl-propspec
            • Vl-propactual
            • Vl-propcaseitem
            • Vl-propcaseitemlist
            • Vl-propactuallist
          • Vl-taskdecllist
          • Vl-port->loc
          • Vl-fundecllist
          • Vl-sequencelist
          • Vl-propertylist
          • Vl-portlist
          • Vl-dpiimportlist
          • Vl-dpiexportlist
          • Vl-classlist
          • Vl-arguments->args
          • Vl-alwaystype-p
          • Vl-modinstlist
          • Vl-importpart-p
          • Vl-importpart-fix
          • Vl-bindlist
          • Vl-initiallist
          • Vl-genvarlist
          • Vl-gclkdecllist
          • Vl-function-specialization-map
          • Vl-finallist
          • Vl-elabtasklist
          • Vl-defaultdisablelist
          • Vl-clkdecllist
          • Vl-cassertionlist
          • Vl-blockstmt-p
          • Vl-assignlist
          • Vl-assertionlist
          • Vl-alwayslist
          • Vl-aliaslist
          • Vl-udptable
          • Vl-udplist
          • Vl-udpentrylist
          • Vl-propportlist
          • Vl-programlist
          • Vl-packagelist
          • Vl-namedarglist
          • Vl-modulelist
          • Vl-modportlist
          • Vl-modport-portlist
          • Vl-letdecllist
          • Vl-interfacelist
          • Vl-gateinstlist
          • Vl-fwdtypedeflist
          • Vl-covergrouplist
          • Vl-configlist
          • Vl-clkassignlist
          • Vl-blockitemlist
          • Vl-ansi-portdecllist
          • Vl-regularportlist
          • Vl-paramdecllist-list
          • Vl-modelementlist
          • Vl-interfaceportlist
          • Vl-casekey-p
          • Sv::maybe-4veclist
        • Loader
        • Warnings
        • Getting-started
        • Utilities
        • Printer
        • Kit
        • Mlib
        • Transforms
      • X86isa
      • Svl
      • Rtl
    • Software-verification
    • Math
    • Testing-utilities
  • Vl-proprepeat

Vl-repetition

Representation of a SystemVerilog assertion sequence repetition.

This is a product type introduced by defprod.

Fields
type — vl-repetitiontype-p
Kind of repetition, i.e., consecutive, goto, or nonconsecutive.
left — vl-expr
Sole or left bound on the repetition. Examples: left is 3 for any of [* 3], [* 3:4], [-> 3], [-> 3:4], [= 3], or [= 3:4]. In the special cases of [*] and [+], left should be 0 and 1, respectively.
right — vl-maybe-expr
Right bound on the repetition if applicable. For instance, right is nil for any of [* 3], [-> 3], or [= 3]. It is 4 for any of [* 3:4], [-> 3:4], or [= 3:4]. It is $ for [*] or [+].

See SystemVerilog-2012 Section 16.9.2.

Note from Page 357 that [*] is equivalent to [0:$] and [+] is equivalent to [1:$], so we don't bother with separate representations of these.

Subtopics

Vl-repetition-fix
Fixing function for vl-repetition structures.
Vl-repetition-equiv
Basic equivalence relation for vl-repetition structures.
Vl-repetition-p
Recognizer for vl-repetition structures.
Make-vl-repetition
Basic constructor macro for vl-repetition structures.
Vl-repetition->type
Get the type field from a vl-repetition.
Vl-repetition->right
Get the right field from a vl-repetition.
Vl-repetition->left
Get the left field from a vl-repetition.
Change-vl-repetition
Modifying constructor for vl-repetition structures.