• 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
        • Loader
          • Preprocessor
          • Vl-loadconfig
          • Vl-loadstate
          • Lexer
            • Lex-strings
            • Lex-identifiers
            • Vl-typo-uppercase-p
            • Vl-typo-number-p
            • Vl-typo-lowercase-p
            • Lex-numbers
            • Chartypes
            • Vl-lex
            • Defchar
            • Tokens
              • Vl-tokentype-p
              • Vl-inttoken-p
              • Vl-plaintoken-p
              • Vl-token->etext
              • Vl-token-p
              • Vl-idtoken-p
              • Vl-token->type
              • Vl-timetoken-p
                • Vl-timetoken
                • Make-vl-timetoken
                • Change-vl-timetoken
                  • Make-honsed-vl-timetoken
                  • Honsed-vl-timetoken
                  • Vl-timetoken->units
                  • Vl-timetoken->quantity
                  • Vl-timetoken->etext
                  • Vl-timetoken->breakp
                • Vl-stringtoken-p
                • Vl-sysidtoken-p
                • Vl-extinttoken-p
                • Vl-realtoken-p
                • Vl-kill-whitespace-and-comments
                • Vl-tokenlist->etext
                • Vl-tokenlist-p
                • Vl-tokenlist->string-with-spaces
                • Vl-idtoken-list-p
                • Vl-tokentypelist-p
                • Vl-token->breakp
                • Vl-token->loc
                • Vl-plaintokentypelist-p
                • Vl-tokenlistlist-p
                • Vl-token->string
              • Lex-keywords
              • Lexstate
              • Make-test-tokens
              • Lexer-utils
              • Lex-comments
              • Vl-typo-uppercase-list-p
              • Vl-typo-lowercase-list-p
              • Vl-typo-number-list-p
            • Parser
            • Vl-load-merge-descriptions
            • Vl-find-basename/extension
            • Vl-load-file
            • Vl-loadresult
            • Scope-of-defines
            • Vl-find-file
            • Vl-flush-out-descriptions
            • Vl-description
            • Vl-read-file
            • Vl-includeskips-report-gather
            • Vl-load-main
            • Extended-characters
            • Vl-load
            • Vl-load-description
            • Vl-descriptions-left-to-load
            • Inject-warnings
            • Vl-preprocess-debug
            • Vl-write-preprocessor-debug-file
            • Vl-read-file-report-gather
            • Vl-load-descriptions
            • Vl-load-files
            • Translate-off
            • Vl-load-read-file-hook
            • Vl-read-file-report
            • Vl-loadstate-pad
            • Vl-load-summary
            • Vl-collect-modules-from-descriptions
            • Vl-loadstate->warnings
            • Vl-iskips-report
            • Vl-descriptionlist
          • Warnings
          • Getting-started
          • Utilities
          • Printer
          • Kit
          • Mlib
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-timetoken-p

    Change-vl-timetoken

    A copying macro that lets you create new vl-timetoken-p structures, based on existing structures.

    Syntax:

    (change-vl-timetoken x 
                         [:etext <etext>] 
                         [:quantity <quantity>] 
                         [:units <units>] 
                         [:breakp <breakp>]) 
    

    This is a sometimes useful alternative to make-vl-timetoken. It constructs a new vl-timetoken-p 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 defaggregate.

    Macro: change-vl-timetoken

    (defmacro change-vl-timetoken (x &rest args)
      (std::change-aggregate 'vl-timetoken
                             x args
                             '((:etext . vl-timetoken->etext)
                               (:quantity . vl-timetoken->quantity)
                               (:units . vl-timetoken->units)
                               (:breakp . vl-timetoken->breakp))
                             'change-vl-timetoken
                             'remake-vl-timetoken))