Day 5 — Linux, ngspice and RC Filter Laboratory

Learning objectives

- Organize a reproducible analog project with Git and Make. - Run ngspice operating-point, transient and AC analyses. - Produce compact evidence and a technically honest result summary.

1 Objective 2 Learn 3 Example 4 Practice 5 Verify 6 Continue
How to study this lessonUnderstand the idea first. Use the example to see the behaviour, practise where provided, then make sure you can explain the result before continuing.

Explanation

A useful analog result is more than a screenshot. It records the circuit, command, tool version, expected behaviour, measured values and deviations. Keep sources under Git, generated raw files outside Git, and use a Makefile or script so another learner can repeat the run. This course never requires a PDK copy in the repository.

Worked example

An RC low-pass repository can contain circuit/filter.sp, scripts/run.sh, scripts/plot.py, results/summary.csv, report.md, Makefile and .gitignore. The run script exits non-zero if ngspice fails or a required result is absent.

Check yourself

Why commit a compact CSV rather than the raw waveform database? It preserves review evidence while keeping the repository small and tool-independent.

Engineering practice

Laboratory: Day 5 — Linux, ngspice and RC Filter Laboratory

  1. Understand the task
  2. Run or reason
  3. Check the result
  4. Explain why

Build the Week 1 RC-filter repository. Sweep at least three decades around the pole, measure the -3 dB frequency, run a step transient and compare the measured time constant with RC. Include ngspice/Python versions, commands, a compact plot and an error table. Exclude *.raw, caches and generated logs.

Practice work is non-certified and is not stored by ASIC Campus.

Check your understanding

Week 1 — Circuits, Linux and SPICE knowledge check

Use the module knowledge check after studying the published lessons. Review every explanation before continuing.

Open knowledge check