mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-30 02:32:53 +08:00
Adding shutdown signal for macro
- Needed for proper power management, should not be lumped with config
This commit is contained in:
parent
1b512cdbde
commit
ea3c38e189
@ -2,8 +2,8 @@ module oh_memory_sp(/*AUTOARG*/
|
|||||||
// Outputs
|
// Outputs
|
||||||
dout,
|
dout,
|
||||||
// Inputs
|
// Inputs
|
||||||
clk, en, we, wem, addr, din, vdd, vddm, memconfig, memrepair,
|
clk, en, we, wem, addr, din, vss, vdd, vddm, shutdown, memconfig,
|
||||||
bist_en, bist_we, bist_wem, bist_addr, bist_din
|
memrepair, bist_en, bist_we, bist_wem, bist_addr, bist_din
|
||||||
);
|
);
|
||||||
|
|
||||||
// parameters
|
// parameters
|
||||||
@ -22,11 +22,13 @@ module oh_memory_sp(/*AUTOARG*/
|
|||||||
input [DW-1:0] din; // data input
|
input [DW-1:0] din; // data input
|
||||||
output [DW-1:0] dout; // data output
|
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 vdd; // periphery power rail
|
||||||
input vddm; // array power rail
|
input vddm; // array power rail
|
||||||
input [MCW-1:0] memconfig; // memory config
|
input shutdown; // shutdown signal from always on domain
|
||||||
input [MCW-1:0] memrepair; // "wildcard" repair vector
|
input [MCW-1:0] memconfig; // generic memory config
|
||||||
|
input [MCW-1:0] memrepair; // repair vector
|
||||||
|
|
||||||
// BIST interface (ASICs only)
|
// BIST interface (ASICs only)
|
||||||
input bist_en; // bist enable
|
input bist_en; // bist enable
|
||||||
@ -54,6 +56,8 @@ module oh_memory_sp(/*AUTOARG*/
|
|||||||
.din (din[DW-1:0]),
|
.din (din[DW-1:0]),
|
||||||
.vdd (vdd),
|
.vdd (vdd),
|
||||||
.vddm (vddm),
|
.vddm (vddm),
|
||||||
|
.vss (vss),
|
||||||
|
.shutdown (shutdown),
|
||||||
.memconfig (memconfig[MCW-1:0]),
|
.memconfig (memconfig[MCW-1:0]),
|
||||||
.memrepair (memrepair[MCW-1:0]),
|
.memrepair (memrepair[MCW-1:0]),
|
||||||
.bist_en (bist_en),
|
.bist_en (bist_en),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user