# harsh-avinash/dld-lab-simulations architecture

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

- Interactive diagram: https://gitdiagram.com/harsh-avinash/dld-lab-simulations
- Repository: https://github.com/harsh-avinash/dld-lab-simulations

## Overview

DLD-Lab-Simulations is a collection of LTspice digital-logic circuit designs, organized around six lab experiments and additional example circuits. Users simulate the circuit files in LTspice; the README also documents setup for the digital-logic library and an optional JK flip-flop library. The repository provides experiment PDFs alongside the circuits. No source excerpts were available, so relationships beyond the README’s stated simulator and library setup are not inferred.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_labs["Lab experiments"]
  node_combined["Combined experiments"]
  node_experiment1["Experiment 1<br/>[EXPERIMENT - 1.asc]"]
  node_experiment2["Experiment 2<br/>[EXPERIMENT - 2.asc]"]
  node_experiment3["Experiment 3<br/>[EXPERIMENT - 3.asc]"]
  node_experiment4["Experiment 4<br/>[EXPERIMENT - 4.asc]"]
  node_experiment5["Experiment 5<br/>[EXPERIMENT - 5.asc]"]
  node_experiment6["Experiment 6<br/>[EXPERIMENT - 6.asc]"]
end

subgraph group_combinational["Combinational circuits"]
  node_demux["1-to-8 demux<br/>[1 to 8 demux.asc]"]
  node_comparator["2-bit comparator"]
  node_mux1["4-to-16 mux I"]
  node_mux2["4-to-16 mux II"]
  node_encoder["8-to-3 encoder<br/>[8 to 3 Encoder.asc]"]
  node_arbitrary["Logic question"]
  node_lock["Combinational lock"]
  node_adder["Adder via mux"]
  node_gray["Gray-to-binary<br/>[Grey to binary.asc]"]
  node_parity["Parity generator"]
  node_pla["Programmable logic array"]
  node_nor["NOR universal gate"]
end

subgraph group_sequential["Sequential circuits"]
  node_counter["Async counter"]
  node_decrementer["3-bit decrementer"]
  node_jk_external["JK flip-flops"]
  node_piso["PISO shift circuit"]
  node_shift["Shift register<br/>[Shift resistor.asc]"]
  node_tjklib["T/JK flip-flops"]
end

subgraph group_support["Supporting materials"]
  node_reports["Experiment reports"]
end

node_user(("Learner"))
node_ltspice["LTspice"]
node_digital_library["Digital logic library"]
node_jk_library["JK flip-flop library"]

node_user -->|"uses"| node_ltspice
node_digital_library -->|"configures"| node_ltspice
node_jk_library -.->|"optionally configures"| node_ltspice

click node_combined "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/DLD%20Experiments%20Combined.asc"
click node_experiment1 "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/EXPERIMENT%20-%201.asc"
click node_experiment2 "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/EXPERIMENT%20-%202.asc"
click node_experiment3 "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/EXPERIMENT%20-%203.asc"
click node_experiment4 "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/EXPERIMENT%20-%204.asc"
click node_experiment5 "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/EXPERIMENT%20-%205.asc"
click node_experiment6 "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/EXPERIMENT%20-%206.asc"
click node_demux "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/1%20to%208%20demux.asc"
click node_comparator "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/2-BIT%20Comparator.asc"
click node_mux1 "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/4%20to%2016%20MUX%20(QUESTION%20I).asc"
click node_mux2 "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/4%20to%2016%20MUX%20(QUESTION%20II).asc"
click node_encoder "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/8%20to%203%20Encoder.asc"
click node_arbitrary "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/Arbituary%20Question%20(5-2)asc.asc"
click node_lock "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/Combinational%20lock%20with%2001%20as%20key.asc"
click node_adder "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/Full%20Adder%20Sum%20and%20Carry%20using%20MUXasc"
click node_gray "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/Grey%20to%20binary.asc"
click node_parity "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/Parity%20Generator%20demux.asc"
click node_pla "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/Programmable%20Logic%20Arrays.asc"
click node_nor "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/Nor%20as%20a%20universal%20gate.asc"
click node_counter "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/3%20BIT%20Asynchronous%20Counter.asc"
click node_decrementer "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/3%20BIT%20DECREMENTER.asc"
click node_piso "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/PISO%20(With%20Mux%20circuit).asc"
click node_shift "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/Shift%20resistor.asc"
click node_tjklib "https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/T%20and%20JK%20flip%20flop%20(With%20Library).asc"
click node_reports "https://github.com/harsh-avinash/dld-lab-simulations/tree/main/Documentaion"

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_combined,node_experiment1,node_experiment2,node_experiment3,node_experiment4,node_experiment5,node_experiment6 toneBlue
class node_demux,node_comparator,node_mux1,node_mux2,node_encoder,node_arbitrary,node_lock,node_adder,node_gray,node_parity,node_pla,node_nor toneAmber
class node_counter,node_decrementer,node_jk_external,node_piso,node_shift,node_tjklib toneMint
class node_reports toneRose
class node_user,node_ltspice,node_digital_library,node_jk_library toneIndigo
```

## Components

### Lab experiments

- [Combined experiments](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/DLD%20Experiments%20Combined.asc): `DLD Experiments Combined.asc`
- [Experiment 1](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/EXPERIMENT%20-%201.asc): `EXPERIMENT - 1.asc`
- [Experiment 2](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/EXPERIMENT%20-%202.asc): `EXPERIMENT - 2.asc`
- [Experiment 3](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/EXPERIMENT%20-%203.asc): `EXPERIMENT - 3.asc`
- [Experiment 4](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/EXPERIMENT%20-%204.asc): `EXPERIMENT - 4.asc`
- [Experiment 5](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/EXPERIMENT%20-%205.asc): `EXPERIMENT - 5.asc`
- [Experiment 6](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/EXPERIMENT%20-%206.asc): `EXPERIMENT - 6.asc`

### Combinational circuits

- [1-to-8 demux](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/1%20to%208%20demux.asc): `Other/1 to 8 demux.asc`
- [2-bit comparator](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/2-BIT%20Comparator.asc): `Other/2-BIT Comparator.asc`
- [4-to-16 mux I](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/4%20to%2016%20MUX%20(QUESTION%20I).asc): `Other/4 to 16 MUX (QUESTION I).asc`
- [4-to-16 mux II](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/4%20to%2016%20MUX%20(QUESTION%20II).asc): `Other/4 to 16 MUX (QUESTION II).asc`
- [8-to-3 encoder](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/8%20to%203%20Encoder.asc): `Other/8 to 3 Encoder.asc`
- [Logic question](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/Arbituary%20Question%20(5-2)asc.asc): `Other/Arbituary Question (5-2)asc.asc`
- [Combinational lock](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/Combinational%20lock%20with%2001%20as%20key.asc): `Other/Combinational lock with 01 as key.asc`
- [Adder via mux](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/Full%20Adder%20Sum%20and%20Carry%20using%20MUXasc): `Other/Full Adder Sum and Carry using MUXasc`
- [Gray-to-binary](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/Grey%20to%20binary.asc): `Other/Grey to binary.asc`
- [Parity generator](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/Parity%20Generator%20demux.asc): `Other/Parity Generator demux.asc`
- [Programmable logic array](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/Programmable%20Logic%20Arrays.asc): `Other/Programmable Logic Arrays.asc`
- [NOR universal gate](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/Nor%20as%20a%20universal%20gate.asc): `Other/Nor as a universal gate.asc`

### Sequential circuits

- [Async counter](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/3%20BIT%20Asynchronous%20Counter.asc): `Other/3 BIT Asynchronous Counter.asc`
- [3-bit decrementer](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/3%20BIT%20DECREMENTER.asc): `Other/3 BIT DECREMENTER.asc`
- **JK flip-flops**
- [PISO shift circuit](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/PISO%20(With%20Mux%20circuit).asc): `Other/PISO (With Mux circuit).asc`
- [Shift register](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/Shift%20resistor.asc): `Other/Shift resistor.asc`
- [T/JK flip-flops](https://github.com/harsh-avinash/dld-lab-simulations/blob/main/Other/T%20and%20JK%20flip%20flop%20(With%20Library).asc): `Other/T and JK flip flop (With Library).asc`

### Supporting materials

- [Experiment reports](https://github.com/harsh-avinash/dld-lab-simulations/tree/main/Documentaion): `Documentaion`

### Other components

- **Learner**
- **LTspice**
- **Digital logic library**
- **JK flip-flop library**

## Connections

- Learner → LTspice: uses (evidence: `README.md`)
- Digital logic library → LTspice: configures (evidence: `README.md`)
- JK flip-flop library → LTspice: optionally configures (evidence: `README.md`)
