FreeCalypso > hg > freecalypso-schem2
annotate venus/src/periph/transistor_ext_bias.v @ 92:148fab6e07e3
add RTC domain test points
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 11 Dec 2021 04:48:30 +0000 |
parents | 4a7db02ddd3e |
children |
rev | line source |
---|---|
63
4a7db02ddd3e
buzzer circuit implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* transistor with external bias resistors */ |
4a7db02ddd3e
buzzer circuit implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
4a7db02ddd3e
buzzer circuit implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 module transistor_ext_bias (E, B, C); |
4a7db02ddd3e
buzzer circuit implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
4a7db02ddd3e
buzzer circuit implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 inout E, B, C; |
4a7db02ddd3e
buzzer circuit implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
4a7db02ddd3e
buzzer circuit implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 wire int_base; |
4a7db02ddd3e
buzzer circuit implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
4a7db02ddd3e
buzzer circuit implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 transistor_slot Q (.E(E), .B(int_base), .C(C)); |
4a7db02ddd3e
buzzer circuit implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
4a7db02ddd3e
buzzer circuit implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 resistor Rbase (B, int_base); |
4a7db02ddd3e
buzzer circuit implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 resistor Rbe (int_base, E); |
4a7db02ddd3e
buzzer circuit implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
4a7db02ddd3e
buzzer circuit implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 endmodule |