Information about testbanches

There are 3 testbenches available for this project. (testbench1,2,3.sp) To use them, do the following:

1. Make sure that your amplifier circuit is called  circuit.sp . All testbench netlists will include this subcircuit.

2. Make sure that circuit.sp , ee140_models.sp and your testbench files are all in the same directory.

3. Type 'hspice -i testbench1.sp -o testbench1' and check the .lis files for your results. (same for other testbenches)

Automated testbench processing:

1. Add testbench_dp2.py to your directory.

2. Once your circuit is fully functional (check against the testbench files available here), type:

'python testbench_dp2.py -r -e -d'.

3. Observe the results on the screen.

Files:

    testbench1.sp

    testbench2.sp

    testbench3.sp

    testbench_dp2.py

Note: You might want to  use your submitted project1 amplifier circuit (as 'circuit.sp) in order to verify your test setup.