OpenCores
URL https://opencores.org/ocsvn/uart_block/uart_block/trunk

Subversion Repositories uart_block

[/] [uart_block/] [trunk/] [hdl/] [iseProject/] [uart_control.vhd] - Diff between revs 19 and 20

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 19 Rev 20
Line 199... Line 199...
                                                        done <= '0';
                                                        done <= '0';
                                                end if;
                                                end if;
                                        end if;
                                        end if;
 
 
                                        if (WE = '0') and (start = '1') then
                                        if (WE = '0') and (start = '1') then
                                                if reg_addr = "11" then
                                                case reg_addr is
 
                                                        when "11" =>
                                                        controlStates <= rx_state_wait;
                                                        controlStates <= rx_state_wait;
 
 
 
                                                        when "10" =>
 
                                                                done <= '1';
 
                                                                controlStates <= rx_tx_state;
 
 
 
                                                        when others =>
 
                                                                null;
 
                                                end case;
                                                end if;
                                                end if;
 
 
 
                                        if (start = '0') then
 
                                                done <= '0';
                                        end if;
                                        end if;
 
 
 
 
                                -- Send data and wait to transmit
                                -- Send data and wait to transmit
                                when tx_state_wait =>
                                when tx_state_wait =>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.