Skip to content

Commit e5137e8

Browse files
Merge pull request #615 from ShiboSoftwareDev/main
introduce pinSpecificationDrcChecksDisabled
2 parents a45a9cb + b4f3f52 commit e5137e8

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1891,6 +1891,7 @@ export interface PlatformConfig {
18911891
netlistDrcChecksDisabled?: boolean;
18921892
routingDrcChecksDisabled?: boolean;
18931893
placementDrcChecksDisabled?: boolean;
1894+
pinSpecificationDrcChecksDisabled?: boolean;
18941895

18951896
spiceEngineMap?: Record<string, SpiceEngine>;
18961897

generated/PROPS_OVERVIEW.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,6 +1606,7 @@ export interface PlatformConfig {
16061606
netlistDrcChecksDisabled?: boolean
16071607
routingDrcChecksDisabled?: boolean
16081608
placementDrcChecksDisabled?: boolean
1609+
pinSpecificationDrcChecksDisabled?: boolean
16091610

16101611
spiceEngineMap?: Record<string, SpiceEngine>
16111612

lib/platformConfig.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export interface PlatformConfig {
7979
netlistDrcChecksDisabled?: boolean
8080
routingDrcChecksDisabled?: boolean
8181
placementDrcChecksDisabled?: boolean
82+
pinSpecificationDrcChecksDisabled?: boolean
8283

8384
spiceEngineMap?: Record<string, SpiceEngine>
8485

@@ -213,6 +214,7 @@ export const platformConfig = z.object({
213214
netlistDrcChecksDisabled: z.boolean().optional(),
214215
routingDrcChecksDisabled: z.boolean().optional(),
215216
placementDrcChecksDisabled: z.boolean().optional(),
217+
pinSpecificationDrcChecksDisabled: z.boolean().optional(),
216218
spiceEngineMap: z.record(z.string(), spiceEngineZod).optional(),
217219
footprintLibraryMap: z
218220
.record(

tests/platformConfig.drcChecksDisabled.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ test("platformConfig accepts optional DRC check disable flags", () => {
77
netlistDrcChecksDisabled: true,
88
routingDrcChecksDisabled: false,
99
placementDrcChecksDisabled: true,
10+
pinSpecificationDrcChecksDisabled: true,
1011
})
1112

1213
expect(config.drcChecksDisabled).toBe(true)
1314
expect(config.netlistDrcChecksDisabled).toBe(true)
1415
expect(config.routingDrcChecksDisabled).toBe(false)
1516
expect(config.placementDrcChecksDisabled).toBe(true)
17+
expect(config.pinSpecificationDrcChecksDisabled).toBe(true)
1618
})

0 commit comments

Comments
 (0)