1
\$\begingroup\$

Say, for example, you design a circuit module that contains one op amp. Four instances of this module are in your schematic. From a PCB design perspective (for reasons of reducing BOM cost or board area), it may be desirable to have each of these modules use a single op amp from a shared quad op amp device, as opposed to using four single op amp devices.

Of course, it is possible to do this by having the op amps external to and at a higher level than the module. But this can cause some confusion in the schematic.

Is it possible to configure a module and/or device such that eagle will automatically allocate gates from shared multi-gate components from within modules as necessary?

\$\endgroup\$
1
  • \$\begingroup\$ (Not knowing that latest eagle feature, only the predecessors: Have you tried to INVOKE the 2nd, 3rd, 4th gate of the OP in question inside the modules?) \$\endgroup\$
    – Janka
    Oct 16, 2016 at 23:05

1 Answer 1

1
\$\begingroup\$

If you are going to use an existing part, then you must pick a part that has multiple gates, such as the quad op-amp LM324. Click the Add icon from the toolbar (below the wrench) and select your desired part and package. Then each time you click on the schematic, one gate will be added:

enter image description here

To get the power pins, right-click one of the gates and issue the Invoke command:

enter image description here

and select the PWR+- line. This will place the + and - power pins on the page:

enter image description here

You can also use the Invoke command to add additional gates from the device, if you didn't do so all at once when initially adding the part.

On the other hand, if you are going to create a new part in the a library that has multiple gates, then you simply add the same gate as many times as needed at the device level, for example choosing a OPAMP symbol four times like this, and then choosing the PWR+- symbol and place it over the first OPAMP symbol:

enter image description here

Note that the PWR+- symbol is added with the Add Level "request". The other gates are automatically added with the Add Level "next".

Of course you can add custom symbols as needed before creating the device.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.