This paper presents a case study on a logic circuit model using object-oriented programming. For this purpose a modular model is used, which maps the structure of a logic circuit. Model is created as a set of C++ objects. A module in the logic circuit structure has the corresponding object in the model. The C++ objects also implement an event-driven algorithm of simulation.