Altera_Forum
Honored Contributor
12 years agoWhy Clk Oscillator waveform is not square in the oscilloscope?
If some body knows please help me regarding these two below questions.
1- Why board's Clock waveform is not square in the oscilloscope? As I am new I use this simple code: architecture behavior of clk isbegin
process (clk)
begin
clk_out<= clk ;
end process;
end behavior;
2- I want to create a delay in my output signals, input is clk signal and outputs are signal "a" and signal "b"? I wrote such a below code. But in the oscilloscope I don't see any delay between signal a and b? How can I create delay in Clk signal and observe in the oscilloscope? I use 50 Mhz clock frequency and therefore every signal period is 20 ns and I have to see the delay easily but there is nothing in Oscilloscope? library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity clk_delay is
port ( clk_in : in std_logic;
clk_out_a : buffer std_logic;
clk_out_b : buffer std_logic
);
end clk_delay;
architecture behav of clk_delay is
begin
p1: process (clk_in)
begin
clk_out_a <= clk_in after 5 ns;
clk_out_b <= clk_in after 15 ns;
end process;
end behav; Regards