Guest
Hello
I want to use a text file to supply signals to the two input ports in
my program. the type of input ports is std_logic_vector(14 downto 0)
the content of the file is follow
QOUT=00000011011101 IOUT=00000101001110
QOUT=00000000000000 IOUT=00000000011000
QOUT=11111101101100 IOUT=00000101110100
QOUT=00000000000000 IOUT=00000000000000
QOUT=00000010010100 IOUT=00000101110100
QOUT=00000000000000 IOUT=00000000001110
QOUT=11111110111001 IOUT=00000110001001
QOUT is the first signal IOUT is the second
the problem that I don't now how to share this string into two
separate parts
how canI use the textio package functions to realize this problem?
Thanks
I want to use a text file to supply signals to the two input ports in
my program. the type of input ports is std_logic_vector(14 downto 0)
the content of the file is follow
QOUT=00000011011101 IOUT=00000101001110
QOUT=00000000000000 IOUT=00000000011000
QOUT=11111101101100 IOUT=00000101110100
QOUT=00000000000000 IOUT=00000000000000
QOUT=00000010010100 IOUT=00000101110100
QOUT=00000000000000 IOUT=00000000001110
QOUT=11111110111001 IOUT=00000110001001
QOUT is the first signal IOUT is the second
the problem that I don't now how to share this string into two
separate parts
how canI use the textio package functions to realize this problem?
Thanks