I came across the Xilinx application xapp223 for the implementation of the UART cores. I have been trying various implementations of UART transmitter cores and I am trying to implement this macro on a Xilinx Virtex-II Pro 7 FPGA FF672 board. Now, I am using a 100 MHz clock, which gets divided by 162 to provide the exact clock for a baud rate of
38,400. I have also declared the uart_tx as a black box as per the README file. However, the design has a lot of errors during the mapping stage and I am not able to figure out the errors as I am not able to open the .EDN file. The sample errors I faced are:ERROR:Map:6 - Bad format for RLOC constraint "R0C0.S1" on FDRE symbol "U1/$I1" (output signal=U1/A). ERROR:Map:6 - Bad format for RLOC constraint "R0C0.S1" on XORCY symbol "U1/$I10" (output signal=U1/SUM_A2). ERROR:Map:6 - Bad format for RLOC constraint "R6C0.S0" on LUT4 symbol "U1/$I105" (output signal=U1/$Net00113_). ERROR:Map:6 - Bad format for RLOC constraint " R6C0.S0" on FD symbol "U1/$I106" (output signal=U1/TX_RUN). ERROR:Map:6 - Bad format for RLOC constraint "R6C0.S0" on FD symbol "U1/$I107" (output signal=U1/TX_START). ERROR:Map:6 - Bad format for RLOC constraint "R6C0.S0" on LUT4 symbol "U1/$I108" (output signal=U1/$Net00151_). ERROR:Map:6 - Bad format for RLOC constraint "R0C0.S1" on MUXCY symbol "U1/$I11" (output signal=U1/CY_A2).
My ucf file for the top module is very simple: NET clk LOC= D13; NET tx_rs232 LOC=AC6; NET wrn LOC=E7; NET bfull LOC=D6;
My top file declaration: entity rs232_test_top is port( clk : in std_logic; wrn : in std_logic; bfull : out std_logic; tx_rs232 : out std_logic); end rs232_test_top;
I am guessing that the component uart_tx is not being compiled/synthesized by Xilinx ISE. Please let me know if there are any solutions. Thank you, Vivek