RE: [vhdl-200x] Modular types

From: Martin.J Thompson <>
Date: Fri Jul 11 2014 - 00:51:26 PDT
> What does a modular construct brings that the "range" does not ?

The fact that you make clear to the tools and other readers that you intend the 'wraparound' behaviour from the beginning.  Integers with range do not give this behaviour.

Rather than (for example) having to write if..then..else conditional increments on your counters.  And being able to do bitwise things directly on the numbers, rather than having to cast them to unsigned vectors and back again.


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Jul 11 00:51:49 2014

This archive was generated by hypermail 2.1.8 : Fri Jul 11 2014 - 00:52:35 PDT