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

Commit

Permalink
Lib: SP3243E_Ref
Browse files Browse the repository at this point in the history
  • Loading branch information
iopapamanoglou committed Nov 13, 2024
1 parent d350c90 commit 609a57c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/faebryk/library/SP3243E_ReferenceDesign.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __preinit__(self):
self.sp3243e.voltage_doubler_charge_pump_power,
self.sp3243e.inverting_charge_pump_power,
]:
cap = pwr.decoupled.decouple()
cap = self.add(F.Capacitor())
# TODO: min values according to self.power.voltage
# 3.0V to 3.6V > C_all = 0.1μF
# 4.5V to 5.5V > C1 = 0.047µF, C2,Cvp, Cvn = 0.33µF
Expand All @@ -46,9 +46,5 @@ def __preinit__(self):
L.Range.from_center(0.22 * P.uF, 0.22 * 0.05 * P.uF)
)

# if isinstance(pwr.voltage.get_most_narrow(), F.TBD):
# pwr.voltage.constrain_subset(
# L.Single(8 * P.V)
# # L.Range.lower_bound(16 * P.V)
# ) # TODO: fix merge
# # TODO: merge conflict
pwr.voltage.constrain_superset(L.Range(0 * P.V, 16 * P.V))
cap.max_voltage.constrain_ge(16 * P.V)

0 comments on commit 609a57c

Please sign in to comment.