replacing remaining pwmnum
authorrishucoding <rishucoding@gmail.com>
Tue, 17 Jul 2018 09:57:56 +0000 (15:27 +0530)
committerrishucoding <rishucoding@gmail.com>
Tue, 17 Jul 2018 09:57:56 +0000 (15:27 +0530)
src/bsv/bsv_lib/pwm.bsv

index ef7d6877a2ae64812fd3c5dccd6c728bd8a06af3..987ce91f2d50122b2ded6a1d5ec5ad83e47a9345 100644 (file)
@@ -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();