--- Quote Start ---
There isn't a megawizard for the CRC configuration verification function. To access the CRC_ERROR function internally, you'll need to manually instantiate the <device>_crcblock primitive (cycloneiii_crcblock, for example). The verilog instance is in the app note, the VHDL component (for cyclone III) looks like this:
component cycloneiii_crcblock
generic (
lpm_type : string := "cycloneiii_crcblock" );
port(
clk : in std_logic := '0';
crcerror : out std_logic;
ldsrc : in std_logic := '0';
regout : out std_logic;
shiftnld : in std_logic := '0'
);
end component;
This one was found in the cycloneiii_components.vhd file in the ...\quartus\libraries\vhdl\wysiwyg directory in your installation directories.
Once you instantiate this in your code, connect the crc_error port to a bidirectional pin. You can then use the input function of that pin to access the CRC_ERROR signal in your design. I don't think Quartus will let you access CRC_ERROR any other way, since there's a dedicated path from the error detection logic to the I/O cell, so it had to pass through a bidir pin before being available in the FPGA fabric.
I hope that helps.
--- Quote End ---
Yes, this helps. Though I don't understand why this isn't directly documented by Altera.
Also, can I connect it to *any* bidir pin or only the crc_error out pin? If there's a dedicated path to a IO cell I'd guess I'm limited to the actual crc_error pin.