Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using when within a process ??

Status
Not open for further replies.

MarcelGL

IS-IT--Management
May 12, 2008
1
MX
I tried to use when within a process, but an error is generated. Is it not allowed to use when within a process ?

 
Hi,
It's not clear whether you are using WHEN clause as WHEN-ELSE construct or in the CASE construct.

If you are using the WHEN-ELSE construct within the process, it is invalid. This construct can be used outside process like the below line.
output <= input1 WHEN enable = '1' ELSE input2;

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top