Forum Discussion
Altera_Forum
Honored Contributor
10 years agoGenerating ALTPLL with the Command Line
I'd like to generate an ALTPLL block (see zip attachment) by means of a command-line tool. I'd like to say something along the lines of: "C:\altera\15.0\quartus\sopc_builder\bin\ip-generate" -...
Altera_Forum
Honored Contributor
10 years agoIt's because it's a more elaborate example. The equivalent of the batch file I posted earlier is:
altpll# (
.operation_mode("NO_COMPENSATION"),
.inclk0_input_frequency(20000), // 50 MHz
.clk0_multiply_by(1),
.clk0_divide_by (5),
.width_clock(5)
)PLL(
.inclk ({1'b0, Clk}),
.clk (Clk_Out),
.locked(Locked)
);
More importantly though: this is the only code you need. You don't need to have more HDL code to instantiate the mega-wizard generated module, as you would in my original solution.