2021-07-27 22:24:40 -04:00
|
|
|
//#############################################################################
|
|
|
|
//# Function: Power supply header switch #
|
|
|
|
//#############################################################################
|
|
|
|
//# Author: Andreas Olofsson #
|
|
|
|
//# License: MIT (see LICENSE file in OH! repository) #
|
|
|
|
//#############################################################################
|
|
|
|
|
2021-07-27 22:55:45 -04:00
|
|
|
module asic_footer #(parameter PROP = "DEFAULT") (
|
2021-07-27 22:24:40 -04:00
|
|
|
input nsleep, // 0 = disabled ground
|
|
|
|
input vssin, // input supply
|
|
|
|
output vssout // gated output supply
|
|
|
|
);
|
|
|
|
|
|
|
|
// Primitive Device
|
|
|
|
nmos m0 (vddout, vddin, nsleep); //d,s,g
|
|
|
|
|
|
|
|
endmodule
|