Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21235 Discussions

Quartus II, unable to compile

Niko3
New Contributor I
6,485 Views

Hi,

as a beginner I am testing various simple circuits with the schematic editor, deleting parts, adding new ones.

After adding a D-Flipflop I get following compiler errors:

Error (275062): Logic function of type DFF and instance "inst" is already defined as a signal name or another logic function
Error (12153): Can't elaborate top-level user hierarchy

Error: Quartus II 64-Bit Analysis & Synthesis was unsuccessful. 2 errors, 0 warnings
Error: Peak virtual memory: 4564 megabytes
Error: Processing ended: Fri May 19 23:54:22 2023
Error: Elapsed time: 00:00:01
Error: Total CPU time (on all processors): 00:00:01
Error (293001): Quartus II Full Compilation was unsuccessful. 4 errors, 0 warnings

 

From earlier tests there seems to be some parts left which have not been deleted when deleting the corresponding parts in the schematic.

"Clean Project ..." doesn't help.

When I added the DFF in the following schematic the compile error came up.

TestSchematic.png

What can I do to get a successful compilation?

0 Kudos
1 Solution
FvM
Honored Contributor II
6,462 Views

Hello,

looking sharp helps. You somehow managed to get two instances with same name. Right mouse click on symbol properties, edit the instance name to be unique, e.g. inst1. That's it.

Regards
Frank

View solution in original post

0 Kudos
4 Replies
FvM
Honored Contributor II
6,463 Views

Hello,

looking sharp helps. You somehow managed to get two instances with same name. Right mouse click on symbol properties, edit the instance name to be unique, e.g. inst1. That's it.

Regards
Frank

0 Kudos
Niko3
New Contributor I
6,449 Views

Thank you, its so simple if you know it.

Now I know the meaning of "inst" which is printed within the symbol. But Quartus could ease the job, especially for beginners, if it automatically would generate inst's with increasing numbers, i.e. inst1, inst2, ...

0 Kudos
sstrell
Honored Contributor III
6,402 Views

It normally does.  Not sure how you got two instances with the same name like that.

0 Kudos
Nurina
Employee
6,415 Views

Hello,


I'm glad your problem has been solved.

For your information, the latest Intel Quartus Prime Standard Software has the feature of automatically naming the instances, ports, etc. with an increasing number as you have mentioned. This should also be available in the latest Intel Quartus Prime Lite Software.


Regards,

Nurina


0 Kudos
Reply