FreeCalypso > hg > fc-small-hw
view mmtb1/schem+bom/vsrc/led_circuit.v @ 28:bd7eec55ebc0
duart28: new design ideas
* added input buffers (LVC with Ioff feature) to prevent high current flow
from powered-up target into powered-down FT2232D inputs;
* added series resistors on outputs to limit current flow from powered-up
adapter into powered-down Calypso target;
* buffer IC changed from 74LVC125A to 74LVC541A.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 28 Jun 2020 22:06:24 +0000 |
parents | 0f9bdd60ce50 |
children |
line wrap: on
line source
/* * This module captures the circuit for showing the state of a digital signal * on a LED without loading that digital signal by driving the LED from VBAT * and using a MOSFET to control it. */ module led_circuit (GND, VBAT, Signal); input GND, VBAT, Signal; wire R_to_LED, LED_to_Q; resistor R (VBAT, R_to_LED); diode led (.A(R_to_LED), .C(LED_to_Q)); mosfet Q (.G(Signal), .S(GND), .D(LED_to_Q)); endmodule