Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

Quartus Prime Lite - Difficulties with simulation

Hi all,

I am trying to figure out what I am doing wrong with simulations involving Altera IP.... Below is my incredibly simple design to show off the issue I am having. I pipe a clock into a PLL generated through the wizard, and watch the clock and locked outputs.

As you can see from the simulation the lock remains low, and the clock output is in an unknown state. I don't see any warnings or errors in modelsim.

Any help would be greatly appreciated.


library ieee;
use ieee.std_logic_1164.all;
entity top is
    port 
    (
        inclk0        : in std_logic;
        c0    : out std_logic;
        locked        : out std_logic
    );
end entity;
architecture rtl of top is
    component pll0
        PORT
        (
            inclk0        : IN STD_LOGIC  := '0';
            c0        : OUT STD_LOGIC ;
            locked        : OUT STD_LOGIC 
        );
    end component;
begin
    pll0_inst : pll0 PORT MAP (
            inclk0     => inclk0,
            c0     => c0,
            locked     => locked
        );
end rtl;

https://alteraforum.com/forum/attachment.php?attachmentid=14807&stc=1

17 Replies