Gpsim-logic is a simple module library that contains a 2-input AND gate and a 2-input OR gate. It consists of a shared library that is dynamically loaded. This library also illustrates how a module can drive a pin on the pic. Examples how to use the module are included.