diff --git a/output.log b/output.log index 0408c41..d67df49 100644 --- a/output.log +++ b/output.log @@ -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 diff --git a/output4.log b/output4.log index ca64656..54d9889 100644 --- a/output4.log +++ b/output4.log @@ -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 diff --git a/part_1_combinational/AluTest b/part_1_combinational/AluTest index 6c637c2..89837ae 100755 --- a/part_1_combinational/AluTest +++ b/part_1_combinational/AluTest @@ -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 "$@" diff --git a/part_1_combinational/AluTest.so b/part_1_combinational/AluTest.so index 3684fd7..16ea833 100755 Binary files a/part_1_combinational/AluTest.so and b/part_1_combinational/AluTest.so differ diff --git a/part_1_combinational/ArbiterTest b/part_1_combinational/ArbiterTest index c300586..24ef1ce 100755 --- a/part_1_combinational/ArbiterTest +++ b/part_1_combinational/ArbiterTest @@ -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 "$@" diff --git a/part_1_combinational/ArbiterTest.so b/part_1_combinational/ArbiterTest.so index 36945b5..afbcac0 100755 Binary files a/part_1_combinational/ArbiterTest.so and b/part_1_combinational/ArbiterTest.so differ diff --git a/part_1_combinational/ShifterTest b/part_1_combinational/ShifterTest index 1ff6a54..aeab315 100755 --- a/part_1_combinational/ShifterTest +++ b/part_1_combinational/ShifterTest @@ -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 "$@" diff --git a/part_1_combinational/ShifterTest.so b/part_1_combinational/ShifterTest.so index d3cef8c..3034e20 100755 Binary files a/part_1_combinational/ShifterTest.so and b/part_1_combinational/ShifterTest.so differ diff --git a/part_1_combinational/build/mkTest.cxx b/part_1_combinational/build/mkTest.cxx index 621a2ab..a19a111 100644 --- a/part_1_combinational/build/mkTest.cxx +++ b/part_1_combinational/build/mkTest.cxx @@ -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" diff --git a/part_1_combinational/build/mkTest.h b/part_1_combinational/build/mkTest.h index 498b042..62898ce 100644 --- a/part_1_combinational/build/mkTest.h +++ b/part_1_combinational/build/mkTest.h @@ -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 * */ diff --git a/part_1_combinational/build/model_mkTest.cxx b/part_1_combinational/build/model_mkTest.cxx index a0c82e0..670371b 100644 --- a/part_1_combinational/build/model_mkTest.cxx +++ b/part_1_combinational/build/model_mkTest.cxx @@ -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" @@ -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 */ diff --git a/part_1_combinational/build/model_mkTest.h b/part_1_combinational/build/model_mkTest.h index 797c294..bab912d 100644 --- a/part_1_combinational/build/model_mkTest.h +++ b/part_1_combinational/build/model_mkTest.h @@ -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 * */ diff --git a/part_1_combinational/build/model_mkTest.o b/part_1_combinational/build/model_mkTest.o index 9167bbb..2fa0ce4 100644 Binary files a/part_1_combinational/build/model_mkTest.o and b/part_1_combinational/build/model_mkTest.o differ diff --git a/part_2_vector_multiply/TbVD b/part_2_vector_multiply/TbVD index a18f7fb..9cb3288 100755 --- a/part_2_vector_multiply/TbVD +++ b/part_2_vector_multiply/TbVD @@ -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 "$@" diff --git a/part_2_vector_multiply/TbVD.so b/part_2_vector_multiply/TbVD.so index cfea9e3..b29afac 100755 Binary files a/part_2_vector_multiply/TbVD.so and b/part_2_vector_multiply/TbVD.so differ diff --git a/part_2_vector_multiply/VectorDot.bsv b/part_2_vector_multiply/VectorDot.bsv index f9b0870..960f566 100644 --- a/part_2_vector_multiply/VectorDot.bsv +++ b/part_2_vector_multiply/VectorDot.bsv @@ -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; diff --git a/part_2_vector_multiply/build/TbVD.bo b/part_2_vector_multiply/build/TbVD.bo index c7a4505..a7f87c8 100644 Binary files a/part_2_vector_multiply/build/TbVD.bo and b/part_2_vector_multiply/build/TbVD.bo differ diff --git a/part_2_vector_multiply/build/VectorDot.bo b/part_2_vector_multiply/build/VectorDot.bo index 533b594..c241976 100644 Binary files a/part_2_vector_multiply/build/VectorDot.bo and b/part_2_vector_multiply/build/VectorDot.bo differ diff --git a/part_2_vector_multiply/build/mkTb.cxx b/part_2_vector_multiply/build/mkTb.cxx index 2b8f792..99ce4c8 100644 --- a/part_2_vector_multiply/build/mkTb.cxx +++ b/part_2_vector_multiply/build/mkTb.cxx @@ -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" diff --git a/part_2_vector_multiply/build/mkTb.h b/part_2_vector_multiply/build/mkTb.h index 191287e..da6a540 100644 --- a/part_2_vector_multiply/build/mkTb.h +++ b/part_2_vector_multiply/build/mkTb.h @@ -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 * */ diff --git a/part_2_vector_multiply/build/mkVectorDot.ba b/part_2_vector_multiply/build/mkVectorDot.ba index bc2a86e..4ac8b74 100644 Binary files a/part_2_vector_multiply/build/mkVectorDot.ba and b/part_2_vector_multiply/build/mkVectorDot.ba differ diff --git a/part_2_vector_multiply/build/mkVectorDot.cxx b/part_2_vector_multiply/build/mkVectorDot.cxx index 5d6b565..d0b0167 100644 --- a/part_2_vector_multiply/build/mkVectorDot.cxx +++ b/part_2_vector_multiply/build/mkVectorDot.cxx @@ -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" @@ -9,7 +9,6 @@ /* String declarations */ -static std::string const __str_literal_4("%d + %d", 7u); static std::string const __str_literal_3("ERROR: %m: mkBRAMAdapter overrun", 32u); static std::string const __str_literal_1("v1.hex", 6u); static std::string const __str_literal_2("v2.hex", 6u); @@ -340,11 +339,11 @@ void MOD_mkVectorDot::RL_process_a() tUInt8 DEF_NOT_pos_a_12_ULT_dim_13_MUL_0_CONCAT_i_14_15_1_ETC___d121; tUInt8 DEF_x__h3548; DEF_x__h3548 = INST_pos_a.METH_read(); - DEF_x__h4114 = INST_dim.METH_read(); + DEF_x__h4083 = INST_dim.METH_read(); DEF_x__h3696 = INST_i.METH_read(); DEF_y__h3695 = (tUInt8)255u & DEF_x__h3696; - DEF_x__h3692 = (tUInt8)((tUInt8)255u & (65535u & (((tUInt32)(DEF_x__h4114)) * ((tUInt32)(DEF_y__h3695))))); - DEF_y__h3691 = (tUInt8)255u & (DEF_x__h3692 + DEF_x__h4114); + DEF_x__h3692 = (tUInt8)((tUInt8)255u & (65535u & (((tUInt32)(DEF_x__h4083)) * ((tUInt32)(DEF_y__h3695))))); + DEF_y__h3691 = (tUInt8)255u & (DEF_x__h3692 + DEF_x__h4083); DEF_pos_a_12_ULT_dim_13_MUL_0_CONCAT_i_14_15_16_BI_ETC___d119 = DEF_x__h3548 < DEF_y__h3691; DEF_NOT_pos_a_12_ULT_dim_13_MUL_0_CONCAT_i_14_15_1_ETC___d121 = !DEF_pos_a_12_ULT_dim_13_MUL_0_CONCAT_i_14_15_16_BI_ETC___d119; DEF_x__h3529 = (tUInt8)255u & (DEF_x__h3548 + (tUInt8)1u); @@ -364,11 +363,11 @@ void MOD_mkVectorDot::RL_process_b() tUInt8 DEF_NOT_pos_b_31_ULT_dim_13_MUL_0_CONCAT_i_14_15_1_ETC___d134; tUInt8 DEF_x__h3736; DEF_x__h3736 = INST_pos_b.METH_read(); - DEF_x__h4114 = INST_dim.METH_read(); + DEF_x__h4083 = INST_dim.METH_read(); DEF_x__h3696 = INST_i.METH_read(); DEF_y__h3695 = (tUInt8)255u & DEF_x__h3696; - DEF_x__h3692 = (tUInt8)((tUInt8)255u & (65535u & (((tUInt32)(DEF_x__h4114)) * ((tUInt32)(DEF_y__h3695))))); - DEF_y__h3691 = (tUInt8)255u & (DEF_x__h3692 + DEF_x__h4114); + DEF_x__h3692 = (tUInt8)((tUInt8)255u & (65535u & (((tUInt32)(DEF_x__h4083)) * ((tUInt32)(DEF_y__h3695))))); + DEF_y__h3691 = (tUInt8)255u & (DEF_x__h3692 + DEF_x__h4083); DEF_pos_b_31_ULT_dim_13_MUL_0_CONCAT_i_14_15_16_BI_ETC___d132 = DEF_x__h3736 < DEF_y__h3691; DEF_NOT_pos_b_31_ULT_dim_13_MUL_0_CONCAT_i_14_15_1_ETC___d134 = !DEF_pos_b_31_ULT_dim_13_MUL_0_CONCAT_i_14_15_16_BI_ETC___d132; DEF_x__h3717 = (tUInt8)255u & (DEF_x__h3736 + (tUInt8)1u); @@ -383,42 +382,40 @@ void MOD_mkVectorDot::RL_process_b() void MOD_mkVectorDot::RL_mult_inputs() { - tUInt8 DEF_x__h4079; - tUInt32 DEF_x__h4028; + tUInt8 DEF_x__h4048; + tUInt32 DEF_x__h3997; tUInt8 DEF_pos_out_52_EQ_dim_13_MINUS_1_54___d155; tUInt32 DEF_v__h3789; tUInt32 DEF_v__h3889; - tUInt32 DEF_y__h4063; - tUInt8 DEF_x__h4098; + tUInt32 DEF_y__h4032; + tUInt8 DEF_x__h4067; tUInt32 DEF_x_first__h259; tUInt32 DEF_x_first__h1735; DEF_x_wget__h1850 = INST_b_serverAdapter_outData_enqw.METH_wget(); DEF_x_first__h1735 = INST_b_serverAdapter_outData_ff.METH_first(); DEF_x_wget__h374 = INST_a_serverAdapter_outData_enqw.METH_wget(); DEF_x_first__h259 = INST_a_serverAdapter_outData_ff.METH_first(); - DEF_x__h4062 = INST_output_res.METH_read(); - DEF_x__h4098 = INST_pos_out.METH_read(); - DEF_x__h4114 = INST_dim.METH_read(); + DEF_x__h4031 = INST_output_res.METH_read(); + DEF_x__h4083 = INST_dim.METH_read(); + DEF_x__h4067 = INST_pos_out.METH_read(); DEF_b_serverAdapter_outData_ff_i_notEmpty____d54 = INST_b_serverAdapter_outData_ff.METH_i_notEmpty(); DEF_a_serverAdapter_outData_ff_i_notEmpty____d4 = INST_a_serverAdapter_outData_ff.METH_i_notEmpty(); DEF_x__h1948 = DEF_x_wget__h1850; DEF_v__h3889 = DEF_b_serverAdapter_outData_ff_i_notEmpty____d54 ? DEF_x_first__h1735 : DEF_x__h1948; DEF_x__h472 = DEF_x_wget__h374; DEF_v__h3789 = DEF_a_serverAdapter_outData_ff_i_notEmpty____d4 ? DEF_x_first__h259 : DEF_x__h472; - DEF_y__h4063 = (tUInt32)(((tUInt64)(DEF_v__h3789)) * ((tUInt64)(DEF_v__h3889))); - DEF_pos_out_52_EQ_dim_13_MINUS_1_54___d155 = DEF_x__h4098 == ((tUInt8)255u & (DEF_x__h4114 - (tUInt8)1u)); - DEF_x__h4028 = DEF_x__h4062 + DEF_y__h4063; - DEF_x__h4079 = (tUInt8)255u & (DEF_x__h4098 + (tUInt8)1u); + DEF_y__h4032 = (tUInt32)(((tUInt64)(DEF_v__h3789)) * ((tUInt64)(DEF_v__h3889))); + DEF_pos_out_52_EQ_dim_13_MINUS_1_54___d155 = DEF_x__h4067 == ((tUInt8)255u & (DEF_x__h4083 - (tUInt8)1u)); + DEF_x__h3997 = DEF_x__h4031 + DEF_y__h4032; + DEF_x__h4048 = (tUInt8)255u & (DEF_x__h4067 + (tUInt8)1u); INST_a_serverAdapter_outData_dequeueing.METH_wset(); INST_a_serverAdapter_outData_beforeDeq.METH_write((tUInt8)1u); + INST_b_serverAdapter_outData_dequeueing.METH_wset(); INST_a_serverAdapter_cnt_2.METH_wset((tUInt8)7u); INST_b_serverAdapter_outData_beforeDeq.METH_write((tUInt8)1u); - INST_b_serverAdapter_outData_dequeueing.METH_wset(); INST_b_serverAdapter_cnt_2.METH_wset((tUInt8)7u); - if (!(PORT_RST_N == (tUInt8)0u)) - dollar_display(sim_hdl, this, "s,32,32", &__str_literal_4, DEF_v__h3789, DEF_v__h3889); - INST_output_res.METH_write(DEF_x__h4028); - INST_pos_out.METH_write(DEF_x__h4079); + INST_output_res.METH_write(DEF_x__h3997); + INST_pos_out.METH_write(DEF_x__h4048); if (DEF_pos_out_52_EQ_dim_13_MINUS_1_54___d155) INST_done_all.METH_write((tUInt8)1u); INST_req_b_ready.METH_write((tUInt8)0u); @@ -430,15 +427,15 @@ void MOD_mkVectorDot::RL_mult_inputs() void MOD_mkVectorDot::METH_start(tUInt8 ARG_start_dim_in, tUInt8 ARG_start_i) { - tUInt8 DEF_y__h4414; - tUInt8 DEF_x__h4395; - DEF_y__h4414 = (tUInt8)255u & ARG_start_i; - DEF_x__h4395 = (tUInt8)((tUInt8)255u & (65535u & (((tUInt32)(ARG_start_dim_in)) * ((tUInt32)(DEF_y__h4414))))); + tUInt8 DEF_y__h4383; + tUInt8 DEF_x__h4364; + DEF_y__h4383 = (tUInt8)255u & ARG_start_i; + DEF_x__h4364 = (tUInt8)((tUInt8)255u & (65535u & (((tUInt32)(ARG_start_dim_in)) * ((tUInt32)(DEF_y__h4383))))); INST_ready_start.METH_write((tUInt8)1u); INST_dim.METH_write(ARG_start_dim_in); INST_done_all.METH_write((tUInt8)0u); - INST_pos_a.METH_write(DEF_x__h4395); - INST_pos_b.METH_write(DEF_x__h4395); + INST_pos_a.METH_write(DEF_x__h4364); + INST_pos_b.METH_write(DEF_x__h4364); INST_done_a.METH_write((tUInt8)0u); INST_done_b.METH_write((tUInt8)0u); INST_pos_out.METH_write((tUInt8)0u); @@ -459,8 +456,8 @@ tUInt8 MOD_mkVectorDot::METH_RDY_start() tUInt32 MOD_mkVectorDot::METH_response() { tUInt32 PORT_response; - DEF_x__h4062 = INST_output_res.METH_read(); - PORT_response = DEF_x__h4062; + DEF_x__h4031 = INST_output_res.METH_read(); + PORT_response = DEF_x__h4031; INST_ready_start.METH_write((tUInt8)0u); return PORT_response; } @@ -613,9 +610,9 @@ unsigned int MOD_mkVectorDot::dump_VCD_defs(unsigned int levels) vcd_set_clock(sim_hdl, num, __clk_handle_0); vcd_write_def(sim_hdl, num++, "x__h3696", 2u); vcd_set_clock(sim_hdl, num, __clk_handle_0); - vcd_write_def(sim_hdl, num++, "x__h4062", 32u); + vcd_write_def(sim_hdl, num++, "x__h4031", 32u); vcd_set_clock(sim_hdl, num, __clk_handle_0); - vcd_write_def(sim_hdl, num++, "x__h4114", 8u); + vcd_write_def(sim_hdl, num++, "x__h4083", 8u); vcd_set_clock(sim_hdl, num, __clk_handle_0); vcd_write_def(sim_hdl, num++, "x__h472", 32u); vcd_set_clock(sim_hdl, num, __clk_handle_0); @@ -837,16 +834,16 @@ void MOD_mkVectorDot::vcd_defs(tVCDDumpType dt, MOD_mkVectorDot &backing) backing.DEF_x__h3696 = DEF_x__h3696; } ++num; - if ((backing.DEF_x__h4062) != DEF_x__h4062) + if ((backing.DEF_x__h4031) != DEF_x__h4031) { - vcd_write_val(sim_hdl, num, DEF_x__h4062, 32u); - backing.DEF_x__h4062 = DEF_x__h4062; + vcd_write_val(sim_hdl, num, DEF_x__h4031, 32u); + backing.DEF_x__h4031 = DEF_x__h4031; } ++num; - if ((backing.DEF_x__h4114) != DEF_x__h4114) + if ((backing.DEF_x__h4083) != DEF_x__h4083) { - vcd_write_val(sim_hdl, num, DEF_x__h4114, 8u); - backing.DEF_x__h4114 = DEF_x__h4114; + vcd_write_val(sim_hdl, num, DEF_x__h4083, 8u); + backing.DEF_x__h4083 = DEF_x__h4083; } ++num; if ((backing.DEF_x__h472) != DEF_x__h472) @@ -924,10 +921,10 @@ void MOD_mkVectorDot::vcd_defs(tVCDDumpType dt, MOD_mkVectorDot &backing) backing.DEF_x__h3692 = DEF_x__h3692; vcd_write_val(sim_hdl, num++, DEF_x__h3696, 2u); backing.DEF_x__h3696 = DEF_x__h3696; - vcd_write_val(sim_hdl, num++, DEF_x__h4062, 32u); - backing.DEF_x__h4062 = DEF_x__h4062; - vcd_write_val(sim_hdl, num++, DEF_x__h4114, 8u); - backing.DEF_x__h4114 = DEF_x__h4114; + vcd_write_val(sim_hdl, num++, DEF_x__h4031, 32u); + backing.DEF_x__h4031 = DEF_x__h4031; + vcd_write_val(sim_hdl, num++, DEF_x__h4083, 8u); + backing.DEF_x__h4083 = DEF_x__h4083; vcd_write_val(sim_hdl, num++, DEF_x__h472, 32u); backing.DEF_x__h472 = DEF_x__h472; vcd_write_val(sim_hdl, num++, DEF_x_wget__h1850, 32u); diff --git a/part_2_vector_multiply/build/mkVectorDot.h b/part_2_vector_multiply/build/mkVectorDot.h index 30128cd..8758d8e 100644 --- a/part_2_vector_multiply/build/mkVectorDot.h +++ b/part_2_vector_multiply/build/mkVectorDot.h @@ -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 * */ @@ -108,8 +108,8 @@ class MOD_mkVectorDot : public Module { private: tUInt32 DEF_x_wget__h1850; tUInt32 DEF_x_wget__h374; - tUInt32 DEF_x__h4062; - tUInt8 DEF_x__h4114; + tUInt32 DEF_x__h4031; + tUInt8 DEF_x__h4083; tUInt8 DEF_x__h3696; tUInt8 DEF_x__h3692; tUInt32 DEF_x__h1948; diff --git a/part_2_vector_multiply/build/mkVectorDot.o b/part_2_vector_multiply/build/mkVectorDot.o index 5ffa545..4fbf67e 100644 Binary files a/part_2_vector_multiply/build/mkVectorDot.o and b/part_2_vector_multiply/build/mkVectorDot.o differ diff --git a/part_2_vector_multiply/build/model_mkTb.cxx b/part_2_vector_multiply/build/model_mkTb.cxx index 96df047..3cd5b10 100644 --- a/part_2_vector_multiply/build/model_mkTb.cxx +++ b/part_2_vector_multiply/build/model_mkTb.cxx @@ -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" @@ -314,8 +314,8 @@ void MODEL_mkTb::get_version(char const **name, char const **build) time_t MODEL_mkTb::get_creation_time() { - /* Thu Feb 22 10:56:48 UTC 2024 */ - return 1708599408llu; + /* Thu Feb 22 10:57:07 UTC 2024 */ + return 1708599427llu; } /* State dumping function */ diff --git a/part_2_vector_multiply/build/model_mkTb.h b/part_2_vector_multiply/build/model_mkTb.h index 46a438e..bb03b28 100644 --- a/part_2_vector_multiply/build/model_mkTb.h +++ b/part_2_vector_multiply/build/model_mkTb.h @@ -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 * */ diff --git a/part_2_vector_multiply/build/model_mkTb.o b/part_2_vector_multiply/build/model_mkTb.o index 481cc6b..958b740 100644 Binary files a/part_2_vector_multiply/build/model_mkTb.o and b/part_2_vector_multiply/build/model_mkTb.o differ