-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMultiplierTest.v
64 lines (52 loc) · 1.11 KB
/
MultiplierTest.v
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
`timescale 1ns / 1ps
////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 12:19:15 05/15/2016
// Design Name: MandelbrotGen
// Module Name: /home/bluelabuser/YODA_14-May_save/MandelBrotTest.v
// Project Name: YODA
// Target Device:
// Tool versions:
// Description:
//
// Verilog Test Fixture created by ISE for module: MandelbrotGen
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
////////////////////////////////////////////////////////////////////////////////
module MultiplierTest;
// Inputs
reg Clk_100M;
reg signed [10:0] a;
reg signed[10:0] b;
reg ce;
// Outputs
wire signed [21:0] p;
// Instantiate the Unit Under Test (UUT)
signed_multiplier uut (
.clk(Clk_100M),
.a(a),
.b(b),
.ce(ce),
.p(p)
);
always begin
#5 Clk_100M = ~Clk_100M;
end
initial begin
// Initialize Inputs
Clk_100M=0;
// Wait 100 ns for global reset to finish
#100;
ce<=1;
a = 11'b010_10000000;
b = 11'b111_10000000;
// Add stimulus here
end
endmodule