Package Details: verilator 3.916-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.000607
First Submitted: 2015-10-10 22:00
Last Updated: 2017-11-29 10:30

Latest Comments

Eremiell commented on 2017-11-26 04:02

diff --git a/PKGBUILD b/PKGBUILD
index a146542..90d2ea8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Jeffrey Tolar <tolar.jeffrey at gmail dot com>

pkgname=verilator
-pkgver=3.914
+pkgver=3.916
pkgrel=1
pkgdesc='The fastest free Verilog HDL simulator'
url=http://www.veripool.org/projects/verilator/wiki/Intro
@@ -12,7 +12,7 @@ depends=('gcc-libs')
makedepends=('gcc')

source=("http://www.veripool.org/ftp/${pkgname}-${pkgver}.tgz")
-sha256sums=('90058884e904ecc06cb0765399196b0016f6efb398c9cadb3122ab187b9bfb5f')
+sha256sums=('c8729b762bc40f90afecf5a412331d8c38ee751a177b2db925161da6e9d5b7f0')

build() {
cd "verilator-${pkgver}"

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.