data/full_repos/permissive/207610706/src/host_ctrl.v
 line:345: before: "("
1: b'%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:1: Cannot find include file: ./uart/uart_defines.v\n`include "./uart/uart_defines.v" \n         ^~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/207610706/src,data/full_repos/permissive/207610706/./uart/uart_defines.v\n             data/full_repos/permissive/207610706/src,data/full_repos/permissive/207610706/./uart/uart_defines.v.v\n             data/full_repos/permissive/207610706/src,data/full_repos/permissive/207610706/./uart/uart_defines.v.sv\n             ./uart/uart_defines.v\n             ./uart/uart_defines.v.v\n             ./uart/uart_defines.v.sv\n             obj_dir/./uart/uart_defines.v\n             obj_dir/./uart/uart_defines.v.v\n             obj_dir/./uart/uart_defines.v.sv\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:2: Cannot find include file: wrapper_defines.vh\n`include "wrapper_defines.vh" \n         ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:3: Cannot find include file: aeses_defines.vh\n`include "aeses_defines.vh" \n         ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:272: Define or directive not defined: \'`KEY_128\'\n  host_aes_key_mode_o             <= `KEY_128;\n                                     ^~~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:272: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  host_aes_key_mode_o             <= `KEY_128;\n                                             ^\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:389: Define or directive not defined: \'`UART_REG_LC\'\n    set_uart_op(WRITE_OP,`UART_REG_LC,4\'b1,8\'b10000011);\n                         ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:402: Define or directive not defined: \'`UART_REG_DL1\'\n    set_uart_op(WRITE_OP,`UART_REG_DL1,4\'d1,`UART_CLK_DIV_DEF);      \n                         ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:402: Define or directive not defined: \'`UART_CLK_DIV_DEF\'\n    set_uart_op(WRITE_OP,`UART_REG_DL1,4\'d1,`UART_CLK_DIV_DEF);      \n                                            ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:415: Define or directive not defined: \'`UART_REG_LC\'\n    set_uart_op(WRITE_OP,`UART_REG_LC,4\'b1,8\'b00000011);\n                         ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:445: Define or directive not defined: \'`AESES_RESET_BIT\'\n                    if(data[`AESES_RESET_BIT] == 1\'b1)  \n                            ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:445: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n                    if(data[`AESES_RESET_BIT] == 1\'b1)  \n                                            ^\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:451: Define or directive not defined: \'`AESES_KEY_256_BIT\'\n                        if(data[`AESES_KEY_256_BIT] == 1\'b1)\n                                ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:451: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n                        if(data[`AESES_KEY_256_BIT] == 1\'b1)\n                                                  ^\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:453: Define or directive not defined: \'`KEY_256\'\n                            host_aes_key_mode_next = `KEY_256;\n                                                     ^~~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:455: Define or directive not defined: \'`AESES_KEY_FIELD\'\n                            host_aes_key_mode_next = data[`AESES_KEY_FIELD];\n                                                          ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:457: Define or directive not defined: \'`AESES_EN_BIT\'\n                    else if(data[`AESES_EN_BIT] == 1\'b1)\n                                 ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:463: Define or directive not defined: \'`AESES_ENC_DEC\'\n                        host_aes_enc_decneg_next = data[`AESES_ENC_DEC];\n                                                        ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:463: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n                        host_aes_enc_decneg_next = data[`AESES_ENC_DEC];\n                                                                      ^\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:470: Define or directive not defined: \'`UART_REG_LS\'\n                set_uart_op(READ_OP,`UART_REG_LS,1,0);\n                                    ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:471: Define or directive not defined: \'`UART_LS_DR\'\n                if(wb_ack_uart_i && wb_dat_uart_i[`UART_LS_DR]==1)  \n                                                  ^~~~~~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:471: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n                if(wb_ack_uart_i && wb_dat_uart_i[`UART_LS_DR]==1)  \n                                                             ^\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:478: Unsupported or unknown PLI call: $strobe\n                    $strobe("@%0t: Host0 - UART_FIFO_RX_BUF_HAS_BYTE",$time);\n                    ^~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:483: Define or directive not defined: \'`UART_REG_RB\'\n                set_uart_op(READ_OP,`UART_REG_RB,1,0);\n                                    ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:489: syntax error, unexpected \'=\', expecting IDENTIFIER\n                        ss_next = ss_after_read;\n                                ^\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:494: syntax error, unexpected \'=\', expecting IDENTIFIER\n                        ss_next = CHECK_UART_RXFIFO;\n                                ^\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:499: syntax error, unexpected \'=\', expecting IDENTIFIER\n                    wb_cyc_uart_o_next    = 0;\n                                          ^\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:503: Unsupported or unknown PLI call: $strobe\n                    $strobe("@%0t: Host0 - END_READ_UART",$time);\n                    ^~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:507: syntax error, unexpected \'=\', expecting IDENTIFIER\n                    ss_next = READ_BYTE_UART;\n                            ^\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:508: Unsupported or unknown PLI call: $strobe\n                    $strobe("@%0t: Host0 - TRY_READ_UART",$time);\n                    ^~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:515: Define or directive not defined: \'`UART_REG_LS\'\n    set_uart_op(READ_OP,`UART_REG_LS,1,0);\n                        ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:516: Define or directive not defined: \'`UART_LS_TE\'\n    if(wb_ack_uart_i && wb_dat_uart_i[`UART_LS_TE]==1)\n                                      ^~~~~~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:516: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    if(wb_ack_uart_i && wb_dat_uart_i[`UART_LS_TE]==1)\n                                                 ^\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:524: Unsupported or unknown PLI call: $strobe\n     $strobe("@%0t: Host0 - UART_FIFO_TX_BUF_EMPTY",$time);\n     ^~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:529: Define or directive not defined: \'`UART_REG_TR\'\n    set_uart_op(WRITE_OP,`UART_REG_TR,1, enc_r[ (UART_DW * (15-cnt_recvbyte)) +: 8] );\n                         ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:534: syntax error, unexpected \'=\', expecting IDENTIFIER\n      ss_next = GET_AESES_CONTROL_BYTE;\n              ^\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:539: syntax error, unexpected \'=\', expecting IDENTIFIER\n      ss_next = CHECK_UART_TXFIFO;\n              ^\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:544: syntax error, unexpected \'=\', expecting IDENTIFIER\n     wb_cyc_uart_o_next = 0;\n                        ^\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:547: Unsupported or unknown PLI call: $strobe\n     $strobe("@%0t: Host0 - END_WRITE_UART",$time);\n     ^~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:551: syntax error, unexpected \'=\', expecting IDENTIFIER\n     ss_next = WRITE_BYTE_UART;\n             ^\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:552: Unsupported or unknown PLI call: $strobe\n     $strobe("@%0t: Host0 - TRY_WRITE_UART",$time);\n     ^~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:565: Unsupported or unknown PLI call: $strobe\n     $strobe("@%0t: Host0 - AES_CORE is ready",$time);\n     ^~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:573: Unsupported or unknown PLI call: $strobe\n     $strobe("@%0t: Host0 - key schedule STARTED",$time);\n     ^~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:581: Unsupported or unknown PLI call: $strobe\n     $strobe("@%0t: Host0 - key scheduled DONE, waiting for blocks to encrypt/decrypt",$time);\n     ^~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:591: syntax error, unexpected \'=\', expecting IDENTIFIER\n     ss_next = TRIGGER_DELAY_PRE_COMP;\n             ^\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:592: Unsupported or unknown PLI call: $strobe\n     $strobe("@%0t: Host0 - AES_CORE is ready",$time);\n     ^~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:617: syntax error, unexpected \'=\', expecting IDENTIFIER\n     ss_next = AES_WAIT_COMP_DONE;\n             ^\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:618: Unsupported or unknown PLI call: $strobe\n     $strobe("@%0t: Host0 - AES computation STARTED",$time);\n     ^~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:627: syntax error, unexpected \'=\', expecting IDENTIFIER\n     enc_r_next = aes_host_result_i;\n                ^\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:630: Unsupported or unknown PLI call: $strobe\n     $strobe("@%0t: Host0 - AES computation DONE with output: %h",$time,aes_host_result_i);\n     ^~~~~~~\n%Error: data/full_repos/permissive/207610706/src/host_ctrl.v:670: syntax error, unexpected \'=\', expecting IDENTIFIER\n    reuse_cnt_inc = 1\'b1;\n                  ^\n%Error: Exiting due to too many errors encountered; --error-limit=50\n'
function integer clog2(input integer value);
begin
		if(value==0)
			clog2=0;
		else
		begin
			while(value>0)
			begin
				clog2=clog2+1;
				value=value>>1;
			end
		end
end
endfunction
function integer clog2(input integer value);

begin
		if(value==0)
			clog2=0;
		else
		begin
			while(value>0)
			begin
				clog2=clog2+1;
				value=value>>1;
			end
		end
end
endfunction