test UART

Hi, All

I want to use UART to do the transmission between Matlab and FPGA board. I found one from others. I made a simple test to realize transmit data to uart and transmit back to matlab. I will write some parts codes of my test here to make sure you know what I am doing.

entity uart-top is port( sys_clock : in std_logic; PB_LEFT : in std_logic; RS232_RTS_IN : IN std_logic; RS232_RX_DATA : IN std_logic; RS232_CTS_OUT : OUT std_logic; RS232_TX_DATA : OUT std_logic ); end uart-top; COMPONENT uart115200 PORT( SYSCLK : IN std_logic; RS232_RTS_IN : IN std_logic; RS232_RX_DATA : IN std_logic; RESET : IN std_logic; READ : IN std_logic; WRITE : IN std_logic; DATAOUT : IN std_logic_vector(7 downto 0); RS232_CTS_OUT : OUT std_logic; RS232_TX_DATA : OUT std_logic; DATAIN : OUT std_logic_vector(7 downto 0); RXRDY : OUT std_logic; TXRDY : OUT std_logic; parityerr : OUT std_logic; framingerr : OUT std_logic ); END COMPONENT;

dataout

Reply to
ZHIQUAN
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.