From 82cc302d01ddbd7ff64cc3ea48a9a21a90d7e7e4 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 26 Apr 2016 18:36:53 +0200 Subject: [PATCH] fixed wrong filename for VHDL package --- vhdl/{text_util.vhd => txt_util.vhd} | 29 ++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) rename vhdl/{text_util.vhd => txt_util.vhd} (96%) diff --git a/vhdl/text_util.vhd b/vhdl/txt_util.vhd similarity index 96% rename from vhdl/text_util.vhd rename to vhdl/txt_util.vhd index a0090e6..a7c942d 100644 --- a/vhdl/text_util.vhd +++ b/vhdl/txt_util.vhd @@ -1,3 +1,6 @@ +-- ------------------------------------------------------------------- +-- Design: +-- -- Package for VHDL text output -- -- Note: @@ -24,10 +27,10 @@ -- >> report "DIN = "& str(DIN)& " expected 0101 " << -- >> severity Error; << -- --------------------------------------------------------------------------------- +-- ------------------------------------------------------------------- library ieee; - use ieee.std_logic_1164.all; + use ieee.std_logic_1164.all; use std.textio.all; @@ -98,18 +101,24 @@ package txt_util is ----------- -- read variable length string from input file - procedure str_read(file in_file: TEXT; - res_string: out string); + procedure str_read( + file in_file : TEXT; + res_string : out string + ); -- print string to a file and start new line - procedure print(file out_file: TEXT; - new_string: in string); + procedure print( + file out_file : TEXT; + new_string : in string + ); -- print character to a file and start new line - procedure print(file out_file: TEXT; - char: in character); + procedure print( + file out_file : TEXT; + char : in character + ); -end txt_util; +end package; package body txt_util is -- prints text to the screen @@ -529,4 +538,4 @@ package body txt_util is end if; end loop; end str_write; -end txt_util; \ No newline at end of file +end package body; \ No newline at end of file