changeset 31:d0b6c4915397

Venus MCL: use new ipc-diode.pinout, add SS34 for charging
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 21 Nov 2021 08:58:43 +0000
parents 74a89c0a6466
children 85fbd582af88
files venus/src/MCL venus/src/core/int_vcxo_passive.v venus/src/pinouts/HVC375B.pinout venus/src/pinouts/LED.pinout venus/src/pinouts/ipc-diode.pinout venus/src/primitives
diffstat 6 files changed, 17 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/venus/src/MCL	Sun Nov 21 08:40:13 2021 +0000
+++ b/venus/src/MCL	Sun Nov 21 08:58:43 2021 +0000
@@ -480,7 +480,7 @@
  vendor=Digi-Key
  vendor_part_number=511-1578-1-ND
  footprint=file:LED__Rohm_SML-D12x8
- pinout=LED.pinout
+ pinout=ipc-diode.pinout
  npins=2
 
 part yellow-led:
@@ -490,7 +490,7 @@
  vendor=Digi-Key
  vendor_part_number=511-1582-1-ND
  footprint=file:LED__Rohm_SML-D12x8
- pinout=LED.pinout
+ pinout=ipc-diode.pinout
  npins=2
 
 part red-led:
@@ -500,7 +500,7 @@
  vendor=Digi-Key
  vendor_part_number=511-1580-1-ND
  footprint=file:LED__Rohm_SML-D12x8
- pinout=LED.pinout
+ pinout=ipc-diode.pinout
  npins=2
 
 D200:
@@ -509,7 +509,7 @@
  manufacturer_part_number=HVC375BTRF-E
  description=Varactor diode for VCXO
  hier=mob.core.rf.Rita_vcxo.vcxo_passive.D200
- pinout=HVC375B.pinout
+ pinout=ipc-diode.pinout
  npins=2
 
 # PWON LED
@@ -528,6 +528,13 @@
 D403:
  part=red-led
 
+# Schottky diode in charging circuit
+D404:
+ device=SS34
+ footprint=DO214
+ pinout=ipc-diode.pinout
+ npins=2
+
 # Connectors
 
 part header-2pin:
--- a/venus/src/core/int_vcxo_passive.v	Sun Nov 21 08:40:13 2021 +0000
+++ b/venus/src/core/int_vcxo_passive.v	Sun Nov 21 08:58:43 2021 +0000
@@ -17,7 +17,7 @@
 wire R217_to_xtal, xtal_to_R211, R211_to_C225;
 
 resistor R217 (AFC_in, R217_to_xtal);
-varactor_diode D200 (.Cathode(R217_to_xtal), .Anode(GND));
+varactor_diode D200 (.C(R217_to_xtal), .A(GND));
 capacitor C226 (R217_to_xtal, GND);
 xtal_4pin_pkg xtal (.pin_1(xtal_to_R211), .pin_2(GND),
 		    .pin_3(R217_to_xtal), .pin_4(GND));
--- a/venus/src/pinouts/HVC375B.pinout	Sun Nov 21 08:40:13 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-Cathode		1
-Anode		2
--- a/venus/src/pinouts/LED.pinout	Sun Nov 21 08:40:13 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-Cathode		1
-Anode		2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/venus/src/pinouts/ipc-diode.pinout	Sun Nov 21 08:58:43 2021 +0000
@@ -0,0 +1,2 @@
+C	1
+A	2
--- a/venus/src/primitives	Sun Nov 21 08:40:13 2021 +0000
+++ b/venus/src/primitives	Sun Nov 21 08:58:43 2021 +0000
@@ -44,7 +44,7 @@
 /* crystal oscillator components */
 xtal_2pin_pkg	numpins 2;
 xtal_4pin_pkg	numpins 4;
-varactor_diode	mapped_pins (Anode, Cathode);
+varactor_diode	mapped_pins (A, C);
 
 /*
  * The reference design we are copying calls for a couple of RF chip
@@ -69,5 +69,6 @@
 
 /* misc peripherals */
 pkg_SIM_socket		numpins 8;
-basic_LED		mapped_pins (Anode, Cathode);
+basic_LED		mapped_pins (A, C);
+misc_diode		mapped_pins (A, C);
 switch_2pin		numpins 2;