Circuit simulation code generation by computer algebra

  • Kia Fock Loe
  • Noritaka Ohsawa
  • Eiichi Goto
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 220)


CSCG (Circuit Simulation Code Generator) is a circuit simulator based on computer algebra system (REDUCE 3.0). Circuit specifications are given by commands which generate the Hamiltonian H and the dissipating function D of the circuit. Partial derivatives of H and D are computed symbolically by REDUCE so as to generate the equations of motion. CSCG is written in REDUCE and automatically generates FORTRAN code for numerical integration, either using Runge-Kutta or Gear's method. The partial derivatives needed in the latter method are also computed symbolically. In comparison with conventional table-driven simulators, the code generated by CSCG performs simulation much faster (similar to compiled versus interpreted code), and it is believed to be much easier to implement and to use. CSCG is now extensively used for simulations of Josephson junction circuitries.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    K. F. Loe and E. Goto, Analysis of Flux Input Output Josephson Pair Device, RIKEN Symposium on Josephson Junction Electronic (March 1984).Google Scholar
  2. 2.
    Anthony C. Hearn, REDUCE User's Manual version 3.0, The Rand Corporation, Santa Monica, CA. (April 1983).Google Scholar
  3. 3.
    D. E. McCumber, Journal of Applied Physics 39 p. 3113 (1968).CrossRefGoogle Scholar
  4. 4.
    W. C. Stewart, Applied Physics Letters 12 p. 277 (1968).CrossRefGoogle Scholar
  5. 5.
    N. Ohsawa, K. F. Loe, and E. Goto, Implementation and Applications of Circuit Simulation Code Generator, RIKEN (IPCR) Information Science Lab. (August 1984). PreprintGoogle Scholar
  6. 6.
    C. W. Gear, Numerical Initial Value Problems in Ordinary Differential Equations, Prentice-Hall, Englewood Cliffs, New Jersey (1971).Google Scholar
  7. 7.
    K. Kani and T. Ohtsuki, "Simulation Techniques for Differential Circuit Design," Journal of IECE 60(7) pp. 753–760 (1977). (in Japanese)Google Scholar
  8. 8.
    Y. Ishizaki and K. Kani, "A Survey of Computer Aided Electronics," Journal of IECE 61(7) pp. 724–730 (1978). (in Japanese)Google Scholar
  9. 9.
    J. Smit, B. J. Hulshof, and J. A. Van Hulzen, "NETFORM and Code Optimizer Manual," ACM Sigsam Bulletin 15(4)(1981).Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1986

Authors and Affiliations

  • Kia Fock Loe
    • 1
    • 2
  • Noritaka Ohsawa
    • 1
  • Eiichi Goto
    • 1
  1. 1.Faculty of Science, Dept. of Information Science, The Institute of Physical and Chemical Research, Information Science Lab.University of TokyoJapan
  2. 2.Dept. of Computer ScienceNational University of SingaporeSingapore

Personalised recommendations