WajdiMuh Posted January 4, 2021 Share Posted January 4, 2021 im using a nexys 4 ddr board and im trying to send data from my pc to the board using uart i used the file uart_rx.v from https://www.nandland.com/vhdl/modules/module-uart-serial-port-rs232.html and in the top level design i connected it like this uart_rx #(.CLKS_PER_BIT(868)) reciever(.i_Clock(buzzclkwire),.i_Rx_Serial(UART_TXD_IN),.o_Rx_DV(c),.o_Rx_Byte(byte)); always @ (posedge CLK100MHZ) begin if(byte !=0) LED = 8'b11111111; end this check should light up the leds when data is sent also note when i press any letter in putty the tx led on the board lights up Link to comment Share on other sites More sharing options...
MarkSe Posted January 5, 2021 Share Posted January 5, 2021 I am not familiar with this library, but I note that you are passing in UART_TXD_IN for the i_Rx_Serial parameter. Is that the correct value to use? Link to comment Share on other sites More sharing options...
WajdiMuh Posted January 5, 2021 Author Share Posted January 5, 2021 yes but to make sure i tried both uart inputs to make sure Link to comment Share on other sites More sharing options...
Question
WajdiMuh
im using a nexys 4 ddr board and im trying to send data from my pc to the board using uart
i used the file uart_rx.v from https://www.nandland.com/vhdl/modules/module-uart-serial-port-rs232.html
and in the top level design i connected it like this
uart_rx #(.CLKS_PER_BIT(868)) reciever(.i_Clock(buzzclkwire),.i_Rx_Serial(UART_TXD_IN),.o_Rx_DV(c),.o_Rx_Byte(byte));
always @ (posedge CLK100MHZ)
begin
if(byte !=0)
LED = 8'b11111111;
end
this check should light up the leds when data is sent
also note when i press any letter in putty the tx led on the board lights up
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.