fixed wrong filename for VHDL package

This commit is contained in:
Steffen Vogel 2016-04-26 18:36:53 +02:00
parent fbc3426dc7
commit 82cc302d01

View file

@ -1,3 +1,6 @@
-- -------------------------------------------------------------------
-- Design:
--
-- Package for VHDL text output -- Package for VHDL text output
-- --
-- Note: -- Note:
@ -24,10 +27,10 @@
-- >> report "DIN = "& str(DIN)& " expected 0101 " << -- >> report "DIN = "& str(DIN)& " expected 0101 " <<
-- >> severity Error; << -- >> severity Error; <<
-- --
-------------------------------------------------------------------------------- -- -------------------------------------------------------------------
library ieee; library ieee;
use ieee.std_logic_1164.all; use ieee.std_logic_1164.all;
use std.textio.all; use std.textio.all;
@ -98,18 +101,24 @@ package txt_util is
----------- -----------
-- read variable length string from input file -- read variable length string from input file
procedure str_read(file in_file: TEXT; procedure str_read(
res_string: out string); file in_file : TEXT;
res_string : out string
);
-- print string to a file and start new line -- print string to a file and start new line
procedure print(file out_file: TEXT; procedure print(
new_string: in string); file out_file : TEXT;
new_string : in string
);
-- print character to a file and start new line -- print character to a file and start new line
procedure print(file out_file: TEXT; procedure print(
char: in character); file out_file : TEXT;
char : in character
);
end txt_util; end package;
package body txt_util is package body txt_util is
-- prints text to the screen -- prints text to the screen
@ -529,4 +538,4 @@ package body txt_util is
end if; end if;
end loop; end loop;
end str_write; end str_write;
end txt_util; end package body;