I am experiencing problems with Fifoed-Uart, first I have tried the latest version (v13.1) and I have seen that it is not generating RX-FIFOs (I inspected the verilog files, TX-FIFOs are there, but RX-FIFOs are missing), I think it is caused by a typing error in pm file named: "em_fifoed_uart_qsys.pm"
...
#enw for fifoed uart
$use_tx_fifo = $Options->{use_tx_fifo};
$use_rx_fifo = $use_rx_fifo;
$hw_cts = $Options->{hw_cts};
$trans_pin = $Options->{trans_pin};
$fifo_size_tx = $Options->{fifo_size_tx};
$fifo_size_rx = $Options->{fifo_size_rx};
...
I think the line "$use_rx_fifo = $use_rx_fifo;" has a typing error, but when I changed it as "$use_rx_fifo = $Options->{use_rx_fifo};", I cannot make qsys generate the files. It freezes while creating the files.
After that I managed to use an earlier version (v9.3.1), everything seems fine with this one but I cannot receive first 63 chars somehow after starting up. 64th char and the following chars are OK. The first 63 chars disappear and 64th char is received like it is the first char received. But the system is all OK after that if you don't mind about this lost data.
My project is designed for communicating with MODBUS/RTU nodes (RS-485) and I am using Quartus II 64bit v13.1. So it is not possible to waste these 63 chars received in the start-up since it includes data related with a request.
My question is: Is it possible to modify some code to make fifoed-UART think that it has received 63 chars or something like that ?
Extra Info: My fifos are 256 Words (with memory elements) for both Tx and Rx, using 4 char periods Rx Timeout, fixed baudrate 9600, using the pin transmitting with MAX485.
...
#enw for fifoed uart
$use_tx_fifo = $Options->{use_tx_fifo};
$use_rx_fifo = $use_rx_fifo;
$hw_cts = $Options->{hw_cts};
$trans_pin = $Options->{trans_pin};
$fifo_size_tx = $Options->{fifo_size_tx};
$fifo_size_rx = $Options->{fifo_size_rx};
...
I think the line "$use_rx_fifo = $use_rx_fifo;" has a typing error, but when I changed it as "$use_rx_fifo = $Options->{use_rx_fifo};", I cannot make qsys generate the files. It freezes while creating the files.
After that I managed to use an earlier version (v9.3.1), everything seems fine with this one but I cannot receive first 63 chars somehow after starting up. 64th char and the following chars are OK. The first 63 chars disappear and 64th char is received like it is the first char received. But the system is all OK after that if you don't mind about this lost data.
My project is designed for communicating with MODBUS/RTU nodes (RS-485) and I am using Quartus II 64bit v13.1. So it is not possible to waste these 63 chars received in the start-up since it includes data related with a request.
My question is: Is it possible to modify some code to make fifoed-UART think that it has received 63 chars or something like that ?
Extra Info: My fifos are 256 Words (with memory elements) for both Tx and Rx, using 4 char periods Rx Timeout, fixed baudrate 9600, using the pin transmitting with MAX485.