File: autoasciienum_reed.v

package info (click to toggle)
verilog-mode 20161124.fd230e6-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 3,764 kB
  • ctags: 5,143
  • sloc: lisp: 12,430; perl: 293; makefile: 146; sh: 35; fortran: 2
file content (22 lines) | stat: -rw-r--r-- 558 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

module sm ();

   localparam STATES = 7;

   localparam /* synopsys enum states */
     IDLE         = 0, // '001
     READ         = 1, // '002
     THINK        = 2, // '004
     SEND         = 3, // '008
     WAIT         = 4, // '040
     GET_ACK      = 5, // '080
     WAIT_REGBUS  = 6; // '100
   
   reg [STATES-1:0] /*synopsys enum states*/
             state_i, state_r; /* synopsys state_vector state_r */
   
   /*AUTOASCIIENUM("state_r","state_onehot,ascii_r","","onehot")*/

   /*AUTOASCIIENUM("state_r","state_notonehot_ascii_r")*/

endmodule