aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hal-stm32f3/makehtml.sh
blob: 985e4b0e878d2e9481e1ac525bb67ed7adfba4df (plain)
1
2
3
4
5
6
#!/bin/bash
rm html/*
doxygen Doxyfile_html
rm html/*.md5
rm html/*.map
Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
entity Jon is
end Jon;

use std.textio.all;

architecture Taylor of Jon is
begin

process is
  variable buf:line;
  variable s : string(1 to 1);

  variable fstatus : file_open_status;
  file readfile : text;	
  constant temp_string : string := "hello.txt";
begin
   file_open(fstatus, readfile, temp_string, read_mode);
   report "open " & file_open_status'image(fstatus) severity note;
   if fstatus = OPEN_OK then
--      while not endfile(readfile) 
      loop
         readline(readfile, buf);
         read(buf, s);
         report "s= "& s severity note;         
      end loop;
   end if;
   report "done" severity note;
   wait;
end process;

end Taylor;