Skip to content

Commit

Permalink
Save Changes & Submit
Browse files Browse the repository at this point in the history
  • Loading branch information
ymherklotz committed Feb 22, 2024
1 parent 7db84fd commit 9fe8c43
Show file tree
Hide file tree
Showing 27 changed files with 60 additions and 192 deletions.
64 changes: 0 additions & 64 deletions output.log
Original file line number Diff line number Diff line change
Expand Up @@ -4,78 +4,14 @@ Left barrel shifter test passed
Warning: file 'v1.hex' for memory 'a_memory' has a gap at addresses 64 to 255.
Warning: file 'v2.hex' for memory 'b_memory' has a gap at addresses 64 to 255.
STARTING TEST FOR VECTOR DOT PRODUCT DIM 16... index 0
5 + 1
6 + 2
7 + 5
1 + 7
2 + 8
4 + 5
6 + 7
5 + 8
5 + 1
6 + 2
7 + 5
9 + 7
2 + 8
4 + 5
6 + 7
5 + 8
GOT 410
Test 0 passed
STARTING TEST FOR VECTOR DOT PRODUCT DIM 16... index 1
5 + 1
6 + 2
7 + 5
1 + 7
2 + 8
4 + 5
6 + 7
5 + 8
5 + 1
6 + 2
7 + 5
1 + 7
2 + 8
4 + 5
6 + 7
5 + 8
GOT 354
Test 1 passed
STARTING TEST FOR VECTOR DOT PRODUCT DIM 16... index 2
5 + 1
6 + 2
7 + 5
1 + 7
2 + 8
4 + 5
6 + 7
5 + 8
37 + 1
6 + 2
7 + 5
1 + 145
2 + 8
4 + 5
6 + 7
5 + 8
GOT 524
Test 2 passed
STARTING TEST FOR VECTOR DOT PRODUCT DIM 16... index 3
5 + 1
6 + 2
7 + 5
1 + 7
2 + 8
4 + 5
6 + 7
5 + 8
5 + 1
6 + 2
7 + 5
9 + 7
2 + 8
4 + 5
6 + 7
5 + 8
GOT 410
Test 3 passed
64 changes: 0 additions & 64 deletions output4.log
Original file line number Diff line number Diff line change
@@ -1,78 +1,14 @@
Warning: file 'v1.hex' for memory 'a_memory' has a gap at addresses 64 to 255.
Warning: file 'v2.hex' for memory 'b_memory' has a gap at addresses 64 to 255.
STARTING TEST FOR VECTOR DOT PRODUCT DIM 16... index 0
5 + 1
6 + 2
7 + 5
1 + 7
2 + 8
4 + 5
6 + 7
5 + 8
5 + 1
6 + 2
7 + 5
9 + 7
2 + 8
4 + 5
6 + 7
5 + 8
GOT 410
Test 0 passed
STARTING TEST FOR VECTOR DOT PRODUCT DIM 16... index 1
5 + 1
6 + 2
7 + 5
1 + 7
2 + 8
4 + 5
6 + 7
5 + 8
5 + 1
6 + 2
7 + 5
1 + 7
2 + 8
4 + 5
6 + 7
5 + 8
GOT 354
Test 1 passed
STARTING TEST FOR VECTOR DOT PRODUCT DIM 16... index 2
5 + 1
6 + 2
7 + 5
1 + 7
2 + 8
4 + 5
6 + 7
5 + 8
37 + 1
6 + 2
7 + 5
1 + 145
2 + 8
4 + 5
6 + 7
5 + 8
GOT 524
Test 2 passed
STARTING TEST FOR VECTOR DOT PRODUCT DIM 16... index 3
5 + 1
6 + 2
7 + 5
1 + 7
2 + 8
4 + 5
6 + 7
5 + 8
5 + 1
6 + 2
7 + 5
9 + 7
2 + 8
4 + 5
6 + 7
5 + 8
GOT 410
Test 3 passed
2 changes: 1 addition & 1 deletion part_1_combinational/AluTest
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ do
exec $BLUESPECDIR/tcllib/bluespec/bluesim.tcl $0.so mkTest --script_name `basename $0` -h
fi
done
exec $BLUESPECDIR/tcllib/bluespec/bluesim.tcl $0.so mkTest --script_name `basename $0` --creation_time 1708599402 "$@"
exec $BLUESPECDIR/tcllib/bluespec/bluesim.tcl $0.so mkTest --script_name `basename $0` --creation_time 1708599421 "$@"
Binary file modified part_1_combinational/AluTest.so
Binary file not shown.
2 changes: 1 addition & 1 deletion part_1_combinational/ArbiterTest
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ do
exec $BLUESPECDIR/tcllib/bluespec/bluesim.tcl $0.so mkTest --script_name `basename $0` -h
fi
done
exec $BLUESPECDIR/tcllib/bluespec/bluesim.tcl $0.so mkTest --script_name `basename $0` --creation_time 1708599404 "$@"
exec $BLUESPECDIR/tcllib/bluespec/bluesim.tcl $0.so mkTest --script_name `basename $0` --creation_time 1708599423 "$@"
Binary file modified part_1_combinational/ArbiterTest.so
Binary file not shown.
2 changes: 1 addition & 1 deletion part_1_combinational/ShifterTest
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ do
exec $BLUESPECDIR/tcllib/bluespec/bluesim.tcl $0.so mkTest --script_name `basename $0` -h
fi
done
exec $BLUESPECDIR/tcllib/bluespec/bluesim.tcl $0.so mkTest --script_name `basename $0` --creation_time 1708599406 "$@"
exec $BLUESPECDIR/tcllib/bluespec/bluesim.tcl $0.so mkTest --script_name `basename $0` --creation_time 1708599425 "$@"
Binary file modified part_1_combinational/ShifterTest.so
Binary file not shown.
2 changes: 1 addition & 1 deletion part_1_combinational/build/mkTest.cxx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Generated by Bluespec Compiler, version 2023.07-31-ge4361d91 (build e4361d91)
*
* On Thu Feb 22 11:56:46 CET 2024
* On Thu Feb 22 11:57:05 CET 2024
*
*/
#include "bluesim_primitives.h"
Expand Down
2 changes: 1 addition & 1 deletion part_1_combinational/build/mkTest.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Generated by Bluespec Compiler, version 2023.07-31-ge4361d91 (build e4361d91)
*
* On Thu Feb 22 11:56:46 CET 2024
* On Thu Feb 22 11:57:05 CET 2024
*
*/

Expand Down
6 changes: 3 additions & 3 deletions part_1_combinational/build/model_mkTest.cxx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Generated by Bluespec Compiler, version 2023.07-31-ge4361d91 (build e4361d91)
*
* On Thu Feb 22 11:56:46 CET 2024
* On Thu Feb 22 11:57:05 CET 2024
*
*/
#include "bluesim_primitives.h"
Expand Down Expand Up @@ -212,8 +212,8 @@ void MODEL_mkTest::get_version(char const **name, char const **build)
time_t MODEL_mkTest::get_creation_time()
{

/* Thu Feb 22 10:56:46 UTC 2024 */
return 1708599406llu;
/* Thu Feb 22 10:57:05 UTC 2024 */
return 1708599425llu;
}

/* State dumping function */
Expand Down
2 changes: 1 addition & 1 deletion part_1_combinational/build/model_mkTest.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Generated by Bluespec Compiler, version 2023.07-31-ge4361d91 (build e4361d91)
*
* On Thu Feb 22 11:56:46 CET 2024
* On Thu Feb 22 11:57:05 CET 2024
*
*/

Expand Down
Binary file modified part_1_combinational/build/model_mkTest.o
Binary file not shown.
2 changes: 1 addition & 1 deletion part_2_vector_multiply/TbVD
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ do
exec $BLUESPECDIR/tcllib/bluespec/bluesim.tcl $0.so mkTb --script_name `basename $0` -h
fi
done
exec $BLUESPECDIR/tcllib/bluespec/bluesim.tcl $0.so mkTb --script_name `basename $0` --creation_time 1708599408 "$@"
exec $BLUESPECDIR/tcllib/bluespec/bluesim.tcl $0.so mkTb --script_name `basename $0` --creation_time 1708599427 "$@"
Binary file modified part_2_vector_multiply/TbVD.so
Binary file not shown.
1 change: 0 additions & 1 deletion part_2_vector_multiply/VectorDot.bsv
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ module mkVectorDot (VD);
rule mult_inputs (ready_start && req_a_ready && req_b_ready && !done_all);
let out_a <- a.portA.response.get();
let out_b <- b.portA.response.get();
$display("%d + %d", out_a, out_b);

output_res <= output_res + (out_a*out_b); // Bug 1: Should be output_res + out_a*out_b
pos_out <= pos_out + 1;
Expand Down
Binary file modified part_2_vector_multiply/build/TbVD.bo
Binary file not shown.
Binary file modified part_2_vector_multiply/build/VectorDot.bo
Binary file not shown.
2 changes: 1 addition & 1 deletion part_2_vector_multiply/build/mkTb.cxx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Generated by Bluespec Compiler, version 2023.07-31-ge4361d91 (build e4361d91)
*
* On Thu Feb 22 11:56:48 CET 2024
* On Thu Feb 22 11:57:07 CET 2024
*
*/
#include "bluesim_primitives.h"
Expand Down
2 changes: 1 addition & 1 deletion part_2_vector_multiply/build/mkTb.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Generated by Bluespec Compiler, version 2023.07-31-ge4361d91 (build e4361d91)
*
* On Thu Feb 22 11:56:48 CET 2024
* On Thu Feb 22 11:57:07 CET 2024
*
*/

Expand Down
Binary file modified part_2_vector_multiply/build/mkVectorDot.ba
Binary file not shown.
Loading

0 comments on commit 9fe8c43

Please sign in to comment.