data/full_repos/permissive/179451217/spi_slave.v
1: b'%Error: data/full_repos/permissive/179451217/spi_slave.v:114: syntax error, unexpected \';\', expecting IDENTIFIER\n    input bit;\n             ^\n%Error: data/full_repos/permissive/179451217/spi_slave.v:115: syntax error, unexpected \',\', expecting "\'{"\n    if(MSB_FIRST == 0) shift = {bit, word[WordWidth-1:1]};\n                                   ^\n%Error: data/full_repos/permissive/179451217/spi_slave.v:116: syntax error, unexpected \'}\', expecting "\'"\n    else shift = {word[WordWidth-2:0], bit};\n                                          ^\n%Error: Exiting due to 3 error(s)\n'
function [WordWidth-1:0] shift;
    input [WordWidth-1:0] word;
    input bit;
    if(MSB_FIRST == 0) shift = {bit, word[WordWidth-1:1]};
    else shift = {word[WordWidth-2:0], bit};
endfunction
function [WordWidth-1:0] shift;

    input [WordWidth-1:0] word;
    input bit;
    if(MSB_FIRST == 0) shift = {bit, word[WordWidth-1:1]};
    else shift = {word[WordWidth-2:0], bit};
endfunction