Files of a 5*2^n VHDL entity using Winograd5 and radix2 implementations
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
294B

  1. function write_file(input, file, nb_words_per_line, words_format)
  2. input_format = '';
  3. for i=1:nb_words_per_line
  4. input_format = strcat(input_format,words_format);
  5. end
  6. input_format = strcat(input_format,'\n');
  7. fin = fopen(file,'w');
  8. fprintf(fin,input_format,input);
  9. fclose(fin);
  10. end