UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor mkba
Visitor
6,187 Views
Registered: ‎02-17-2009

IOBUF removed

Jump to solution

Hi!

 

When running boundary scan test on a board with a Xilinx FPGA I want an IO pin to be defined as input/output pin. I have tried to used the IOBUF but it is removed during the MAP process. I have also tried to use the KEEP constraint on the 3-state enable signal but it is still removed. How could this be done?

 

Output from Map process:

 

The signal "enable" is unused and has been removed.
 Unused block "XST_VCC" (ONE) removed.
Unused block "IOBUF_inst/OBUFT" (TRI) removed.

 

The code looks like this:

 

library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;

---- Uncomment the following library declaration if instantiating
---- any Xilinx primitives in this code.
library UNISIM;
use UNISIM.VComponents.all;

entity top_level is
    Port ( in_clk : inout  STD_LOGIC;
              out_clk : out STD_LOGIC);            
end top_level;

architecture Behavioral of top_level is
signal enable : STD_LOGIC;
attribute keep : string;
attribute keep of enable: signal is "TRUE";


begin  
    IOBUF_inst : IOBUF
    port map (
        O => out_clk, -- Buffer output
        IO => in_clk, -- Buffer inout port (connect directly to top-level port)
        I => '1', -- Buffer input
        T =>  enable -- 3-state enable input
    );   
   enable <= '1';

end Behavioral;

 

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Xilinx Employee
Xilinx Employee
7,020 Views
Registered: ‎08-02-2007

Re: IOBUF removed

Jump to solution

please try to add save flag "s"

in the ucf for in the code

 

please see Constrant guide for detailed info

------------------------------------------------------------------------------
Don't forget to reply, give kudo and accept as solution
------------------------------------------------------------------------------

View solution in original post

2 Replies
Highlighted
Xilinx Employee
Xilinx Employee
7,021 Views
Registered: ‎08-02-2007

Re: IOBUF removed

Jump to solution

please try to add save flag "s"

in the ucf for in the code

 

please see Constrant guide for detailed info

------------------------------------------------------------------------------
Don't forget to reply, give kudo and accept as solution
------------------------------------------------------------------------------

View solution in original post

Visitor mkba
Visitor
6,136 Views
Registered: ‎02-17-2009

Re: IOBUF removed

Jump to solution

Thanks for your reply. I can't understand now how I could miss that constraint.

 

 

0 Kudos