mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-30 02:32:53 +08:00
Fixing interface for power gate
This commit is contained in:
parent
93e7e5dbab
commit
822bfcbecc
@ -1,4 +1,9 @@
|
||||
module oh_pwr_gate (/*AUTOARG*/);
|
||||
module oh_pwr_gate (/*AUTOARG*/
|
||||
// Outputs
|
||||
vddg,
|
||||
// Inputs
|
||||
npower, vdd
|
||||
);
|
||||
|
||||
input npower; // active low power on
|
||||
input vdd; // input supply
|
||||
@ -8,5 +13,5 @@ module oh_pwr_gate (/*AUTOARG*/);
|
||||
assign vddg = ((vdd===1'b1) && (npower===1'b0)) ? 1'b1 : 1'bX;
|
||||
`else
|
||||
`endif
|
||||
|
||||
|
||||
endmodule // oh_pwr_gate
|
||||
|
Loading…
x
Reference in New Issue
Block a user