File: t_math_repl_bad.out

package info (click to toggle)
verilator 5.032-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 93,932 kB
  • sloc: cpp: 131,288; python: 19,365; ansic: 10,234; yacc: 5,733; lex: 1,905; makefile: 1,229; sh: 489; perl: 282; fortran: 22
file content (19 lines) | stat: -rw-r--r-- 1,304 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
%Error-ZEROREPL: t/t_math_repl_bad.v:12:14: Replication value of 0 is only legal under a concatenation (IEEE 1800-2023 11.4.12.1)
                                          : ... note: In instance 't'
   12 |       o = {0 {1'b1}};   
      |              ^
                 ... For error description see https://verilator.org/warn/ZEROREPL?v=latest
%Warning-WIDTHEXPAND: t/t_math_repl_bad.v:12:9: Operator ASSIGN expects 32 bits on the Assign RHS, but Assign RHS's REPLICATE generates 1 bits.
                                              : ... note: In instance 't'
   12 |       o = {0 {1'b1}};   
      |         ^
                      ... Use "/* verilator lint_off WIDTHEXPAND */" and lint_on around source to disable this message.
%Error: t/t_math_repl_bad.v:13:43: Replication value isn't a constant.
                                 : ... note: In instance 't'
   13 |       o = {$test$plusargs("NON-CONSTANT") {1'b1}};   
      |                                           ^
%Warning-WIDTHEXPAND: t/t_math_repl_bad.v:13:9: Operator ASSIGN expects 32 bits on the Assign RHS, but Assign RHS's REPLICATE generates 1 bits.
                                              : ... note: In instance 't'
   13 |       o = {$test$plusargs("NON-CONSTANT") {1'b1}};   
      |         ^
%Error: Exiting due to