Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
no problem,
clock in = 50000000Hz
clock_out1 /2 = 25000000Hz, no delayed output
clock_out2 /4 = 12500000Hz, must be delayed 7ns,compare to clock_out1
Clock_out3 /10 = 5000000Hz, must be delayed 19ns, compare to clock_out1
Clock_out4 /5 = 10000000Hz, must be delayed 4ns, compare to clock_out1
I...
No, this does not work. I have the error when compiling:
Line 33. Object clock_out of mode OUT can not be read.
anyway, your proposal is only inverted signal probably.
20ns delay its only for example, but what we will do for delay 7 or 14ns?
I will be very appreciated if you give precisely...
sorry, you must not understand what exactly need for me.
clk = 45158400Hz, but this not important at all. my divider is working properly. a question in another, how to make one from clock_outS output later compare to another.
I'm thinking before this simple task, and peoples with experience give...
First, big thanks to everyone for comments.
Yes, it's XC2C64A chip.
I wanna to put hear my full code project, but I had a warning from moderator how to put a code, he sends me a link with instruction but link do not open
- - - Updated - - -
this my full code:
library IEEE;
use...
I do not use the simulator. testing on the real device checked outputs with an oscilloscope. it's always different only 1ns.
CLK = 45mhz
outputs both 22.5Mhz
the outputs are correct, but I wanna have one output more latest, for example, the latest 20ns compare to another output.
I have this code for a frequency divider
-----------------------------
begin
if (clk'event and clk='1') then
count <=count+1;
if (count = 0) then
tmp <= NOT tmp;
count <= 0;
end if;
tmp3 <= NOT tmp3 after 20 ns ;
end if;
clock_out <= tmp;
clock_out3 <= tmp3;
end process...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.