Need to link SystemC for sc_time_stamp()

This commit is contained in:
felsabbagh3
2019-10-14 23:25:14 -04:00
parent 22f02820cf
commit 8bc3b8b0a5
22 changed files with 958 additions and 372 deletions

View File

@@ -10,6 +10,11 @@ unsigned z[1024] = {0};
#define NUM_COLS 16
#define NUM_ROWS 16
double sc_time_stamp()
{
return 0;
}
void initialize_mats()
{
for (int i = 0; i < (MAT_DIM * MAT_DIM); i++)
@@ -36,14 +41,14 @@ int main()
// vx_print_hex(11);
initialize_mats();
// initialize_mats();
// matrix multiplication
// vx_sq_mat_mult(x, y, z, MAT_DIM);
// vx_print_str("\n\nMatrix multiplication\n");
// print_matrix(z);
print_matrix(x);
// print_matrix(x);
// // matrix addition
// vx_mat_add(x, y, z, NUM_ROWS, NUM_COLS);