Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
please i want to understand what is the purpose of this part in the receiver code
always @(posedge clk)
if(Baud8Tick)
begin
if( RxD_sync_inv[1] && RxD_cnt_inv!=2'b11) RxD_cnt_inv <= RxD_cnt_inv + 2'h1;
else
if(~RxD_sync_inv[1] && RxD_cnt_inv!=2'b00) RxD_cnt_inv <= RxD_cnt_inv - 2'h1...
yes , receive and async_tranmitter are modules in different files in my project
this code is s top level code and (sw1) is an input assigned to one of the switches in the FPGA , if the value of sw1 (or the input from switch is 1 ) the receive code is called, and if sw1==0 the...
i wrote this code
module top_rs232(sw1 , iCLK ) ;
input sw1 , iCLK ;
if(sw1==1)
begin
receive r(.clk(iCLK));
end
else
begin
async_transmitter t(.clk(iCLK));
end
endmodule
and after compilation there is an error --->>> Error (10170): Verilog HDL syntax error at...
i test my codes using a terminal program ,and it is work correct
but when i test these codes in the FPGA , the receiver fpga always light 8 leds regardless of the data i send , why???
i use rs232 cable (male to male ) , i want to know if i need to change the connection of the wires inside...
this is my verilog codes
file:///C:/Users/uni/Desktop/rs232/async_receiver.v__.htm
file:///C:/Users/uni/Desktop/rs232/async_transmitter.v__.htm
and no , i did not test it with the hiperterminal !!
what is the max232 chip ???
in the receiver FPGA , 8 leds must light or not depends on the...
hi
I m trying to communicate between two FPGA board through rs232 ,
a 1 byte is being transmitted from the board1 with a baudrate say 115200.
and the other FPGA is also configured to receive 1 byte at the same baud rate,
when 1 byte is arrived to FPGA it is arrive wrong , but when i test it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.