Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

^ Carrot/series operator tests #20

Open
amstan opened this issue Mar 25, 2020 · 2 comments
Open

^ Carrot/series operator tests #20

amstan opened this issue Mar 25, 2020 · 2 comments
Labels
good first issue Good for newcomers test Something wrong or not covered in the test suites

Comments

@amstan
Copy link
Contributor

amstan commented Mar 25, 2020

Similar to CBOLD's ^ operator.

Instead of:
vcc << R(to=C(to=gnd))
We could have:
vcc ^ R() ^ C() ^ gnd

@amstan amstan added feature request New feature, request or enhancement jim Stuff that we need working for Jim labels Mar 25, 2020
@kiavash-at-work
Copy link
Contributor

Yes! ^ nomenclature is more clear and less complex.

amstan added a commit that referenced this issue Apr 14, 2020
Jellybean components, besides the existing to= can now be sprinkled
in code using the ^ series operator:
vcc ^ R("10k") ^ another_net ^ R("10k") ^ gnd

Also improved the documentation for JellyBean, including this new operator.

BUG=Closes Issue #20
TEST=See voltage_divider.py
TEST=To follow in test/
@amstan
Copy link
Contributor Author

amstan commented Apr 14, 2020

This is done. Should probably write some tests though.

@amstan amstan added good first issue Good for newcomers test Something wrong or not covered in the test suites and removed feature request New feature, request or enhancement jim Stuff that we need working for Jim labels Apr 14, 2020
@amstan amstan changed the title ^ Carrot/series operator ^ Carrot/series operator tests Apr 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers test Something wrong or not covered in the test suites
Projects
None yet
Development

No branches or pull requests

2 participants