Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<port /> should be allowed on subcircuits to expose "nets" or ports to connected for higher level subcircuits #571

Open
seveibar opened this issue Jan 26, 2025 · 3 comments

Comments

@seveibar
Copy link
Contributor

export const RcLowPassFilter = () => (
  <subcircuit>
    <resistor 
      name="R1" 
      resistance="1.6k" 
      footprint="0603" 
      pcbX="-3mm" 
      pcbY="0mm" 
    />
    <capacitor 
      name="C1" 
      capacitance="100nF" 
      footprint="0603" 
      pcbX="3mm" 
      pcbY="0mm" 
    />
    <port name="input" pcbX="-5mm" pcbY="0mm" />
    <port name="output" pcbX="5mm" pcbY="0mm" />
    <trace from=".input" to=".R1 > .pin1" />
    <trace from=".R1 > .pin2" to=".C1 > .pin1" />
    <trace from=".C1 > .pin2" to=".output" />
  </board>
)
@seveibar
Copy link
Contributor Author

/bounty $30

Copy link

algora-pbc bot commented Jan 26, 2025

💎 $30 bounty • tscircuit

Steps to solve:

  1. Start working: Comment /attempt #571 with your implementation plan
  2. Submit work: Create a pull request including /claim #571 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to tscircuit/core!

Add a bountyShare on socials

@seveibar
Copy link
Contributor Author

p.s. i don't know how to implement this, so it's probably HARD do not start here 😁

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

No branches or pull requests

1 participant