Package Details: verilator 3.902-1

Git Clone URL: https://aur.archlinux.org/verilator.git (read-only)
Package Base: verilator
Description: The fastest free Verilog HDL simulator
Upstream URL: http://www.veripool.org/projects/verilator/wiki/Intro
Licenses: LGPL
Submitter: lotrfan
Maintainer: MarcinWieczorek
Last Packager: MarcinWieczorek
Votes: 6
Popularity: 0.040381
First Submitted: 2015-10-10 22:00
Last Updated: 2017-05-12 14:40

Latest Comments

ThonyKoutroulis commented on 2017-04-18 01:57

I just tried building with flex 2.6.1 and got the same error.

In file included from ../V3ParseLex.cpp:37:0:
...

Edit:
Nvm. I can confirm that it builds fine with flex 2.6.1

MarcinWieczorek commented on 2017-01-29 00:10

I have contacted the upstream, seems to be a problem with flex.
I guess we're waiting for a fix. I haven't tried downgrading flex tho.

Edit:
Builds fine with flex 2.6.1

LaloHao commented on 2017-01-28 23:22

It was expected since it is out-of-date but i have not found a solution to this problem, maybe someone did?

In file included from ../V3ParseLex.cpp:37:0:
../verilog.l: En la función miembro ‘virtual int V3LexerBase::yylex()’:
../verilog.l:882:1: error: expected primary-expression before ‘<’ token
<TABLE>{crnl} { NEXTLINE(); yymore(); }
^
../verilog.l:882:8: error: expected primary-expression before ‘{’ token
<TABLE>{crnl} { NEXTLINE(); yymore(); }
^
../verilog.l:883:1: error: expected primary-expression before ‘<’ token
<TABLE>";" { FL; yylval.strp = PARSEP->newString(yytext,yyleng); return yaTABLELINE; }
^
../verilog.l:883:8: error: expected primary-expression before ‘{’ token
<TABLE>";" { FL; yylval.strp = PARSEP->newString(yytext,yyleng); return yaTABLELINE; }
^
../verilog.l:884:1: error: expected primary-expression before ‘<’ token
<TABLE>"endtable" { yy_pop_state(); FL; return yENDTABLE; }
^
../verilog.l:885:1: error: expected primary-expression before ‘<’ token
<TABLE>. { yymore(); }
^
../verilog.l:886:1: error: expected primary-expression before ‘<’ token
<TABLE><<EOF>> { yyerrorf("EOF in TABLE"); yyleng = 0; yy_pop_state(); }
^
../verilog.l:886:8: error: expected primary-expression before ‘.’ token
<TABLE><<EOF>> { yyerrorf("EOF in TABLE"); yyleng = 0; yy_pop_state(); }
^
../verilog.l:886:12: error: expected unqualified-id before ‘{’ token
<TABLE><<EOF>> { yyerrorf("EOF in TABLE"); yyleng = 0; yy_pop_state(); }
^
../verilog.l:887:1: error: expected primary-expression before ‘<’ token

^
../verilog.l:887:8: error: expected primary-expression before ‘<<’ token

^
../verilog.l:887:17: error: expected primary-expression before ‘{’ token

^
../verilog.l:893:1: error: expected primary-expression before ‘<’ token
"`accelerate" { } // Verilog-XL compatibility
^
../verilog.l:893:96: error: expected primary-expression before ‘{’ token
"`accelerate" { } // Verilog-XL compatibility

lotrfan commented on 2016-03-26 22:16

I'm not actively using verilator anymore; I bumped the pkgver and it seemed to build (relatively) cleanly, but that was all the testing I did.