view venus/src/periph/trrs_jack.v @ 74:d3166be0f4c8

found a seemingly-suitable part for Q401
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 03 Dec 2021 20:58:04 +0000
parents 3afd172b83e1
children
line wrap: on
line source

/*
 * This Verilog module encapsulates the physical PCB footprint pinout
 * of the TRRS jack part we are using.
 */

module trrs_jack (T, R, R2, S, T_sw, R_sw);

inout T, R, R2, S;
inout T_sw, R_sw;

pkg_TRRS_jack pkg (.pin_1(S),
		   .pin_2(T),
		   .pin_3(R),
		   .pin_4(R2),
		   .pin_5(T_sw),
		   .pin_6(R_sw)
	);

endmodule