how to use Spastan2e's dll in vhdl

Field Programmable Gate Array based computing systems

how to use Spastan2e's dll in vhdl

Postby Mastupristi » Mon Dec 06, 2004 5:53 pm

I have this:

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

Library UNISIM;
use UNISIM.vcomponents.all;

entity lupicrudi is
Port ( clk : in std_logic;
clkx2 : out std_logic;
clkout : out std_logic);
end lupicrudi;

architecture Behavioral of lupicrudi is

signal dummy: std_logic;
signal trosky: std_logic;

begin

BUFG_inst : BUFG
port map (
O => trosky, -- Clock buffer output
I => dummy -- Clock buffer input
);

clkx2 <= trosky;

CLKDLLE_inst : CLKDLLE
generic map (
CLKDV_DIVIDE => 4.0,
DUTY_CYCLE_CORRECTION => FALSE,
FACTORY_JF => X"C080",
STARTUP_WAIT => FALSE)
port map (
CLK2X => dummy,
CLKDV => clkout,
CLKFB => trosky,
CLKIN => clk,
RST => '0'
);

end Behavioral;



It doesn't work. clkx2 output is ok but clkout is always high.
what is wrong with this source?
I use an xc2s50e and ise webpack 6.3.02.

thanks


--
Mastupristi?
Mastupristi
 

Return to FPGA

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron