view venus/src/core/memory.v @ 95:cc8fd0dbd2cf

D404 SS34: fully specify part (sourced from Digi-Key)
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 11 Jan 2022 19:38:57 +0000
parents 96e02b1b2374
children
line wrap: on
line source

module memory  (GND, Vflash, Vsram,
		MCU_A, MCU_D, MCU_nRD, MCU_nWR, MCU_nBHE, MCU_nBLE,
		Flash_RST, CS_flash1, CS_flash2, CS_RAM);

input GND, Vflash, Vsram;
input [22:1] MCU_A;
inout [15:0] MCU_D;
input MCU_nRD, MCU_nWR, MCU_nBHE, MCU_nBLE;
input Flash_RST;
input CS_flash1, CS_flash2, CS_RAM;

S71PL129N chip (.Flash_Vcc(Vflash),
		.RAM_Vcc(Vsram),
		.Vss(GND),
		.A(MCU_A),
		.DQ(MCU_D),
		.OE(MCU_nRD),
		.WE(MCU_nWR),
		.Flash_CE1(CS_flash1),
		.Flash_CE2(CS_flash2),
		.Flash_RST(Flash_RST),
		.Flash_WP_ACC(Vflash),
		.Flash_ready_busy(),	/* no connect */
		.RAM_CE_actlow(CS_RAM),
		.RAM_CE_acthigh(Vsram),
		.RAM_UB(MCU_nBHE),
		.RAM_LB(MCU_nBLE)
	);

/* bypass caps */
capacitor C318 (Vsram, GND);
capacitor C322 (Vflash, GND);

endmodule