From ea3c38e189dd3bdebbb999b55923dad0daccb13e Mon Sep 17 00:00:00 2001 From: Andreas Olofsson Date: Wed, 6 Apr 2016 11:53:03 -0400 Subject: [PATCH] Adding shutdown signal for macro - Needed for proper power management, should not be lumped with config --- src/common/hdl/oh_memory_sp.v | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/common/hdl/oh_memory_sp.v b/src/common/hdl/oh_memory_sp.v index ffdc64a..1378dae 100644 --- a/src/common/hdl/oh_memory_sp.v +++ b/src/common/hdl/oh_memory_sp.v @@ -2,8 +2,8 @@ module oh_memory_sp(/*AUTOARG*/ // Outputs dout, // Inputs - clk, en, we, wem, addr, din, vdd, vddm, memconfig, memrepair, - bist_en, bist_we, bist_wem, bist_addr, bist_din + clk, en, we, wem, addr, din, vss, vdd, vddm, shutdown, memconfig, + memrepair, bist_en, bist_we, bist_wem, bist_addr, bist_din ); // parameters @@ -22,11 +22,13 @@ module oh_memory_sp(/*AUTOARG*/ input [DW-1:0] din; // data input output [DW-1:0] dout; // data output - // Power/repai interface (ASICs only) + // Power/repair interface (ASICs only) + input vss; // common ground input vdd; // periphery power rail - input vddm; // array power rail - input [MCW-1:0] memconfig; // memory config - input [MCW-1:0] memrepair; // "wildcard" repair vector + input vddm; // array power rail + input shutdown; // shutdown signal from always on domain + input [MCW-1:0] memconfig; // generic memory config + input [MCW-1:0] memrepair; // repair vector // BIST interface (ASICs only) input bist_en; // bist enable @@ -54,6 +56,8 @@ module oh_memory_sp(/*AUTOARG*/ .din (din[DW-1:0]), .vdd (vdd), .vddm (vddm), + .vss (vss), + .shutdown (shutdown), .memconfig (memconfig[MCW-1:0]), .memrepair (memrepair[MCW-1:0]), .bist_en (bist_en),