fixed testbench
authorThomas Pietrzak <thomas.pietrzak@gmail.com>
Tue, 11 Dec 2018 15:38:06 +0000 (16:38 +0100)
committerThomas Pietrzak <thomas.pietrzak@gmail.com>
Tue, 11 Dec 2018 15:38:06 +0000 (16:38 +0100)
fpga/forcefader.srcs/sim_1/new/testbench.v
fpga/forcefader.xpr

index 80796d1277f0933c5d5f78bd07a44c64be9f53b5..96b918a859b60b6f92b221305548c0e6906b5be3 100644 (file)
@@ -31,7 +31,7 @@ module testbench(
     reg [9:0] endposition;
 
     // Temp
-    wire signed [16:0] outputforce = 0;
+    wire signed [16:0] outputforce;
     
     //Outputs
     wire en;
@@ -70,189 +70,189 @@ module testbench(
       
       //test
       input_pos = 10'h010;
-      #10000;
-
+      #10000000;
+/*
       input_pos = 10'h020;
-      #10000;
+      #10000000;
 
       input_pos = 10'h030;
-      #10000;
+      #10000000;
 
       input_pos = 10'h040;
-      #10000;
-
+      #10000000;
+*/
       input_pos = 10'h050;
-      #10000;
-
+      #10000000;
+/*
       input_pos = 10'h060;
-      #10000;
+      #10000000;
 
       input_pos = 10'h070;
-      #10000;
+      #10000000;
 
       input_pos = 10'h080;
-      #10000;
-      
+      #10000000;
+ */
       input_pos = 10'h090;
-      #10000;
-
+      #10000000;
+/*
       input_pos = 10'h0a0;
-      #10000;
+      #10000000;
 
       input_pos = 10'h0b0;
-      #10000;
+      #10000000;
 
       input_pos = 10'h0c0;
-      #10000;
-
+      #10000000;
+*/
       input_pos = 10'h0d0;
-      #10000;
-
+      #10000000;
+/*
       input_pos = 10'h0e0;
-      #10000;
+      #10000000;
 
       input_pos = 10'h0f0;
-      #10000;
+      #10000000;
 
       input_pos = 10'h100;
-      #10000;
-
+      #10000000;
+*/
       input_pos = 10'h110;
-      #10000;
-
+      #10000000;
+/*
       input_pos = 10'h120;
-      #10000;
+      #10000000;
 
       input_pos = 10'h130;
-      #10000;
+      #10000000;
 
       input_pos = 10'h140;
-      #10000;
-
+      #10000000;
+*/
       input_pos = 10'h150;
-      #10000;
-
+      #10000000;
+/*
       input_pos = 10'h160;
-      #10000;
+      #10000000;
 
       input_pos = 10'h170;
-      #10000;
+      #10000000;
 
       input_pos = 10'h180;
-      #10000;
-      
+      #10000000;
+ */
       input_pos = 10'h190;
-      #10000;
-
+      #10000000;
+/*
       input_pos = 10'h1a0;
-      #10000;
+      #10000000;
 
       input_pos = 10'h1b0;
-      #10000;
+      #10000000;
 
       input_pos = 10'h1c0;
-      #10000;
-
+      #10000000;
+*/
       input_pos = 10'h1d0;
-      #10000;
-
+      #10000000;
+/*
       input_pos = 10'h1e0;
-      #10000;
+      #10000000;
 
       input_pos = 10'h1f0;
-      #10000;
+      #10000000;
 
       input_pos = 10'h210;
-      #10000;
-
+      #10000000;
+*/
       input_pos = 10'h220;
-      #10000;
-
+      #10000000;
+/*
       input_pos = 10'h230;
-      #10000;
+      #10000000;
 
       input_pos = 10'h240;
-      #10000;
+      #10000000;
 
       input_pos = 10'h250;
-      #10000;
-
+      #10000000;
+*/
       input_pos = 10'h260;
-      #10000;
+      #10000000;
 
       input_pos = 10'h270;
-      #10000;
+      #10000000;
 
       input_pos = 10'h280;
-      #10000;
-      
+      #10000000;
+ /*
       input_pos = 10'h290;
-      #10000;
+      #10000000;
 
       input_pos = 10'h2a0;
-      #10000;
+      #10000000;
 
       input_pos = 10'h2b0;
-      #10000;
-
+      #10000000;
+*/
       input_pos = 10'h2c0;
-      #10000;
-
+      #10000000;
+/*
       input_pos = 10'h2d0;
-      #10000;
+      #10000000;
 
       input_pos = 10'h2e0;
-      #10000;
+      #10000000;
 
       input_pos = 10'h2f0;
-      #10000;
-
+      #10000000;
+*/
       input_pos = 10'h310;
-      #10000;
-
+      #10000000;
+/*
       input_pos = 10'h320;
-      #100;
+      #10000000;
 
       input_pos = 10'h330;
-      #100;
+      #10000000;
 
       input_pos = 10'h340;
-      #100;
-
+      #10000000;
+*/
       input_pos = 10'h350;
-      #100;
-
+      #10000000;
+/*
       input_pos = 10'h360;
-      #100;
+      #10000000;
 
       input_pos = 10'h370;
-      #100;
+      #10000000;
 
       input_pos = 10'h380;
-      #100;
-      
+      #10000000;
+ */
       input_pos = 10'h390;
-      #100;
-
+      #10000000;
+/*
       input_pos = 10'h3a0;
-      #100;
+      #10000000;
 
       input_pos = 10'h3b0;
-      #100;
+      #10000000;
 
       input_pos = 10'h3c0;
-      #100;
-
+      #10000000;
+*/
       input_pos = 10'h3d0;
-      #100;
-
+      #10000000;
+/*
       input_pos = 10'h3e0;
-      #100;
+      #10000000;
 
       input_pos = 10'h3f0;
-      #100;
-
+      #10000000;
+*/
       input_pos = 10'h3ff;
-      #100;
+      #10000000;
     end
 endmodule
index e44a6a586d8c273faa7d567b8aa0fb1b68c6f2e5..458526f71596c325e23344a6732d419d3eac279a 100644 (file)
@@ -32,7 +32,7 @@
     <Option Name="DSAVendor" Val="xilinx"/>
     <Option Name="DSABoardId" Val="cmod_a7-35t"/>
     <Option Name="DSANumComputeUnits" Val="60"/>
-    <Option Name="WTXSimLaunchSim" Val="84"/>
+    <Option Name="WTXSimLaunchSim" Val="92"/>
     <Option Name="WTModelSimLaunchSim" Val="0"/>
     <Option Name="WTQuestaLaunchSim" Val="0"/>
     <Option Name="WTIesLaunchSim" Val="0"/>