• 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
          • Preprocessor
          • Vl-loadconfig
          • Lexer
          • Vl-loadstate
          • Parser
            • Parse-expressions
            • Parse-udps
            • Vl-genelements
            • Parse-paramdecls
            • Parse-blockitems
            • Parse-utils
            • Parse-insts
            • Parse-datatype
            • Parse-functions
              • Vl-make-hidden-variables-for-portdecls
              • Vl-parse-function-declaration-2005
              • Vl-parse-task-declaration-2005
              • Vl-parse-task-item-declaration-noatts
              • Vl-parse-taskport-declaration
              • Parse-functions-sv2012
              • Vl-parse-taskport-list
              • Vl-make-fundecl-for-parser
              • Vl-parse-0+-task-item-declarations
              • Vl-parse-optional-function-range-or-type
              • Vl-make-taskdecl-for-parser
              • Vl-parse-task-item-declaration
              • Vl-skip-through-endfunction
              • Vl-skip-through-endtask
              • Vl-filter-portdecl-or-blockitem-list
              • Vl-make-hidden-variable-for-portdecl
              • Vl-build-taskports
              • Vl-portdecllist-find-noninput
              • Vl-portdecl-or-blockitem-p
            • Parse-datatypes
            • Parse-strengths
            • Vl-parse-genvar-declaration
            • Vl-parse
            • Parse-ports
            • Seq
            • Parse-packages
          • Vl-load-merge-descriptions
          • Scope-of-defines
          • Vl-load-file
          • Vl-flush-out-descriptions
          • Vl-description
          • Vl-loadresult
          • Vl-read-file
          • Vl-find-basename/extension
          • Vl-find-file
          • Vl-read-files
          • Extended-characters
          • Vl-load
          • Vl-load-main
          • Vl-load-description
          • Vl-descriptions-left-to-load
          • Inject-warnings
          • Vl-load-descriptions
          • Vl-load-files
          • Vl-load-summary
          • Vl-collect-modules-from-descriptions
          • Vl-descriptionlist
        • Transforms
        • Lint
        • Mlib
        • Server
        • Kit
        • Printer
        • Esim-vl
        • Well-formedness
      • Sv
      • Fgl
      • Vwsim
      • Vl
      • X86isa
      • Svl
      • Rtl
    • Software-verification
    • Math
    • Testing-utilities
  • Parser

Parse-functions

Functions for parsing Verilog-2005 and SystemVerilog function and task declarations.

Subtopics

Vl-make-hidden-variables-for-portdecls
(vl-make-hidden-variables-for-portdecls x) maps vl-make-hidden-variable-for-portdecl across a list.
Vl-parse-function-declaration-2005
Verilog-2005 only. Matches function_declaration except for the attributes.
Vl-parse-task-declaration-2005
Verilog-2005 only. Matches task_declaration except for the attributes.
Vl-parse-task-item-declaration-noatts
Verilog-2005 only. Match task_item_declaration except for the attributes. Also can be used to match function_item_declaration.
Vl-parse-taskport-declaration
Verilog-2005 only. Match tf_input_declaration, tf_output_declaration, or tf_inout_declaration.
Parse-functions-sv2012
Parsing of functions and task for SystemVerilog.
Vl-parse-taskport-list
Verilog-2005 only. Match task_port_list.
Vl-make-fundecl-for-parser
Main function the parser uses for creating function declarations.
Vl-parse-0+-task-item-declarations
Verilog-2005 only. Match as many task_item_declarations as possible.
Vl-parse-optional-function-range-or-type
Verilog-2005 only. Match function_type_or_range.
Vl-make-taskdecl-for-parser
Main function the parser uses for creating task declarations.
Vl-parse-task-item-declaration
Verilog-2005 only. Match task_item_declaration, including attributes.
Vl-skip-through-endfunction
Barbaric fault tolerance routine. Find endfunction so we can try to resume parsing after a problematic function.
Vl-skip-through-endtask
Barbaric fault tolerance routine. Find endtask so we can try to resume parsing after a problematic function.
Vl-filter-portdecl-or-blockitem-list
Split out port declarations from other block items.
Vl-make-hidden-variable-for-portdecl
Create the hidden vl-vardecls corresponding to the vl-portdecls of a function or task.
Vl-build-taskports
Build port declarations for a task/function declaration.
Vl-portdecllist-find-noninput
Find the first non-input in a list of port declarations, if there is one.
Vl-portdecl-or-blockitem-p
Used temporarily in function/task parsing.