Skip to content

Design does not compile for some reason. Find undeclared indentifier and try to resolve.

3. Executing SLANG frontend.
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:13356:3: error: unknown module 'ibex_core'
  ibex_core #(
  ^~~~~~~~~
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:35385:13: error: expected identifier
    always @  begin
            ^
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46449:13: error: expected identifier
    always @
            ^
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46494:13: error: expected identifier
    always @ begin  
            ^
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46495:12: error: use of undeclared identifier 'alwaysWriteEnable'
        if(alwaysWriteEnable) begin
           ^~~~~~~~~~~~~~~~~
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46496:13: error: use of undeclared identifier 'memWriteEnable'
            memWriteEnable = 0;  
            ^~~~~~~~~~~~~~
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46498:13: error: use of undeclared identifier 'memWriteEnable'
            memWriteEnable = (!(wr_data[WRITE_ENABLE_FROM_DATA]));  
            ^~~~~~~~~~~~~~
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46498:33: error: use of undeclared identifier 'wr_data'; did you mean 'rd_data'?
            memWriteEnable = (!(wr_data[WRITE_ENABLE_FROM_DATA]));  
                                ^~~~~~~
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46534:12: note: declared here
    assign rd_data = final_dout;
           ^
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46506:30: error: use of undeclared identifier 'wr_data'; did you mean 'rd_data'?
    assign wr_addr_topbits = wr_data[WRITE_ADDRESS_MSB_FROM_DATALSB+1:WRITE_ADDRESS_MSB_FROM_DATALSB];
                             ^~~~~~~
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46534:12: note: declared here
    assign rd_data = final_dout;
           ^
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46507:13: error: expected identifier
    always @  begin
            ^
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46508:9: error: use of undeclared identifier 'rd_dout_muxed'
        rd_dout_muxed[31:0] = mem_dout[31:0];  
        ^~~~~~~~~~~~~
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46508:31: error: use of undeclared identifier 'mem_dout'
        rd_dout_muxed[31:0] = mem_dout[31:0];  
                              ^~~~~~~~
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46509:12: error: use of undeclared identifier 'rd_port_configuration'
        if(rd_port_configuration == 0) begin
           ^~~~~~~~~~~~~~~~~~~~~
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46510:13: error: use of undeclared identifier 'rd_dout_muxed'
            rd_dout_muxed[31:0] = mem_dout[31:0];
            ^~~~~~~~~~~~~
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46510:35: error: use of undeclared identifier 'mem_dout'
            rd_dout_muxed[31:0] = mem_dout[31:0];
                                  ^~~~~~~~
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46511:21: error: use of undeclared identifier 'rd_port_configuration'
        end else if(rd_port_configuration == 1) begin
                    ^~~~~~~~~~~~~~~~~~~~~
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46512:16: error: use of undeclared identifier 'rd_dout_sel'
            if(rd_dout_sel[0] == 0) begin
               ^~~~~~~~~~~
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46513:17: error: use of undeclared identifier 'rd_dout_muxed'
                rd_dout_muxed[15:0] = mem_dout[15:0];
                ^~~~~~~~~~~~~
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46513:39: error: use of undeclared identifier 'mem_dout'
                rd_dout_muxed[15:0] = mem_dout[15:0];
                                      ^~~~~~~~
designs/ihp-sg13g2/riscvar/netlists/riscvar/riscvar.sv:46515:17: error: use of undeclared identifier 'rd_dout_muxed'
                rd_dout_muxed[15:0] = mem_dout[31:16];
                ^~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [--error-limit=]
ERROR: Compilation failed
Command exited with non-zero status 1
Elapsed time: 0:00.17[h:]min:sec. CPU time: user 0.12 sys 0.04 (98%). Peak memory: 70656KB.
make[1]: *** [Makefile:291: do-yosys-canonicalize] Error 1
make: *** [Makefile:294: results/ihp-sg13g2/riscvar/base/1_synth.rtlil] Error 2
Edited by yreis001