RE: [vhdl-200x] Records with diectional subtypes

From: Peter Flake <>
Date: Thu Aug 23 2012 - 03:26:05 PDT

I agree that drivers must be determined statically. So one could make port subtypes a special case and resolve them statically. An alternative is to define a new category of type, with new rules for port maps.


If you regard a subtype as a restriction on a type, restricting the direction can be seen as keeping to the spirit of VHDL.




Peter Flake



From: [] On Behalf Of
Sent: 22 August 2012 12:10
Subject: Re: [vhdl-200x] Records with diectional subtypes


Don't you have an issue with the concepts of type vs subtype and the determination of drivers? Types get resolved statically, subtypes are not (in general) determined until run-time. Is it not the case that pushing mode info into the subtype makes it too late to determine the drivers of the signals? How is this supposed to be implemented (in the tool)?

Apart from that, the notion of pushing modes into subtypes seems to contradict the conceptual framework of VHDL. But perhaps that's just me being unimaginative ;-)


John A

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Aug 23 03:26:35 2012

This archive was generated by hypermail 2.1.8 : Thu Aug 23 2012 - 03:27:05 PDT