diff --git a/vendor/pulp-platform/obi/src/obi_pkg.sv b/vendor/pulp-platform/obi/src/obi_pkg.sv index 32bb1d10b..466568b96 100644 --- a/vendor/pulp-platform/obi/src/obi_pkg.sv +++ b/vendor/pulp-platform/obi/src/obi_pkg.sv @@ -88,22 +88,17 @@ package obi_pkg; obi_optional_cfg_t OptionalCfg; } obi_cfg_t; - function automatic obi_cfg_t obi_default_cfg(int unsigned AddrWidth, int unsigned DataWidth, - int unsigned IdWidth, obi_optional_cfg_t OptionalCfg); - obi_default_cfg = '{ - UseRReady: 1'b0, - CombGnt: 1'b0, - AddrWidth: AddrWidth, - DataWidth: DataWidth, - IdWidth: IdWidth, - Integrity: 1'b0, - BeFull: 1'b1, - OptionalCfg: OptionalCfg - }; - endfunction - /// The default OBI bus config. - localparam obi_cfg_t ObiDefaultConfig = obi_default_cfg(32, 32, 1, ObiMinimalOptionalConfig); + localparam obi_cfg_t ObiDefaultConfig = '{ + UseRReady: 1'b0, + CombGnt: 1'b0, + AddrWidth: 32, + DataWidth: 32, + IdWidth: 1, + Integrity: 1'b0, + BeFull: 1'b1, + OptionalCfg: ObiMinimalOptionalConfig + }; function automatic obi_cfg_t mux_grow_cfg(obi_cfg_t ObiCfgIn, int unsigned NumManagers); mux_grow_cfg = '{