Skip to content

feat: add tsop48 footprint generator - #758

Open
KrishnaX12 wants to merge 9 commits into
tscircuit:mainfrom
KrishnaX12:feat/tsop-footprint
Open

feat: add tsop48 footprint generator#758
KrishnaX12 wants to merge 9 commits into
tscircuit:mainfrom
KrishnaX12:feat/tsop-footprint

Conversation

@KrishnaX12

@KrishnaX12 KrishnaX12 commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Resolves #2 (partially, implements TSOP footprint).

This PR implements the missing TSOP (Thin Small Outline Package) footprint generator.

Since TSOP is a standard dual-row SMD package like TSSOP or SOIC, this generator uses similar parameter logic to calculate row gaps and accurately place pads.

Changes:

  • Added tsop generator in src/fn/tsop.ts with appropriate default dimensions
  • Registered tsop footprint inside src/footprinter.ts and src/fn/index.ts
  • Added test coverage for tsop48 (tsop48_w18.4_h12.4_p0.5mm) with generated SVG snapshots

Alignment Analysis (Boolean Difference):

area_2026-08-01_13-31-33

@KrishnaX12
KrishnaX12 force-pushed the feat/tsop-footprint branch from c843686 to fcb0736 Compare August 1, 2026 07:13
@KrishnaX12
KrishnaX12 force-pushed the feat/tsop-footprint branch from ebba4c6 to 2d79e4c Compare August 1, 2026 07:44
@KrishnaX12
KrishnaX12 force-pushed the feat/tsop-footprint branch 3 times, most recently from 25c5e1f to fcb0736 Compare August 1, 2026 08:13
@KrishnaX12 KrishnaX12 changed the title feat: add TSOP footprint generator feat: add tsop48 footprint generator Aug 1, 2026
@seveibar

seveibar commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Reference chip?

@KrishnaX12

Copy link
Copy Markdown
Contributor Author

@seveibar
Ref :
area_2026-08-01_21-33-04
This footprint represents the standard 48-pin TSOP-I package. It is the industry standard for NAND and NOR Flash memory ICs.
Here are two real-world reference chips that use this exact footprint:
Micron MT29F2G08ABAEA (2Gb NAND Flash)
Cypress/Spansion S29GL128S (128Mb NOR Flash)

@seveibar seveibar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong knotch size

The notch was scaling proportionally to package width (sw/6), causing an oversized marker on wide packages like TSOP-48. Capped at 0.5mm max.
@KrishnaX12
KrishnaX12 requested a review from seveibar August 1, 2026 17:25
@KrishnaX12

Copy link
Copy Markdown
Contributor Author

@seveibar
Replaced the curved notch entirely with KiCad's actual straight silkscreen tail + diagonal chamfer matching TSOP-I-48_18.4x12mm_Pitch0.5mm.kicad_mod — please re-review!

@seveibar seveibar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

worse, missing pin1 indicator in some cases

@KrishnaX12 KrishnaX12 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've visually verified the updated SVGs to confirm the Pin 1 tail is rendered correctly.

@KrishnaX12
KrishnaX12 requested a review from seveibar August 2, 2026 17:56

@rushabhcodes rushabhcodes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lg, but also take review form techmannih or seveibar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Breadth of Footprints Supported

3 participants