diff venus/src/periph/transistor_ext_bias.v @ 63:4a7db02ddd3e

buzzer circuit implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 01 Dec 2021 20:22:47 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/venus/src/periph/transistor_ext_bias.v	Wed Dec 01 20:22:47 2021 +0000
@@ -0,0 +1,14 @@
+/* transistor with external bias resistors */
+
+module transistor_ext_bias (E, B, C);
+
+inout E, B, C;
+
+wire int_base;
+
+transistor_slot Q (.E(E), .B(int_base), .C(C));
+
+resistor Rbase (B, int_base);
+resistor Rbe (int_base, E);
+
+endmodule