• 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-interface-p
            • Vl-interface-fix
            • Make-vl-interface
            • Vl-modport-port
              • Vl-modport-port-fix
              • Vl-modport-port-equiv
              • Vl-modport-port-p
              • Make-vl-modport-port
              • Vl-modport-port->name
              • Change-vl-modport-port
              • Vl-modport-port->loc
              • Vl-modport-port->expr
              • Vl-modport-port->dir
              • Vl-modport-port->atts
            • Vl-modport
            • Change-vl-interface
            • Vl-interface-equiv
            • Vl-interface->defaultdisables
            • Vl-interface->parse-temps
            • Vl-interface->warnings
            • Vl-interface->taskdecls
            • Vl-interface->sequences
            • Vl-interface->properties
            • Vl-interface->portdecls
            • Vl-interface->paramdecls
            • Vl-interface->origname
            • Vl-interface->initials
            • Vl-interface->generates
            • Vl-interface->gclkdecls
            • Vl-interface->fundecls
            • Vl-interface->elabtasks
            • Vl-interface->dpiimports
            • Vl-interface->dpiexports
            • Vl-interface->comments
            • Vl-interface->cassertions
            • Vl-interface->assertions
            • Vl-interface->alwayses
            • Vl-interface->vardecls
            • Vl-interface->typedefs
            • Vl-interface->name
            • Vl-interface->modports
            • Vl-interface->modinsts
            • Vl-interface->minloc
            • Vl-interface->maxloc
            • Vl-interface->imports
            • Vl-interface->genvars
            • Vl-interface->finals
            • Vl-interface->clkdecls
            • Vl-interface->classes
            • Vl-interface->binds
            • Vl-interface->assigns
            • Vl-interface->aliases
            • Vl-interface->ports
            • Vl-interface->atts
          • 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-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-interface

Vl-modport-port

A single port from a modport declaration.

This is a product type introduced by defprod.

Fields
name — stringp
Name of the port; often the same as the expr
dir — vl-direction-p
Port direction
loc — vl-location
expr — vl-maybe-expr
Expression in terms of the declared variables of the interface.
atts — vl-atts
attributes

The syntax for this is:

modport_simple_ports_declaration ::=
port_direction modport_simple_port { , modport_simple_port }

modport_simple_port ::=
port_identifier
| . port_identifier ( [ expression ] )

As with regular ports, if the expression is not provided then the port identifier is turned into an expression. The variables used in the expression must be declared in the interface, but it is permissible for the expression to be non-sliceable, at least if it's an input.

Subtopics

Vl-modport-port-fix
Fixing function for vl-modport-port structures.
Vl-modport-port-equiv
Basic equivalence relation for vl-modport-port structures.
Vl-modport-port-p
Recognizer for vl-modport-port structures.
Make-vl-modport-port
Basic constructor macro for vl-modport-port structures.
Vl-modport-port->name
Get the name field from a vl-modport-port.
Change-vl-modport-port
Modifying constructor for vl-modport-port structures.
Vl-modport-port->loc
Get the loc field from a vl-modport-port.
Vl-modport-port->expr
Get the expr field from a vl-modport-port.
Vl-modport-port->dir
Get the dir field from a vl-modport-port.
Vl-modport-port->atts
Get the atts field from a vl-modport-port.