FreeCalypso > hg > freecalypso-schem2
view venus/src/periph/buzzer_circuit.v @ 87:96e02b1b2374
change flash+RAM MCP to S71PL129N
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 10 Dec 2021 06:43:39 +0000 |
parents | 4a7db02ddd3e |
children |
line wrap: on
line source
module buzzer_circuit (GND, VBAT, Digital_input); input GND, VBAT; input Digital_input; wire Buzzer_neg; buzzer_wrap buz (.Pos(VBAT), .Neg(Buzzer_neg)); clamp_diode_pair D_pair (.Signal(Buzzer_neg), .Pos_rail(VBAT), .Neg_rail(GND)); transistor_ext_bias npn (.E(GND), .B(Digital_input), .C(Buzzer_neg)); endmodule