comparison venus/src/periph/bl_current_sink.v @ 47:9f5a3567d699

progress toward LCD integration
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 27 Nov 2021 02:09:46 +0000
parents
children d55824058cfc
comparison
equal deleted inserted replaced
46:c247abb89302 47:9f5a3567d699
1 module bl_current_sink (GND, Vio, BL_GPIO9, BL_GPIO11, BL_GPIO12, LEDK);
2
3 input GND, Vio;
4 input BL_GPIO9, BL_GPIO11, BL_GPIO12;
5 output [1:3] LEDK;
6
7 wire SET;
8
9 MAX1916 MAX1916 (.GND(GND),
10 .EN(BL_GPIO9),
11 .SET(SET),
12 .LEDK(LEDK)
13 );
14
15 bl_current_select cursel (.GND(GND),
16 .Vio(Vio),
17 .BL_GPIO11(BL_GPIO11),
18 .BL_GPIO12(BL_GPIO12),
19 .SET(SET)
20 );
21
22 endmodule