Altera_Forum
Honored Contributor
13 years agoErrors or Warnings when using EPCS controller in hierarchical design
I have a hierarchical design with an EPCS controller instantiated in the bottom level. I am using a Cyclone IV with a 256 pin FPGA (EP4CE15F17).
In the EPCS controller there is a Conduit Endpoint named “external”. If I don’t export that Endpoint I get the following warning from Qsys “Warning: System.epcs_flash_controller_0: epcs_flash_controller_0.external must be exported, or connected to a matching conduit.” If I ignore that warning and build the design then it compiles successfully. However I can’t confirm that the configuration flash signals went to the dedicated pins in Pin Planner. If I look at all of the assignable pins in Pin Planner it doesn’t list anything connected to pin H1, which should be the DCLK signal on my package. The same is true for ASD0, Data0 and CS0. If I export the EPCS Endpoint at the lowest level then I don’t get any Qsys warnings or errors. However during fitting Quartus is mapping the exported EPCS signals to pins other than the dedicated pins. In Pin Planner this is what I see: subsytem_0_epcs_flash_controller_0_external_data0 Input PIN_P8 subsytem_0_epcs_flash_controller_0_external_dclk Output PIN_L9 subsytem_0_epcs_flash_controller_0_external_sce Output PIN_D8 subsytem_0_epcs_flash_controller_0_external_sdo Output PIN_E9 If I explicitly connect the EPCS outputs to the correct device pins, when I compile the design I get errors like this for all four EPCS signals. “Error (176310): Can't place multiple pins assigned to pin location Pin_H1 (IOPAD_X0_Y20_N14) Info (176311): Pin subsytem_0_epcs_flash_controller_0_external_dclk is assigned to pin location Pin_H1 (IOPAD_X0_Y20_N14) Info (176311): Pin ~ALTERA_DCLK~ is assigned to pin location Pin_H1 (IOPAD_X0_Y20_N14)” So I’m in a bit of a catch-22. Either I don’t export the interface and get warnings in Qsys (and no assurance that the correct connections are made during fitting), or I do export the interface and get errors or incorrect pin mapping when fitting the design in Quartus. Is there some way to confirm that the connections are made to the correct pins if I don't export them from the lower level? What can I do to either get rid of the warnings (and make sure the pin connections are made) in the first case, or get rid of the errors and extraneous connections in the second? Thanks, -phil