# b23zyt/ece298a-senseamp architecture

> Architecture diagram of the GitHub repository b23zyt/ece298a-senseamp, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/b23zyt/ece298a-senseamp
- Repository: https://github.com/b23zyt/ece298a-senseamp

## Overview

This repository appears to be a Tiny Tapeout hardware project centered on differential-amplifier designs, with Verilog project configuration alongside analog schematics, SPICE files, and physical-layout artifacts. The README documents a configuration-to-Verilog project setup, but provides no details on how the analog designs relate to the Verilog or to one another. With no source excerpts, the graph shows the identifiable design artifacts without asserting unsupported calls or data flows.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_project["Project definition"]
  node_project_config["Project configuration<br/>[info.yaml]"]
  node_verilog["Verilog design<br/>[project.v]"]
end

subgraph group_analog["Analog designs"]
  node_sense_amp["Sense amplifier<br/>[Sense_Amp.asc]"]
  node_sense_alt["Alternate sense amp"]
  node_mirror_schematic["Mirror-load schematic"]
  node_simulation_schematic["Simulation schematic<br/>[Magic_sim.sch]"]
  node_spice_design["Differential amp SPICE<br/>[diff_amp.spice]"]
  node_spice_testbench["SPICE testbench<br/>[tb.spice]"]
end

subgraph group_physical["Physical layout"]
  node_layout_data["Amplifier layout data"]
  node_layout_gds["Amplifier GDS"]
  node_magic_layout["Alternate layout data<br/>[diff_amp.mag]"]
end

click node_project_config "https://github.com/b23zyt/ece298a-senseamp/blob/main/info.yaml"
click node_verilog "https://github.com/b23zyt/ece298a-senseamp/blob/main/src/project.v"
click node_sense_amp "https://github.com/b23zyt/ece298a-senseamp/blob/main/LTspice/Sense_Amp.asc"
click node_sense_alt "https://github.com/b23zyt/ece298a-senseamp/blob/main/LTspice/Sense_amp_alternate.asc"
click node_mirror_schematic "https://github.com/b23zyt/ece298a-senseamp/blob/main/magic_xschem_ngspice/DiffAmpMirrorLoad.sch"
click node_simulation_schematic "https://github.com/b23zyt/ece298a-senseamp/blob/main/magic_xschem_ngspice/Magic_sim.sch"
click node_spice_design "https://github.com/b23zyt/ece298a-senseamp/blob/main/magic_xschem_ngspice/diff_amp.spice"
click node_spice_testbench "https://github.com/b23zyt/ece298a-senseamp/blob/main/magic_xschem_ngspice/tb.spice"
click node_layout_data "https://github.com/b23zyt/ece298a-senseamp/blob/main/layout/tt_ram_diff_amp.mag"
click node_layout_gds "https://github.com/b23zyt/ece298a-senseamp/blob/main/layout/tt_ram_diff_amp.gds"
click node_magic_layout "https://github.com/b23zyt/ece298a-senseamp/blob/main/magic_xschem_ngspice/diff_amp.mag"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_project_config,node_verilog toneBlue
class node_sense_amp,node_sense_alt,node_mirror_schematic,node_simulation_schematic,node_spice_design,node_spice_testbench toneAmber
class node_layout_data,node_layout_gds,node_magic_layout toneMint
```

## Components

### Project definition

- [Project configuration](https://github.com/b23zyt/ece298a-senseamp/blob/main/info.yaml): `info.yaml`
- [Verilog design](https://github.com/b23zyt/ece298a-senseamp/blob/main/src/project.v): `src/project.v`

### Analog designs

- [Sense amplifier](https://github.com/b23zyt/ece298a-senseamp/blob/main/LTspice/Sense_Amp.asc): `LTspice/Sense_Amp.asc`
- [Alternate sense amp](https://github.com/b23zyt/ece298a-senseamp/blob/main/LTspice/Sense_amp_alternate.asc): `LTspice/Sense_amp_alternate.asc`
- [Mirror-load schematic](https://github.com/b23zyt/ece298a-senseamp/blob/main/magic_xschem_ngspice/DiffAmpMirrorLoad.sch): `magic_xschem_ngspice/DiffAmpMirrorLoad.sch`
- [Simulation schematic](https://github.com/b23zyt/ece298a-senseamp/blob/main/magic_xschem_ngspice/Magic_sim.sch): `magic_xschem_ngspice/Magic_sim.sch`
- [Differential amp SPICE](https://github.com/b23zyt/ece298a-senseamp/blob/main/magic_xschem_ngspice/diff_amp.spice): `magic_xschem_ngspice/diff_amp.spice`
- [SPICE testbench](https://github.com/b23zyt/ece298a-senseamp/blob/main/magic_xschem_ngspice/tb.spice): `magic_xschem_ngspice/tb.spice`

### Physical layout

- [Amplifier layout data](https://github.com/b23zyt/ece298a-senseamp/blob/main/layout/tt_ram_diff_amp.mag): `layout/tt_ram_diff_amp.mag`
- [Amplifier GDS](https://github.com/b23zyt/ece298a-senseamp/blob/main/layout/tt_ram_diff_amp.gds): `layout/tt_ram_diff_amp.gds`
- [Alternate layout data](https://github.com/b23zyt/ece298a-senseamp/blob/main/magic_xschem_ngspice/diff_amp.mag): `magic_xschem_ngspice/diff_amp.mag`
