Project

General

Profile

Bug #8847

test_17_01_01_2_1.v: Module 'pulldown' cannot be found

Added by Sergey Smolov over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
05/04/2018
Due date:
% Done:

0%

Estimated time:
Detected in build:
master
Platform:
Published in build:

Description

The 'pulldown' keyword is treated as module name.

To reproduce the bug, uncomment the runTest_17_01_01_2_1() method at VerilogIeeeTestCase. You'll get the following error log:

 runTest_17_01_01_2_1 STANDARD_OUT
    Module name: disp
    Including file 'L:\work\veritrans\src\test\verilog\ieee-tests\test_17_01_01_2_1.v' ...
    Starting the backend 'static-checker'...
    Instance: null
    Declaration for node 'pd[]' has not been found
    Declaration for node 'rval[]' has found: DECLARATION(rval)
    Declaration for node 'rval[]' has found: DECLARATION(rval)
    Declaration for node 'rval[]' has found: DECLARATION(rval)
    Declaration for node 'rval[]' has found: DECLARATION(rval)
    Declaration for node 'rval[]' has found: DECLARATION(rval)
    Declaration for node 'rval[]' has found: DECLARATION(rval)
    Declaration for node 'pd[]' has not been found
    Starting the backend 'printer'...
    module disp();
      reg [31:0] rval;
      /* DECL: null */
      pulldown null
      (
        pd
      );
      initial
        begin
           rval /* DECL: rval */ = 101;
          /* DECL: null */
          $display(0010001001101100011000010110110101101001011000110110010101100100001000000110010000100101001000000111100001100101011010000010000001101000001001010010000000111101001000000110110001100001011101100111001000100010, rval, rval);
          /* DECL: null */
          $display(0010001001101110011010010110001000100000011000100010010100100000001111010010000001101100011000010111011001110010011011100101110001101100011000010111010001100011011011110010000001101111001001010010000000111101001000000110110001100001011101100111001000100010, rval, rval);
          /* DECL: null */
          $display(0010001001100101011101010110110001100001011101100010000001110010011001010111010001100011011000010111001001100001011010000110001100100000011010010110100101100011011100110110000100100000011000110010010100100000011100110110000101101000001000000110110001100001011101100111001000100010, rval);
          /* DECL: null */
          $display(00100010011101100010010100100000011100110110100100100000011001010111010101101100011000010111011000100000011010000111010001100111011011100110010101110010011101000111001100100000011001000111000000100010, pd);
          /* DECL: null */
          $display(001000100110110100100101001000000111001101101001001000000110010101110000011011110110001101110011001000000111010001101110011001010111001001110010011101010110001100100010);
          /* DECL: null */
          $display(001000100011000100110000001100010010000001110010011011110110011000100000011001010111010101101100011000010111011000100000011010010110100101100011011100110110000100100000011100110110100100100000011100110010010100100010, 101);
          /* DECL: null */
          $display(0010001001110100001001010010000001110011011010010010000001100101011011010110100101110100001000000110111001101111011010010111010001100001011011000111010101101101011010010111001100100010, f());
        end
    endmodule

    Starting the backend 'design-elaborator'...
    Expanding node 'MODULE(disp)'...
    Bindings: {rval=rval}
    Variables: {rval=DECLARATION(rval)}
    Module 'pulldown' cannot be found

Unexpected exception thrown.

History

#1

Updated by Alexander Kamkin about 2 years ago

  • Status changed from New to Resolved
#2

Updated by Alexander Kamkin about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF