- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
Can arithmetic operators(such as '+','-',etc.) only be used within process statement? If yes, why?Thanks.Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, operators can be used outside process. Then result will not be registered as it is when you use the operators within process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you can use them in functions and procedures too.
basically, anything in the architecture is a process, just if its placed outside an explicit process it is an implicit process sensitive to all the signals on the RHS: a <= b * c; is the same as: process(b, c) begin a <= b * c; end process;
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page