D
dcreddy1980
Guest
i have to delay the input data(X) by some number of clock periods depending
up on the signal tmp.
architecture behaviour of test
signal tmp : integer := 3;
signal clcokperiod : time := 2 ns;
begin
Y <= X after tmp*clockperiod; ---so, the o/p is obtained after 6 ns
end behaviour;
X and Y are bits(STD_LOGIC).i dont want to have the above code...because i
am setting the clock period on my own..could any one help me in getting the
same behaviour in a different way.
thanks in advance
dcreddy
up on the signal tmp.
architecture behaviour of test
signal tmp : integer := 3;
signal clcokperiod : time := 2 ns;
begin
Y <= X after tmp*clockperiod; ---so, the o/p is obtained after 6 ns
end behaviour;
X and Y are bits(STD_LOGIC).i dont want to have the above code...because i
am setting the clock period on my own..could any one help me in getting the
same behaviour in a different way.
thanks in advance
dcreddy