Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 Discussions

Always block - Can an or be replaced with a comma?

Altera_Forum
Honored Contributor II
1,305 Views

Hi, 

 

Can an or in the sensitive list of an always statement be replaced with a comma?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
589 Views

IEEE Std 1364 tells 

 

--- Quote Start ---  

9.7.4 Event or operator 

 

The logical or of any number of events can be expressed so that the occurrence of any one of the events triggers the execution of the procedural statement that follows it. The keyword or or a comma character (,) is used as an event logical or operator. A combination of these can be used in the same event expression. Comma-separated sensitivity lists shall be synonymous to or-separated sensitivity lists. 

--- Quote End ---  

0 Kudos
Reply