# Electronic – Drawing circuits with IC pinout diagrams

digital-logicintegrated-circuitsoftware

I am not sure whether this community or the tex.sx is the most appropriate for my question.

I have an assignement where I am given a boolean expression and I have to implement these expressions using a predifined list of Integrated circuits.
For example: $$\ f= xy + z\$$ and I have a 4071 OR IC as well as a 4081 AND IC at my disposal.

When drawing $$\f\$$ as a circuit diagram, I want to use the IC pinout configuration diagrams (like the ones on the image below) and show all the external connections from each pin. That way, I am confident that my approach is clear.

The problem is that I don't know which software allows to draw circuits along with IC pinout configuration diagrams. Or, is there a latex package somewhere that can deal with this? I will mostly use the 4000 CMOS series so I only need that range of diagrams.