# gunarirahuld-afk/vhdl-newspaper-vending-machine architecture

> Architecture diagram of the GitHub repository gunarirahuld-afk/vhdl-newspaper-vending-machine, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-15). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/gunarirahuld-afk/vhdl-newspaper-vending-machine
- Repository: https://github.com/gunarirahuld-afk/vhdl-newspaper-vending-machine

## Overview

This is a small synchronous VHDL RTL design for a coin-operated newspaper vending machine. A customer supplies nickel and dime inputs; the FSM tracks the accumulated amount and asserts the dispense output at 15 cents. The README documents the behavior, but no RTL excerpt was provided, so the graph shows only those documented relationships.

Main entry points: [`newspaper_vending.vhd`](https://github.com/gunarirahuld-afk/vhdl-newspaper-vending-machine/blob/main/newspaper_vending.vhd) (Vending FSM)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_customer(("Customer"))
node_controller["Vending FSM"]
node_newspaper["Newspaper dispense"]

node_customer -->|"inserts coins"| node_controller
node_controller -->|"dispenses at 15¢"| node_newspaper

click node_controller "https://github.com/gunarirahuld-afk/vhdl-newspaper-vending-machine/blob/main/newspaper_vending.vhd"

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_customer,node_newspaper toneIndigo
class node_controller toneTeal
```

## Components

### Other components

- **Customer**
- [Vending FSM](https://github.com/gunarirahuld-afk/vhdl-newspaper-vending-machine/blob/main/newspaper_vending.vhd): `newspaper_vending.vhd`
- **Newspaper dispense**

## Connections

- Customer → Vending FSM: inserts coins (evidence: `README.md`)
- Vending FSM → Newspaper dispense: dispenses at 15¢ (evidence: `README.md`)
