From 511a6dad9538f20f5bbdd2c87b752b4690c648ff Mon Sep 17 00:00:00 2001 From: JulianCamacho Date: Mon, 7 Nov 2022 17:18:40 -0600 Subject: Adding decode test --- tb/top/mul_test.cpp | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) (limited to 'tb/top/mul_test.cpp') diff --git a/tb/top/mul_test.cpp b/tb/top/mul_test.cpp index 1dcebdc..cd99760 100644 --- a/tb/top/mul_test.cpp +++ b/tb/top/mul_test.cpp @@ -68,34 +68,4 @@ int main(int argc, char** argv) { trace.close(); top.final(); // Done simulating -} - -/* - -module mul_tb(); - - logic clk,rst,start; - logic[7:0]X,Y; - logic[15:0]Z; - logic valid; - - always #5 clk = ~clk; - - core_mul_mul #(.W(8)) inst (.clk(clk),.rst(rst),.start(start),.a(X),.b(Y),.rdy(valid),.result(Z)); - - initial - $monitor($time,"a=%d, b=%d, ready=%d, Z=%d ",X,Y,valid,Z); - initial - begin - X=255;Y=150;clk=1'b1;rst=1'b0;start=1'b0; - #10 rst = 1'b1; - #10 start = 1'b1; - #10 start = 1'b0; - @valid - #10 X=-80;Y=-10;start = 1'b1; - #10 start = 1'b0; - end -endmodule - - -*/ \ No newline at end of file +} \ No newline at end of file -- cgit v1.2.3