Computer Modeling and Simulations of Logic Circuits
Total Page:16
File Type:pdf, Size:1020Kb
I.J. Modern Education and Computer Science, 2016, 12, 31-37 Published Online December 2016 in MECS (http://www.mecs-press.org/) DOI: 10.5815/ijmecs.2016.12.05 Computer Modeling and Simulations of Logic Circuits Gergana Kalpachka South-West University „Neofit Rilski“, Blagoevgrad, 2700, Republic of Bulgaria Email: [email protected] Abstract—In thе article are presented possibilities of AutoCAD, Electronics Workbench MultiSim, Protel, computer modeling and simulations of logic circuits Logisim, Logic Circuit, etc. using the software CircuitMaker. CirciutMaker is one of The actuality of this article is determined by global the widely used software product for quick and easy trends in the development of: synthesis and simulating the work of the various electronic circuits. By using CirciutMaker are created the automation of circuit design; logical elements and synthesized logic circuits such as the computer modeling of various electronic decoders, multiplexers, counters, programmable logic circuits; device, etc., that allow conducting computer simulations the computer simulations and optimization of and experiments to solve specific experimental tasks. The projects; work of the shown circuits is illustrated with the time- the computer processing and visualization of results. impulse diagrams. The application of the software product CirciutMaker for students who study the course In this article are presented possibilities of computer „Analysis and synthesis of logic circuits“ is also modeling and simulations of logic circuits using the considered. The computer modeling and the simulations software product CircuitMaker. The application of this of logic circuits can be used in the lectures and in the software for students who study the course „Analysis and laboratory exercises on the course „Analysis and synthesis of logic circuits“ is also considered in the article. synthesis of logic circuits“ to conduct computer (virtual) In section II of the article is presented briefly the interactive experiments. software product Circuit Maker. Main possibilities for its use in the computer modeling and simulations of logic Index Terms—Computer Modeling, Computer circuits are described. In this section are presented Simulations, CircuitMaker, Logic Circuits, Analysis and created logic elements and synthesized logic circuits such Synthesis of Logic Circuits. as decoders, multiplexers, counters and other using CirciutMaker. In section III of the article are presented application I. INTRODUCTION possibilities of the software product CircuitMaker in Continuous development and improvement of the teaching on the course „Analysis and synthesis of logic computer systems and the application software allows circuits“. The software product CircuitMaker can be used their use in to solve various tasks and problems of in the lectures and in the laboratory exercises for activity and life of contemporary person. computer modeling and simulations of logic elements and Computer modeling is mathematical modeling, which circuits. uses computer tools to create models and to conduct In section IV of article the main conclusions that are computer (virtual) interactive experiments with them. formulated are presented. Computer equipment and software (universal and The references on the subject of the article are specialized) are the most important parts of computer presented in section V. The used literature is in English modeling. and in Cyrillic. Different computer configurations and software products are created for use in certain areas – science, technique, education, healthcare, manufacturing and II. COMPUTER MODELING AND SIMULATIONS OF LOGIC others. CIRCUITS USING THE SOFTWARE PRODUCT In the area of computer modeling of analog, digital and CIRCUITMAKER analog-digital circuits there is a huge variety of CirciutMaker is one of the most used software for interactive environments, enabling synthesis, simulating synthesis and simulating of analog, digital and analog- and testing various modules, blocks, devices and others. digital circuits. This facilitates the synthesis of new electronic circuits. CirciutMaker provides opportunities for quick and easy Interactive environments with such applications are: design of electronic circuits, testing their work and CircuitMaker, OrCAD PSpice, CADSTAR, LabVIEW, visualizing and tracking the signals from inputs to outputs of circuits, etc. [1]; [2]; [3]. Copyright © 2016 MECS I.J. Modern Education and Computer Science, 2016, 12, 31-37 32 Computer Modeling and Simulations of Logic Circuits The software product CircuitMaker supports two On Fig. 2 is shown a synthesized logic circuit of a modes of simulations – analog and digital. decoder with four inputs and seven outputs (de 7447, Fig. The software product CircuitMaker allows simulations 3). Its outputs are connected to the seven-segment when analog and digital elements are included in one indicator, and on its inputs the signals are from the circuit. outputs of the binary counters for example [4]; [5]; [6]; In computer modeling and simulations of logic circuits [7]; [8]; [9]. CircuitMaker can be used for: On Fig. 3 are shown some of the additional logic elements created as macros: multiplexers 2:1 and 4:1, synthesis of logic circuits by using finished decoder with three inputs and eight outputs, decoder with elements included in program item „Library“ or four inputs and seven outputs. by synthesis the necessary logic elements and their For conducting computer simulations of logic circuits inclusion in the „User library“; in the software product CircuitMaker is used digital study of the work of logic elements and circuits by simulations mode, because it aims measuring and conducting computer simulations; researching of digital parameters. In digital simulation observation of internal transition states and mode important are only the logical levels of the signals processes; in the logic circuits. computer processing and presentation of the The digital simulations mode offers a variety of results (for example, by time-impulse diagrams, options: etc.), derived from computer experiments. running the simulations step by step with options CirciutMaker supports an extensive library of analog for determining the size of the step; and digital elements which are necessary for the synthesis visualizing the signal levels by connecting LEDs or of various electronic circuits. It also supports finished oscilloscopes to certain points; exemplary circuits of certain electronic devices such as visualizing the changes in the signals at different counters, security alarms, optocouplers, etc. The available points of the circuits by time-impulse diagrams, etc. items are organized into groups by name or purpose (Fig. 1). Integrated circuits and logic elements do not have pins CirciutMaker enables creation of new elements and for supply voltage and grounding, so that their unrelated adding them into libraries with other elements. Creating a to them does not prevent the conduct of simulations. new element involves the following stages: synthesis of While conducting computer simulations of logic its circuit (Fig. 2), simulating of his work, creating a circuits activities are summarized as follows: character by which the element is named in the program (Fig. 3). Adding an item to the libraries is accomplished set the values of the input signals (variables); by saving it as a macro with a name and choosing the conducting a series of simulations to achieve the category in which to be involved. objectives; Fig.1. Screen of CirciutMaker (Device Selection). Copyright © 2016 MECS I.J. Modern Education and Computer Science, 2016, 12, 31-37 Computer Modeling and Simulations of Logic Circuits 33 observation of internal transition states and logic level signals at inputs and outputs of a logic processes; element or circuit, etc.; analyzing the information displayed on the screen recording of the obtained results; during the simulations and then in the form of a analysis and interpretation of the results and time-impulse diagram at one point, as high or low formulating conclusions. Fig.2. A logic circuit of a decoder with four inputs and seven outputs. Fig.3. Logic elements created as macros. Copyright © 2016 MECS I.J. Modern Education and Computer Science, 2016, 12, 31-37 34 Computer Modeling and Simulations of Logic Circuits As a result of the actual application of the software On Fig. 6 is shown a logic circuit of a programmable product CircuitMaker are synthesized various logic logic device and its simulation in a random moment of circuits that allow conducting computer simulations and time. The synthesized programmable logic device experiments to solve specific tasks. Logic elements, includes AND-matrix and OR-matrix. With it can be electronic devices from the library of CircuitMaker and realized logic circuits of systems with three logical macros created as additional elements are used for these functions of three variables. purposes. Opportunities offered by the software product The software product CircuitMaker allows storage of CircuitMaker for computer modeling and simulations of synthesized logic circuits and, if necessary, their structure logic circuits, significantly reduce the time for synthesis can be edited. and study of their work. On Fig. 4 is shown a logic circuit of a reversible binary trigger counter of impulses with random coefficient of division and its simulation in a random moment of time. III. APPLICATION OF THE SOFTWARE PRODUCT In this case the counter operates as