Skip to content

Commit

Permalink
Set WIRE to use auto-generated designator
Browse files Browse the repository at this point in the history
  • Loading branch information
formatc1702 committed Oct 22, 2020
1 parent 68ac327 commit 5a7c684
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/test1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ cables:
connections:
-
- JSTMALE.X1: [1-4] # use `.` syntax to generate a new instance of JSTMALE, named X1
- CABLE.W1: [1-4] # same syntax for cables
- CABLE.W1: [1-4] # same syntax for cables
- [S., S., S.S1, S.] # splice W1 and W2 together; only wire #3 needs a user-defined designator
- CABLE.W2: [1-4]
- JSTFEMALE.X2: [1-4]
Expand All @@ -46,5 +46,6 @@ connections:
-
- S1: [1] # reuse previously generated splice
# TODO: Make it work with `- F1` only, making pin 1 is implied
- WIRE.W4: [1] # TODO: Make it work with `- W.W4: 1`, dropping the need for `[]`
- WIRE.: [1] # We don't care about a simple wire's designator, auto-generate please!
# TODO: Make it work with `- W.W4: 1`, dropping the need for `[]`
- X2: [4]

0 comments on commit 5a7c684

Please sign in to comment.