D
David Bishop
In the next update to VHDL we are planning several changes and
additions to the standard packages.
For the current packages, std_logic_1164, numeric_std, and
numeric_bit we plan to include the "read" and "write"
procedures in the package. This will also be done for any
new packages of types introduced in this revision.
Note, read and write procedures for standard types (bit,
bit_vector, integer, ...) will still be located in std.textio.
Std_logic_textio has been donated to the IEEE. All the read
and write functions that are proposed for std_logic_1164 are
intended to be backward compatible with this std_logic_textio.
As a result, we will be including a blank std_logic_textio
so that references to std_logic_textio will not cause issues.
It also means that if you have defined your own read and write
procedures for the types in std_logic_1164, numeric_std, or
numeric_bit that you will need to comment these procedures out
in the packages in which you have defined them.
Is this an issue for you and if so how big? Are you willing
to trade the modifications to your packages in exchange for
what we feel is a better package architecture for the future?
Alternately would it be better to keep the read and write for
std_logic_1164, numeric_std, and numeric_bit in separate packages
such as std_logic_textio, numeric_std_textio, and numeric_bit_textio?
Our concern with this approach for printing is that you need
twice the number of packages for printing. Consider that we
are also introducing packages for fixed point and floating
point in this revision and that they would need to be done
in a manner consistent with numeric_std and std_logic_1164.
For details of the change proposal see:
http://www.eda.org/vhdl-200x/vhdl-200x-ft
For proposed revisions to the package (and to try them out) see:
http://www.eda.org/vhdl-200x/vhdl-200x-ft/packages/files.html
Note any debug help with the new packages would be appreciated.
additions to the standard packages.
For the current packages, std_logic_1164, numeric_std, and
numeric_bit we plan to include the "read" and "write"
procedures in the package. This will also be done for any
new packages of types introduced in this revision.
Note, read and write procedures for standard types (bit,
bit_vector, integer, ...) will still be located in std.textio.
Std_logic_textio has been donated to the IEEE. All the read
and write functions that are proposed for std_logic_1164 are
intended to be backward compatible with this std_logic_textio.
As a result, we will be including a blank std_logic_textio
so that references to std_logic_textio will not cause issues.
It also means that if you have defined your own read and write
procedures for the types in std_logic_1164, numeric_std, or
numeric_bit that you will need to comment these procedures out
in the packages in which you have defined them.
Is this an issue for you and if so how big? Are you willing
to trade the modifications to your packages in exchange for
what we feel is a better package architecture for the future?
Alternately would it be better to keep the read and write for
std_logic_1164, numeric_std, and numeric_bit in separate packages
such as std_logic_textio, numeric_std_textio, and numeric_bit_textio?
Our concern with this approach for printing is that you need
twice the number of packages for printing. Consider that we
are also introducing packages for fixed point and floating
point in this revision and that they would need to be done
in a manner consistent with numeric_std and std_logic_1164.
For details of the change proposal see:
http://www.eda.org/vhdl-200x/vhdl-200x-ft
For proposed revisions to the package (and to try them out) see:
http://www.eda.org/vhdl-200x/vhdl-200x-ft/packages/files.html
Note any debug help with the new packages would be appreciated.