URL
https://opencores.org/ocsvn/ft245r_interface/ft245r_interface/trunk
[/] [ft245r_interface/] [trunk/] [ft245rl_interface.vhd] - Diff between revs 5 and 6
Show entire file |
Details |
Blame |
View Log
Rev 5 |
Rev 6 |
Line 119... |
Line 119... |
-- The module enters this state on powerup or when 'reset' is low.
|
-- The module enters this state on powerup or when 'reset' is low.
|
when INIT =>
|
when INIT =>
|
delay_cnt <= 0;
|
delay_cnt <= 0;
|
current_delay <= 0;
|
current_delay <= 0;
|
c_state <= IDLE;
|
c_state <= IDLE;
|
|
data_available <= '0';
|
|
|
-- This is the "main loop"
|
-- This is the "main loop"
|
when IDLE =>
|
when IDLE =>
|
-- If this condition is true, we may safely read another byte from FT245RL's FIFO
|
-- If this condition is true, we may safely read another byte from FT245RL's FIFO
|
if(nrxf = '0' and data_available = '0')then
|
if(nrxf = '0' and data_available = '0')then
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.