Site Search

Hello. It's a plum rice ball.
I've been getting a lot of questions about configuration lately.

The other day, I received a question, "What are the Altera configuration ROMs?"
Altera offers two types of configuration ROM: EPCS® and EPCQ®.

This time, I will study the difference between these two types and the precautions when using them.

What's the difference?

There are two major differences between EPCS and EPCQ.
The first is memory capacity. As shown in the figure below, EPCQ has a larger capacity overall.

The second is the bit width of the data transfer. Since EPCS is Serial, the data width is 1 bit, and EPCQ is Quad, so the data width is 4 bits (1 bit is also possible).
Therefore, if the memory capacity is the same and the data transfer clock frequency is the same, configuration time can be shortened by transferring data with a 4-bit data width using EPCQ.

EPCQ can transfer not only 4-bit data but also 1-bit data transfer. Also, EPCS and EPCQ are pin compatible.

If you look closely at the diagram, you can see that the EPCS and EPCQ have slightly different pin names.
DATA (EPCS) is DATA1 (EPCQ) and ASDI (EPCS) is DATA0 (EPCQ).
The name of the pin is different, but there is no problem, so please feel free to use it.

Let's actually use EPCQ!

In the production practice during training, I used EPCS to configure in AS mode.
Let's actually try to configure this EPCS as an EPCQ.

By the way, Cyclone® IV is mounted on the board of the production practice. Quartus® II 13.0 was used so that the conditions were the same as in the hands-on lab.
Easy to work with. Just replace the device and write data to EPCQ. When the writing is completed, turn off the power of the board once and then turn on the power again.

that? Configuration will not complete! My design worked fine when I wrote it to EPCS, but it doesn't work...
I generated the pof file to write to EPCQ as usual.
Plum rice balls that are impatient.

So I asked my senior about it.

Me: "I can't configure in AS mode using EPCQ"

Senior: “Did you turn on “Disable EPCS ID check” when generating the programming file?”

Me: "What? That?"


It seems that "Disable EPCS ID check" needs to be turned on when using EPCQ in AS mode.
Altera's Knowledge Data Base also had a mention of this.

Turn on “Disable EPCS ID check” from Convert Programming Files → Advanced.

After generating the pof file with "Disable EPCS ID check" turned on, writing to it worked fine.
Operation confirmation completed!

Summary

EPCS and EPCQ are pin compatible and can be replaced. Don't forget to turn on “Disable EPCS ID check” when actually using EPCQ in AS mode.