I'm instantiating the altfp_div block in VHDL directly without using the megawizard:
LIBRARY altera_mf;
USE altera_mf.altera_mf_components.all;
...
div0: altfp_div
GENERIC MAP
(
WIDTH_EXP => FP_WIDTH_EXP,
WIDTH_MAN => FP_WIDTH_MAN,
ROUNDING => "TO_NEAREST",
REDUCED_FUNCTIONALITY => "YES",
PIPELINE => FP_DIV_PIPELINE,
EXCEPTION_HANDLING => "NO",
OPTIMIZE => FP_DIV_OPTIMIZATION
)
PORT MAP
(
clock => clk,
clk_en => calc_en,
aclr => clr,
dataa => inputs.if,
datab => inputs.rf,
result => rfDivRes
);
...
This works fine in Quartus II 9.1. The component declaration for altfp_div is in the altera_mf_components package file (comes with Quartus). I generally use this style of coding so that I can easily change any of the parameters for the div block from parameters from the parent.