changeset 54:562c2cb561e4

LPG and PWL LEDs implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 27 Nov 2021 19:46:01 +0000
parents d9ae0e85aea2
children 59fb15426c91
files venus/src/MCL venus/src/Makefile venus/src/slotmap/Q402 venus/src/top/mobile.v
diffstat 4 files changed, 24 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/venus/src/MCL	Sat Nov 27 19:16:58 2021 +0000
+++ b/venus/src/MCL	Sat Nov 27 19:46:01 2021 +0000
@@ -548,10 +548,12 @@
 
 # LPG LED
 D401:
+ hier=mob.led_LPG.led
  part=yellow-led
 
 # PWL LED
 D402:
+ hier=mob.led_PWL.led
  part=red-led
 
 # Charging LED
@@ -784,6 +786,7 @@
 # Dual NPN transistor for LPG and PWL LEDs
 Q402:
  part=UMH9
+ slotmap=slotmap/Q402
 
 Q600:
  part=EMB9
@@ -1005,6 +1008,18 @@
  footprint=0402
  npins=2
 
+R413:
+ hier=mob.led_LPG.R
+ value=TBD
+ footprint=0402
+ npins=2
+
+R414:
+ hier=mob.led_PWL.R
+ value=TBD
+ footprint=0402
+ npins=2
+
 # attenuators in the Tx path from Rita to PA
 part chip_atten:
  device=RAC101A-3dB
--- a/venus/src/Makefile	Sat Nov 27 19:16:58 2021 +0000
+++ b/venus/src/Makefile	Sat Nov 27 19:46:01 2021 +0000
@@ -20,8 +20,9 @@
 	usb/regulator_ic.v usb/regulator_with_caps.v usb/usb_conn.v \
 	usb/usb_core.v usb/usb_domain.v usb/usb_domain_bctl.v \
 	usb/usb_domain_buf.v
-SLOTMAP=slotmap/Q308 slotmap/Q600 slotmap/Q601 slotmap/R295 slotmap/R296 \
-	slotmap/R361 slotmap/U401 slotmap/U403 slotmap/U705 slotmap/U707
+SLOTMAP=slotmap/Q308 slotmap/Q402 slotmap/Q600 slotmap/Q601 \
+	slotmap/R295 slotmap/R296 slotmap/R361 \
+	slotmap/U401 slotmap/U403 slotmap/U705 slotmap/U707
 NETS=	sverp.unet noledb.unet bound.unet
 
 all:	${NETS}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/venus/src/slotmap/Q402	Sat Nov 27 19:46:01 2021 +0000
@@ -0,0 +1,3 @@
+#instance	slot
+mob.led_LPG.Q	1
+mob.led_PWL.Q	2
--- a/venus/src/top/mobile.v	Sat Nov 27 19:16:58 2021 +0000
+++ b/venus/src/top/mobile.v	Sat Nov 27 19:46:01 2021 +0000
@@ -200,7 +200,10 @@
 	);
 
 /* indicator LEDs */
+
 led_mosfet led_PWON (.GND(GND), .VBAT(VBAT), .Signal(ON_nOFF));
+led_npn    led_LPG  (.GND(GND), .VBAT(VBAT), .Signal(DSR_LPG));
+led_npn    led_PWL  (.GND(GND), .VBAT(VBAT), .Signal(LT_PWL));
 
 /* SIM socket */
 sim_socket_block sim (.GND(GND),