diff --git a/padring/hdl/oh_padring.v b/padring/hdl/oh_padring.v index b17deea..1b4c837 100644 --- a/padring/hdl/oh_padring.v +++ b/padring/hdl/oh_padring.v @@ -1,7 +1,7 @@ //############################################################################# //# Function: Padring Generator # //# Copyright: OH Project Authors. ALl rights Reserved. # -//# License: MIT (see LICENSE file in OH repository) # +//# License: MIT (see LICENSE file in OH repository) # //############################################################################# module oh_padring @@ -29,12 +29,15 @@ module oh_padring parameter WE_VDDIO = 8, parameter WE_VSSIO = 8, parameter WE_VDD = 8, - parameter WE_VSS = 8 + parameter WE_VSS = 8, + parameter ENABLE_CUTS = 1, + parameter ENABLE_POC = 1, + parameter TECH_CFG_WIDTH = 16 ) ( //CONTINUOUS GROUND inout vss, - + inout vdd, //NORTH inout [NO_DOMAINS-1:0] no_vddio, @@ -44,7 +47,8 @@ module oh_padring input [NO_GPIO-1:0] no_dout, // data to pad input [NO_GPIO*8-1:0] no_cfg, // config input [NO_GPIO-1:0] no_ie, // input enable - input [NO_GPIO-1:0] no_oen, // output enable (bar) + input [NO_GPIO-1:0] no_oen, // output enable (bar) + input [NO_GPIO*TECH_CFG_WIDTH-1:0] no_tech_cfg, //SOUTH inout [SO_DOMAINS-1:0] so_vddio, inout [SO_DOMAINS-1:0] so_vssio, @@ -54,6 +58,7 @@ module oh_padring input [SO_GPIO*8-1:0] so_cfg, // config input [SO_GPIO-1:0] so_ie, // input enable input [SO_GPIO-1:0] so_oen, // output enable (bar) + input [SO_GPIO*TECH_CFG_WIDTH-1:0] so_tech_cfg, //EAST inout [EA_DOMAINS-1:0] ea_vddio, inout [EA_DOMAINS-1:0] ea_vssio, @@ -63,6 +68,7 @@ module oh_padring input [EA_GPIO*8-1:0] ea_cfg, // config input [EA_GPIO-1:0] ea_ie, // input enable input [EA_GPIO-1:0] ea_oen, // output enable (bar) + input [EA_GPIO*TECH_CFG_WIDTH-1:0] ea_tech_cfg, //WEST inout [WE_DOMAINS-1:0] we_vddio, inout [WE_DOMAINS-1:0] we_vssio, @@ -71,7 +77,8 @@ module oh_padring input [WE_GPIO-1:0] we_dout, // data to pad input [WE_GPIO*8-1:0] we_cfg, // config input [WE_GPIO-1:0] we_ie, // input enable - input [WE_GPIO-1:0] we_oen // output enable (bar) + input [WE_GPIO-1:0] we_oen, // output enable (bar) + input [WE_GPIO*TECH_CFG_WIDTH-1:0] we_tech_cfg ); @@ -80,145 +87,150 @@ module oh_padring wire [SO_DOMAINS-1:0] so_poc; wire [WE_DOMAINS-1:0] we_poc; wire [EA_DOMAINS-1:0] ea_poc; - + generate genvar i; - + //############################# // NORTH //############################# for(i=0;i