aboutsummaryrefslogtreecommitdiffstats
path: root/src/grt/grt-astdio-vhdl.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-12-16 08:03:37 +0100
committerTristan Gingold <tgingold@free.fr>2018-12-16 14:07:04 +0100
commit42e2e02a5f0d0e305561b44984a41391b04c157d (patch)
tree6d5ff943da0e064f41cdecb0214942bbd9978bac /src/grt/grt-astdio-vhdl.ads
parentb268324b35da6e949c610e9cc3feb56596a8e17b (diff)
downloadghdl-42e2e02a5f0d0e305561b44984a41391b04c157d.tar.gz
ghdl-42e2e02a5f0d0e305561b44984a41391b04c157d.tar.bz2
ghdl-42e2e02a5f0d0e305561b44984a41391b04c157d.zip
Extract grt.astdio.vhdl from grt.astdio.
Diffstat (limited to 'src/grt/grt-astdio-vhdl.ads')
-rw-r--r--src/grt/grt-astdio-vhdl.ads38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/grt/grt-astdio-vhdl.ads b/src/grt/grt-astdio-vhdl.ads
new file mode 100644
index 000000000..e6b20b925
--- /dev/null
+++ b/src/grt/grt-astdio-vhdl.ads
@@ -0,0 +1,38 @@
+-- GHDL Run Time (GRT) stdio subprograms for GRT types.
+-- Copyright (C) 2002 - 2014 Tristan Gingold
+--
+-- GHDL is free software; you can redistribute it and/or modify it under
+-- the terms of the GNU General Public License as published by the Free
+-- Software Foundation; either version 2, or (at your option) any later
+-- version.
+--
+-- GHDL is distributed in the hope that it will be useful, but WITHOUT ANY
+-- WARRANTY; without even the implied warranty of MERCHANTABILITY or
+-- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+-- for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with GCC; see the file COPYING. If not, write to the Free
+-- Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+-- 02111-1307, USA.
+--
+-- As a special exception, if other files instantiate generics from this
+-- unit, or you link this unit with other files to produce an executable,
+-- this unit does not by itself cause the resulting executable to be
+-- covered by the GNU General Public License. This exception does not
+-- however invalidate any other reasons why the executable file might be
+-- covered by the GNU Public License.
+
+package Grt.Astdio.Vhdl is
+ pragma Preelaborate (Grt.Astdio.Vhdl);
+
+ -- Display time with unit, without space.
+ -- Eg: 10ns, 100ms, 97ps...
+ procedure Put_Time (Stream : FILEs; Time : Std_Time);
+
+ -- Put STR using put procedures.
+ procedure Put_Str_Len (Stream : FILEs; Str : Ghdl_Str_Len_Type);
+
+ -- Put " to " or " downto ".
+ procedure Put_Dir (Stream : FILEs; Dir : Ghdl_Dir_Type);
+end Grt.Astdio.Vhdl;