[comp.lang.vhdl] parameter passing

ivan@aero.aero.org (Ivan Filippenko) (02/28/91)

I'm trying to figure out if I have the correct understanding of the
subprogram parameter-passing mechanism defined by the VHDL LRM.

To me, it appears thus:

    constant or variable parameter:

      if scalar or access type:  pass by copy
      if array or record:        pass by copy or reference (impl. defined)

    signal parameter:  pass by reference
                       (for signal and/or driver, depending on mode)

The LRM seems pretty clear on the matter of constant and variable
parameters, but I'm not certain of my interpretation in the case of
signal parameters.

Corroboration or clarification, anyone, please ?

Thanks a lot  --   Ivan Filippenko  (ivan@aerospace.aero.org)