05.07.2013 Views

Xilinx Synthesis Technology User Guide

Xilinx Synthesis Technology User Guide

Xilinx Synthesis Technology User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FPGA Optimization<br />

for registers only. It is not supported for RAM descriptions. In the<br />

following VHDL example, a 4-bit register is inferred for signal "tmp".<br />

INIT value equal "1011" is attached to the inferred register and<br />

propagated to the final netlist.<br />

library ieee;<br />

use ieee.std_logic_1164.all;<br />

entity test is<br />

port ( CLK : in std_logic;<br />

DI : in std_logic_vector(3 downto 0);<br />

DO : out std_logic_vector(3 downto 0)<br />

);<br />

end test;<br />

architecture beh of test is<br />

signal tmp: std_logic_vector(3 downto<br />

0):="1011";<br />

begin<br />

process (CLK)<br />

begin<br />

if (clk'event and clk='1') then<br />

tmp

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!