+ Post New Thread
Results 1 to 7 of 7
  1. #1
    Advanced Member level 5
    Points: 25,005, Level: 38
    barry's Avatar
    Join Date
    Mar 2005
    Location
    California, USA
    Posts
    4,790
    Helped
    1061 / 1061
    Points
    25,005
    Level
    38

    Quartus error 12006 'undefined entity'

    I'm using Quartus Prime Lite and generated a clock buffer IP (using ALTIOBUF). It synthesizes fine in Synplify Pro, but when I try to compile the netlist, Quartus gives the error: "Error (12006): Node instance "clk_buf_altclkctrl_0_sub_component" instantiates undefined entity "clk_buf_altclkctrl_0_sub_0". I've included the file clk_buf.qip in the Quartus project.

    My IP is instantiated here:

    Code:
    //clock buffers
    	clk_buf CK_MAIN (
    		.inclk  (clk_in),  
    		.outclk (clk)  
    	);
    
    	clk_buf CK_SPI (
    		.inclk  (spi_clk_in),  
    		.outclk (spi_clk)  
    	);
    What's going on? Do I need to include some other file in Quartus? I've got RAM IP instantiated, and that worked fine,with no extra massaging required, but when I added the clock buffer, everything blew up.

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 4
    Points: 7,905, Level: 21
    Achievements:
    7 years registered

    Join Date
    Jul 2010
    Location
    Sweden
    Posts
    1,061
    Helped
    403 / 403
    Points
    7,905
    Level
    21

    Re: Quartus error 12006 'undefined entity'

    What device are you using?
    Are both clock buffer outputs connected to physical pins on the device?



    •   AltAdvertisement

        
       

  3. #3
    Advanced Member level 5
    Points: 25,005, Level: 38
    barry's Avatar
    Join Date
    Mar 2005
    Location
    California, USA
    Posts
    4,790
    Helped
    1061 / 1061
    Points
    25,005
    Level
    38

    Re: Quartus error 12006 'undefined entity'

    It's a spartan 4. The buffer outputs go to the fabric, the inputs go to top level ports.



    •   AltAdvertisement

        
       

  4. #4
    Super Moderator
    Points: 265,324, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    46,357
    Helped
    14108 / 14108
    Points
    265,324
    Level
    100

    Re: Quartus error 12006 'undefined entity'

    I wonder what's the purpose of the clock buffers in your design? Normally, Quartus is infering buffers autimatically, you don't need to think about it.


    1 members found this post helpful.

  5. #5
    Advanced Member level 5
    Points: 25,005, Level: 38
    barry's Avatar
    Join Date
    Mar 2005
    Location
    California, USA
    Posts
    4,790
    Helped
    1061 / 1061
    Points
    25,005
    Level
    38

    Re: Quartus error 12006 'undefined entity'

    Quote Originally Posted by FvM View Post
    I wonder what's the purpose of the clock buffers in your design? Normally, Quartus is infering buffers autimatically, you don't need to think about it.
    Aha! Thanks.

    I'm a Xilinx guy. I searched a lot for any mention in the Intel docs, but didn't find much about clock buffers, but they did let me create one anyway. My whole problem stemmed from not meeting timing, so I thought I might need a clock buffer. But the actual problem was that Quartus did not import my constraints like I though it should, then, for some reason, set the default clock constraint to 1GHz then told me I didn't meet timing.



    •   AltAdvertisement

        
       

  6. #6
    Advanced Member level 5
    Points: 38,464, Level: 47
    Achievements:
    7 years registered

    Join Date
    Jun 2010
    Posts
    6,956
    Helped
    2049 / 2049
    Points
    38,464
    Level
    47

    Re: Quartus error 12006 'undefined entity'

    Spartan 4 is a Xilinx device. Quartus is an Altera tool.



  7. #7
    Advanced Member level 5
    Points: 25,005, Level: 38
    barry's Avatar
    Join Date
    Mar 2005
    Location
    California, USA
    Posts
    4,790
    Helped
    1061 / 1061
    Points
    25,005
    Level
    38

    Re: Quartus error 12006 'undefined entity'

    Quote Originally Posted by TrickyDicky View Post
    Spartan 4 is a Xilinx device. Quartus is an Altera tool.
    Sorry, Cyclone IV. See, I told you I was a Xilinx guy.



--[[ ]]--