view venus/src/periph/alt_boot_ctrl.v @ 96:ae6951a70d2b

U403: change from 74LVC2G125 to 74LVC2G126 The two parts have the same footprint and pinout, but '126 3-state buffers have active-high OE inputs instead of active-low. The change is purely for software benefit: having GPIO 11/12 set to 1 correspond to that current contribution being enabled will be much more intuitive for developers and tinkerers.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 09 May 2022 19:27:11 +0000
parents c27854430cb3
children
line wrap: on
line source

/*
 * Alternative boot controls in the mobile domain,
 * besides USB domain OD buffers.
 */

module alt_boot_ctrl (GND, RPWON, nTESTRESET);

input GND;
output RPWON, nTESTRESET;

/* manual RESET button */

keyswitch_wrap reset_sw (nTESTRESET, GND);

/* external boot control header */

header_3pin boot_ctrl_header (.pin_1(GND),
			      .pin_2(RPWON),
			      .pin_3(nTESTRESET)
	);

endmodule