TWiki
>
P1076/Ballots Web
>
Vhdl2019CollectedRequirements
>
MoveText
(2020-02-17,
JimLewis
)
(raw view)
E
dit
A
ttach
---+ Move std.textio.TEXT, OUTPUT, and INPUT %TOC% ---++ Proposal Information * Who Updates: Main.JimLewis, Needs Champion * Date Proposed: 2014-03-23 * Date Last Updated: 2014-03-23 * Priority: * Complexity: * Focus: General Language ---++ Related Issues: None ---++ Competing Issues: None ---++ Summary [[https://bugzilla.mentor.com/show_bug.cgi?id=257][See Bugzilla 257]] In the VHDL LRM, IEEE-1076-2008, under 5.5.2 File operations there is a write procedure defined as follows: <verbatim>procedure WRITE (file F: FT; VALUE: in TM);</verbatim> When I try to call this as follows: <verbatim>write(std.textio.OUTPUT, integer'image(i) & LF ) ;</verbatim> I get an error: <verbatim># ** Error: for_subtype.vhd(17): Unknown identifier "write".</verbatim> It appears that although there is a reference to std.textio.output, that the type text is not also visible. When I add the following use clause to make text visible, then the problem goes away. <verbatim>use std.textio.text ;</verbatim> It would be nice to be able to use write without having to use package textio, however, this means that we need file type declarations for file of string and we need a file open for OUTPUT. We could add new definitions in package std.standard, however, if we could move the definitions for TEXT, OUTPUT, and INPUT from std.textio to std.standard and replace the definitions in std.textio with aliases (like what we did with ieee.std_logic_textio), we could avoid having two things that mean the same thing. ---++ Use cases ---++ Language impact ---++ Non-supporters _Add your signature here to indicate non-support for this proposal._ ---++ Supporters _Add your signature here to indicate support for this proposal._
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r3 - 2020-02-17 - 15:34:56 -
JimLewis
P1076/Ballots
Log In
or
Register
P1076/Ballots Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Webs
Main
P1076
Ballots
LCS2016_080
P10761
P1647
P16661
P1685
P1734
P1735
P1778
P1800
P1801
Sandbox
TWiki
VIP
VerilogAMS
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback