• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Vwsim
      • Fgl
      • Vl
        • Syntax
          • Vl-module
            • Vl-module-p
            • Make-vl-module
            • Vl-module-fix
            • Change-vl-module
              • Vl-module-equiv
              • Vl-module->defaultdisables
              • Vl-module->timeprecision
              • Vl-module->parse-temps
              • Vl-module->paramdecls
              • Vl-module->timeunit
              • Vl-module->taskdecls
              • Vl-module->sequences
              • Vl-module->properties
              • Vl-module->portdecls
              • Vl-module->origname
              • Vl-module->modinsts
              • Vl-module->generates
              • Vl-module->gclkdecls
              • Vl-module->gateinsts
              • Vl-module->elabtasks
              • Vl-module->dpiimports
              • Vl-module->dpiexports
              • Vl-module->covergroups
              • Vl-module->cassertions
              • Vl-module->assertions
              • Vl-module->warnings
              • Vl-module->vardecls
              • Vl-module->typedefs
              • Vl-module->name
              • Vl-module->minloc
              • Vl-module->maxloc
              • Vl-module->initials
              • Vl-module->imports
              • Vl-module->genvars
              • Vl-module->fundecls
              • Vl-module->finals
              • Vl-module->comments
              • Vl-module->clkdecls
              • Vl-module->classes
              • Vl-module->assigns
              • Vl-module->alwayses
              • Vl-module->aliases
              • Vl-module->ports
              • Vl-module->binds
              • Vl-module->atts
              • Vl-module->params
            • 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-plainarglist->exprs
            • Vl-class
            • Vl-taskdecllist->names
            • Vl-sort-blockitems-aux
            • Vl-fundecllist->names
            • Expressions-and-datatypes
            • 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-udpsymbol-p
            • Vl-final
            • Vl-maybe-clkskew
            • 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-modelement->loc
            • Vl-ctxelement
            • Vl-ctxelement->loc
            • Statements
            • Vl-interface->ifports
            • Vl-blockitem
            • Vl-vardecllist
            • Vl-module->ifports
            • Vl-lifetime-p
            • Vl-syntaxversion
            • Vl-nettypename-p
            • Vl-paramdecllist
            • Vl-modelementlist->genelements
            • Vl-importlist
            • Vl-gatetype-p
            • Vl-typedeflist
            • Vl-genelement->loc
            • Vl-cstrength-p
            • Vl-port->name
            • Vl-elabtask->loc
            • Vl-delayoreventcontrol
            • Vl-udpentry-p
            • Vl-portdecllist
            • Vl-port->loc
            • Property-expressions
            • Vl-taskdecllist
            • 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-blockstmt-p
            • Vl-bindlist
            • Vl-initiallist
            • Vl-genvarlist
            • Vl-gclkdecllist
            • Vl-finallist
            • Vl-elabtasklist
            • Vl-defaultdisablelist
            • Vl-clkdecllist
            • Vl-cassertionlist
            • 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-casekey-p
            • Vl-blockitemlist
            • Vl-ansi-portdecllist
            • Vl-regularportlist
            • Vl-paramdecllist-list
            • Vl-modelementlist
            • Vl-interfaceportlist
          • Loader
          • Warnings
          • Getting-started
          • Utilities
          • Printer
          • Kit
          • Mlib
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Testing-utilities
      • Math
    • Vl-module

    Change-vl-module

    Modifying constructor for vl-module structures.

    Syntax
    (change-vl-module x 
                      [:name <name>] 
                      [:minloc <minloc>] 
                      [:maxloc <maxloc>] 
                      [:origname <origname>] 
                      [:ports <ports>] 
                      [:portdecls <portdecls>] 
                      [:vardecls <vardecls>] 
                      [:modinsts <modinsts>] 
                      [:assigns <assigns>] 
                      [:gateinsts <gateinsts>] 
                      [:paramdecls <paramdecls>] 
                      [:imports <imports>] 
                      [:atts <atts>] 
                      [:warnings <warnings>] 
                      [:comments <comments>] 
                      [:timeunit <timeunit>] 
                      [:timeprecision <timeprecision>] 
                      [:alwayses <alwayses>] 
                      [:genvars <genvars>] 
                      [:generates <generates>] 
                      [:fundecls <fundecls>] 
                      [:taskdecls <taskdecls>] 
                      [:typedefs <typedefs>] 
                      [:initials <initials>] 
                      [:finals <finals>] 
                      [:aliases <aliases>] 
                      [:assertions <assertions>] 
                      [:cassertions <cassertions>] 
                      [:properties <properties>] 
                      [:sequences <sequences>] 
                      [:clkdecls <clkdecls>] 
                      [:gclkdecls <gclkdecls>] 
                      [:defaultdisables <defaultdisables>] 
                      [:dpiimports <dpiimports>] 
                      [:dpiexports <dpiexports>] 
                      [:binds <binds>] 
                      [:classes <classes>] 
                      [:covergroups <covergroups>] 
                      [:elabtasks <elabtasks>] 
                      [:parse-temps <parse-temps>] 
                      [:params <params>]) 
    

    This is an often useful alternative to make-vl-module.

    We construct a new vl-module structure that is a copy of x, except that you can explicitly change some particular fields. Any fields you don't mention just keep their values from x.

    Definition

    This is an ordinary change- macro introduced by defprod.

    Macro: change-vl-module

    (defmacro change-vl-module (x &rest args)
              (std::change-aggregate
                   'vl-module
                   x args
                   '((:name . vl-module->name)
                     (:minloc . vl-module->minloc)
                     (:maxloc . vl-module->maxloc)
                     (:origname . vl-module->origname)
                     (:ports . vl-module->ports)
                     (:portdecls . vl-module->portdecls)
                     (:vardecls . vl-module->vardecls)
                     (:modinsts . vl-module->modinsts)
                     (:assigns . vl-module->assigns)
                     (:gateinsts . vl-module->gateinsts)
                     (:paramdecls . vl-module->paramdecls)
                     (:imports . vl-module->imports)
                     (:atts . vl-module->atts)
                     (:warnings . vl-module->warnings)
                     (:comments . vl-module->comments)
                     (:timeunit . vl-module->timeunit)
                     (:timeprecision . vl-module->timeprecision)
                     (:alwayses . vl-module->alwayses)
                     (:genvars . vl-module->genvars)
                     (:generates . vl-module->generates)
                     (:fundecls . vl-module->fundecls)
                     (:taskdecls . vl-module->taskdecls)
                     (:typedefs . vl-module->typedefs)
                     (:initials . vl-module->initials)
                     (:finals . vl-module->finals)
                     (:aliases . vl-module->aliases)
                     (:assertions . vl-module->assertions)
                     (:cassertions . vl-module->cassertions)
                     (:properties . vl-module->properties)
                     (:sequences . vl-module->sequences)
                     (:clkdecls . vl-module->clkdecls)
                     (:gclkdecls . vl-module->gclkdecls)
                     (:defaultdisables . vl-module->defaultdisables)
                     (:dpiimports . vl-module->dpiimports)
                     (:dpiexports . vl-module->dpiexports)
                     (:binds . vl-module->binds)
                     (:classes . vl-module->classes)
                     (:covergroups . vl-module->covergroups)
                     (:elabtasks . vl-module->elabtasks)
                     (:parse-temps . vl-module->parse-temps)
                     (:params . vl-module->params))
                   'change-vl-module
                   'remake-vl-module))