changeset 60:38c713964bb7

lunalcd2: MCL binding complete
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 25 Jun 2021 19:01:35 +0000
parents d5d14b426faa
children df8f40386c0b
files lunalcd2/src/MCL lunalcd2/src/Makefile
diffstat 2 files changed, 16 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lunalcd2/src/MCL	Fri Jun 25 18:44:11 2021 +0000
+++ b/lunalcd2/src/MCL	Fri Jun 25 19:01:35 2021 +0000
@@ -2,6 +2,7 @@
 
 # LCD module bypass cap
 C1:
+ hier=LCD_bypass_cap
  value=100nF
  footprint=0603
  description=Ceramic chip capacitor, X7R, 0.1 uF, 0603
@@ -15,6 +16,7 @@
 
 # main ribbon cable interface
 J1:
+ hier=main_if
  footprint=file:HEADER26_Shrouded
  description=Header, 0.100", dual row, 26 posts
  manufacturer=Molex
@@ -25,6 +27,7 @@
 
 # VBAT supply for backlight
 J2:
+ hier=VBAT_conn
  footprint=JUMPER2
  description=Header, 0.100", 2 posts
  manufacturer=Molex
@@ -36,6 +39,7 @@
 # LCD module
 
 LCD1:
+ hier=lcd.pkg
  manufacturer=Formike
  device=KWH020ST23-F01
  part=yes
@@ -47,6 +51,7 @@
 
 # pull-down on BL_EN input
 R1:
+ hier=BL_EN_pulldown
  footprint=0603
  value=100k
  description=Chip resistor, 100 kOhm, 0603
@@ -58,6 +63,7 @@
 
 # 1 mA LED current
 R2:
+ hier=bl_current_sink.cursel.R_1mA
  footprint=0402
  value=365k
  description=Chip resistor, 365 kOhm, 0402
@@ -65,6 +71,7 @@
 
 # 2 mA LED current
 R3:
+ hier=bl_current_sink.cursel.R_2mA
  footprint=0402
  value=182k
  description=Chip resistor, 182 kOhm, 0402
@@ -72,6 +79,7 @@
 
 # 4 mA LED current
 R4:
+ hier=bl_current_sink.cursel.R_4mA
  footprint=0402
  value=90.9k
  description=Chip resistor, 90.9 kOhm, 0402
@@ -79,6 +87,7 @@
 
 # 8 mA LED current
 R5:
+ hier=bl_current_sink.cursel.R_8mA
  footprint=0402
  value=45.3k
  description=Chip resistor, 45.3 kOhm, 0402
@@ -86,6 +95,7 @@
 
 # LCD power supply current measurement
 R6:
+ hier=LCD_current_meas
  footprint=0603
  value=10R
  description=Chip resistor, 10 ohm, 0603
@@ -94,6 +104,7 @@
 # DIP switch pack
 
 SW1:
+ hier=bl_current_sink.cursel.dipsw
  manufacturer=CUI
  manufacturer_part_number=DS04-254-1-04BK-SMT
  description=DIP switch pack, 4xSPST, 2.54 mm pitch, SMT
@@ -105,6 +116,7 @@
 # MAX1916 backlight IC
 
 U1:
+ hier=bl_current_sink.MAX1916.pkg
  manufacturer=Maxim
  device=MAX1916
  part=yes
--- a/lunalcd2/src/Makefile	Fri Jun 25 18:44:11 2021 +0000
+++ b/lunalcd2/src/Makefile	Fri Jun 25 19:01:35 2021 +0000
@@ -1,11 +1,14 @@
 VSRCS=	vsrc/MAX1916.v vsrc/bl_current_sink.v vsrc/board.v \
 	vsrc/current_select.v vsrc/lcd_module.v
-NETS=	sverp.unet
+NETS=	sverp.unet bound.unet
 
 all:	${NETS}
 
 sverp.unet:	${VSRCS} primitives Makefile
 	ueda-sverp -o $@ ${VSRCS}
 
+bound.unet:	MCL sverp.unet
+	unet-bind -c sverp.unet $@
+
 clean:
 	rm -f *.unet *.txt *.csv errs elements.pcb