home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.vhdl
- Path: sparky!uunet!clsi!shankha
- From: shankha@clsi.COM (Shankha Mitra)
- Subject: Re: VHDL Problem - Procedures & Processes
- Message-ID: <1992Aug27.151258.21844@clsi.COM>
- Originator: shankha@clsi
- Sender: usenet@clsi.COM
- Organization: CAD Language Systems, Inc.
- References: <1992Aug25.172750.11830@babbage.ece.uc.edu>
- Distribution: usa
- Date: Thu, 27 Aug 92 15:12:58 GMT
- Lines: 25
-
-
- In article <1992Aug25.172750.11830@babbage.ece.uc.edu>, pmamtora@pumpkin.ece.uc.edu (Paddy Mamtora) writes:
- >
- > 1.Can you call a procedure from two different processes ? If not,
- > then, is there any way to getting around it ?
- >
- > 2. In a procedure, can you assign to signals that are declared
- > to be ports of the entity ? ( without declaring any
- > formal parameters for the signals in the procedure declaration)
- >
-
- Question 1:
- Yes, you can definitely call a procedure from two different processes.
-
- Question 2:
- No. An object referred to within a procedure must be either declared within
- the local declaration region of the procedure or in the formal parameter
- list of the procedure.
-
- Shankha
- --
-
- -------------------------------------------------------------------------------
- Shankha S. Mitra shankha@clsi.com
- CAD Language Systems, Inc. uunet!clsi.com!shankha
-