From: rishucoding Date: Tue, 17 Jul 2018 09:57:56 +0000 (+0530) Subject: replacing remaining pwmnum X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71b1fea51d7c9fb6ff384c7ab1483eb536ef1da6;p=pinmux.git replacing remaining pwmnum --- diff --git a/src/bsv/bsv_lib/pwm.bsv b/src/bsv/bsv_lib/pwm.bsv index ef7d687..987ce91 100644 --- a/src/bsv/bsv_lib/pwm.bsv +++ b/src/bsv/bsv_lib/pwm.bsv @@ -270,8 +270,8 @@ package pwm; endinterface //(*synthesize*) - module mkPWM_bus#(Clock ext_clock, numeric type pwmnum)(Ifc_PWM_bus); - PWM pwm <-mkPWM(ext_clock, pwmnum); + module mkPWM_bus#(Clock ext_clock)(Ifc_PWM_bus); + PWM pwm <-mkPWM(ext_clock); AXI4_Lite_Slave_Xactor_IFC#(`PADDR,`Reg_width, `USERSPACE) s_xactor<-mkAXI4_Lite_Slave_Xactor(); @@ -307,8 +307,8 @@ package pwm; endinterface (*synthesize*) - module mkPWM_bus#(Clock ext_clock, numeric type pwmnum)(Ifc_PWM_bus); - PWM pwm <-mkPWM(ext_clock, pwmnum); + module mkPWM_bus#(Clock ext_clock)(Ifc_PWM_bus); + PWM pwm <-mkPWM(ext_clock); AXI4_Slave_Xactor_IFC#(`PADDR,`Reg_width, `USERSPACE) s_xactor<-mkAXI4_Slave_Xactor();