raziyeh94
Junior Member level 1
- Joined
- Mar 26, 2015
- Messages
- 17
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 122
hello.
please help me.I have a flip flop and I make it as a component. vhdl codes write output of flip flops.but vhdl codes write initial value of output of flip flop in first line of text .I dont want it writes initial value. I want write new value in first line of text.what do i do?
a part of my codes is here.
please help me.I have a flip flop and I make it as a component. vhdl codes write output of flip flops.but vhdl codes write initial value of output of flip flop in first line of text .I dont want it writes initial value. I want write new value in first line of text.what do i do?
a part of my codes is here.
Code VHDL - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ------------------------------------------------------------------- d(1)<= transport start after f_tchoise(min)+f_tchoise(calibration); gen:for i in 1 to m generate d(i+1)<=transport d(i) after f_tchoise(min); ff1:FF port map(d(i),stop,q1(i)); q(i)<= q1(i); end generate; -------------------------------------------------------- write1:process( stop) variable check: line; file outfile: TEXT open write_mode is "data\output4.txt"; begin if (stop 'event and stop='1') then write ( check,q); writeline (outfile, check); end if; end process;
Last edited by a moderator: