[VTA] Fix VTA function Vivado Compile Error. (#3375)
authorHua Jiang <huaj@xilinx.com>
Thu, 20 Jun 2019 03:23:50 +0000 (20:23 -0700)
committerThierry Moreau <moreau@uw.edu>
Thu, 20 Jun 2019 03:23:50 +0000 (20:23 -0700)
commit917ad9f6826a7daf52e502c8e1f02ce72b4baefc
treed7943b7cb1219ce02a94c7e788262a9670457ba9
parent947131c8b66c565de2d0f2f21771c7b5b64bdfef
[VTA] Fix VTA function Vivado Compile Error. (#3375)

Issue:
when using vivado compile vta.cc with top function 'vta', vivado
report deadlock error like '...with default size is used in a non -dataflow
region, which may result in deadlock Please consider to resize the
stream using the directive ‘set_directive_stream’ or the ‘HL S stream’
pragma.'

Solution:
give the queue a default size as 8.
vta/hardware/xilinx/src/vta.cc
vta/hardware/xilinx/src/vta.h