File: indent_lineup_inlists.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 (25 lines) | stat: -rw-r--r-- 662 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
23
24
25
module soft_rst ( 
		  // System clock and reset
		  input  clk,
		  input  rst_n,
			 
			 // Interface to software land
		  input  req_soft_rst, // Soft reset request
		  output soft_rst_dne, // Soft reset done
			 
			 // Interface to other modules
		  output dma_halt, // Reset pending, halt activity
		  input  tx_quiet, // TX side is dormant
		  input  rx_quiet, // RX side is dormant
		  output soft_rst, // Soft (sync) reset to VC3 side
		  output hs_async_rst_n // Async reset to host side
		  );
   
   reg [1:0] 		 state;
   
   localparam [1:0] IDLE  = 2'h0,
     HALT 		  = 2'h1,
     RST 		  = 2'h2,
     DONE 		  = 2'h3;
   
endmodule // soft_rst