From: Thomas Pietrzak Date: Tue, 11 Dec 2018 15:38:06 +0000 (+0100) Subject: fixed testbench X-Git-Url: https://git.thomaspietrzak.com/?a=commitdiff_plain;h=b538a5e73492a74ffcb4e0ec872c67746aa7fcc2;p=forcefader.git fixed testbench --- diff --git a/fpga/forcefader.srcs/sim_1/new/testbench.v b/fpga/forcefader.srcs/sim_1/new/testbench.v index 80796d1..96b918a 100644 --- a/fpga/forcefader.srcs/sim_1/new/testbench.v +++ b/fpga/forcefader.srcs/sim_1/new/testbench.v @@ -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 diff --git a/fpga/forcefader.xpr b/fpga/forcefader.xpr index e44a6a5..458526f 100644 --- a/fpga/forcefader.xpr +++ b/fpga/forcefader.xpr @@ -32,7 +32,7 @@