[VTA][TSIM] Verilator compile report error for printf (#3438)
authorHua Jiang <huaj@xilinx.com>
Thu, 27 Jun 2019 16:38:27 +0000 (09:38 -0700)
committerTianqi Chen <tqchen@users.noreply.github.com>
Thu, 27 Jun 2019 16:38:27 +0000 (09:38 -0700)
commit5abbeb7e791e9c063decd131ce7392ffadc054c5
tree6bcc3e482ba3ee90e98b64a0ecddd318d4bf76da
parente1827173f3ff75d3205b51d1634babd617216dd8
[VTA][TSIM] Verilator compile report error for printf (#3438)

[Symptom]
after follow the tsim example readme, doing verilator install by 'sudo apt-get-install verilator'
Once enable 'debug' or manually add 'printf' logic in chisel module, verilator would report
following error.
'syntax error, unexpected INTEGER NUMBER, expecting IDENTIFIER'

[Fix]
upgrade verilator to 4.012, issue fixed.

[Solution]
Link README.md verilator install steps with verilator home website
install instruction.
vta/apps/tsim_example/README.md