next up previous contents
Next: Example Up: .src File Format Previous: Purpose

Description

For each fault, there are two COSMOS commands given in the .src file. The first command inserts the fault site into the list of faults to simulate. The second command sets the gate of the fault transistor to the unfaulty state as given by the technology file.

This file can be executed once in COSMOS by entering the command:

> source inv.src
This would instruct COSMOS to read in the list of commands in the file inv.src. This should be done as one of the first few instructions during the COSMOS simulation. Fault simulation on the circuit can now be done by setting the inputs to the circuit according to the test pattern and then executing the COSMOS cycle command.

David Dahle Wed Jan 24 11:51:06 PST 1996