Altera_Forum
Honored Contributor
13 years agohelp with altpll megafunction.
I used the Megawizard plug-in manager to create the altpll megafunction. The altpll files are included in my project and I added it as a component in my code:
(this is part of the code) component altpll0 port (sys_clk: IN STD_LOGIC; nclk: OUT STD_LOGIC); end component; BEGIN pll0: altpll0 port map (sys_clk => sys_clk, nclk => nclk); I am new to VHDL so I don't know if I'm doing this right or if this is the wrong way to include the megafunction. I get these errors when I compile: Error (10309): VHDL Interface Declaration error in hw3.vhd(79): interface object "nclk" of mode out cannot be read. Change object mode to buffer. Error (10577): VHDL error at hw3.vhd(79): actual port "nclk" of mode "out" cannot be associated with formal port "clock0" of mode "in" Error (10600): VHDL error at hw3.vhd(79): can't read value of interface object "nclk" of mode OUT