Commit 4c4a8f61 authored by kazushi.kawamura's avatar kazushi.kawamura
Browse files

Change comment out

parent 04549b4c
Loading
Loading
Loading
Loading
+37 −37
Changes for hls_2018/README.md: 37 added lines, 37 removed lines.
Original line number Diff line number Diff line
@@ -27,41 +27,41 @@ Options:
* Input/Output: boardstr(8bit\*41472), seed(32bit), &status(32bit), return(1bit)

## Results
|Q|heap(seed:0)|c-array(seed:0)|
|:---|:---|:---|
|01|1|1|
|02|1|1|
|03|1|1|
|04|1|1|
|05|1|1|
|06|1|1|
|07|1|1|
|08|0|1|
|09|1|1|
|10|1|1|
|11|1|1|
|12|1|1|
|13|1|1|
|14|0|1|
|15|1|1|
|16|1|1|
|17|0|0|
|18|1|1|
|19|0|0|
|20|1|1|
|21|0|0|
|22|1|1|
|23|1|0|
|24|0|0|
|25|0|0|
|26|1|1|
|27|1|0|
|28|1|1|
|29|0|0|
|30|0|0|
|31|0|0|
|32|1|1|
|33|0|0|
|34|0|0|
|Total|22|22|
|Q|heap(seed:0)|c-array(seed:0)|OR|
|:---|:---|:---|:---|
|01|1|1|1|
|02|1|1|1|
|03|1|1|1|
|04|1|1|1|
|05|1|1|1|
|06|1|1|1|
|07|1|1|1|
|08|0|1|1|
|09|1|1|1|
|10|1|1|1|
|11|1|1|1|
|12|1|1|1|
|13|1|1|1|
|14|0|1|1|
|15|1|1|1|
|16|1|1|1|
|17|0|0|0|
|18|1|1|1|
|19|0|0|0|
|20|1|1|1|
|21|0|0|0|
|22|1|1|1|
|23|1|0|1|
|24|0|0|0|
|25|0|0|0|
|26|1|1|1|
|27|1|0|1|
|28|1|1|1|
|29|0|0|0|
|30|0|0|0|
|31|0|0|0|
|32|1|1|1|
|33|0|0|0|
|34|0|0|0|
|Total|22|22|24|
+x+30
Changes for hls_2018/auto/auto_compile.c: 30 added lines, 0 removed lines.
Original line number Diff line number Diff line
#include <stdio.h>
#include <stdlib.h>

#define STRLEN 65536

int main(void){

   char q[STRLEN], command[STRLEN];
   char dir[64] = "../router_01";

   FILE *fp;
   fp = fopen("b.txt", "r");
   if(fp == NULL){
      printf("File does not exist.\n");
      exit(1);
   }

   int counter = 1;
   while(1){
      if(fscanf(fp, "%s", q) == EOF) break;
      printf("Q. %d\n", counter++);
      sprintf(command, "./%s/sim.exe %s", dir, q);
      //printf("(command) %s\n", command);
      int ret = system(command);
      printf("ret: %d\n", ret);
   }
   fclose(fp);
   return 0;
}
+2 −2
Changes for hls_2018/router_03/router.cpp: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -171,8 +171,8 @@ bool pynqrouter(char boardstr[BOARDSTR_SIZE], ap_uint<32> seed, ap_int<32> *stat
        if (next_target == line_num) next_target = 0;

#ifdef DEBUG_PRINT
        cout << "(round " << round << ") LINE #" << (int)(target + 1);
        cout << " -> " << pointer << endl;
        //cout << "(round " << round << ") LINE #" << (int)(target + 1);
        //cout << " -> " << pointer << endl;
#endif
#ifdef DEBUG_PRINT
        int buffer_length = pointer - s_idx[target];