File: t_math_div0.v

package info (click to toggle)
verilator 3.864-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 12,272 kB
  • ctags: 19,637
  • sloc: cpp: 57,401; perl: 8,764; yacc: 2,559; lex: 1,727; makefile: 658; sh: 175
file content (11 lines) | stat: -rw-r--r-- 201 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
module t(y);
   output [3:0] y;
   // bug775
   // verilator lint_off WIDTH
   assign y = ((0/0) ? 1 : 2) % 0;

   initial begin
      $write("*-* All Finished *-*\n");
      $finish;
   end
endmodule