The parser doesn't work with VHD records
Jonathan Buse <jonathan.buse@sharp.co.uk>
On 01/02/16 13:25, Jonathan Buse wrote:
>
> Hi
>
>
>
> I was having problems running hdlmake on more complicated projects.
In that it was creating the wrong compile order. One of the dependency
error was to do with records and I have tried to create a test case to
illustrate that. The output is shown below. Additionally it might be
useful if you could manually specify the compile order in such cases as
a temporary measure.
>
>
>
> jbuse@oids-z600-jb /cygdrive/c/hdlmake/hdlmake/tests/trial/source
>
> $ python2.7 /cygdrive/c/hdlmake/hdlmake/hdlmake/main.py --log debug
auto
>
> DEBUG main.py:79: main() Namespace(allow_unknown=False,
arbitrary_code='', command='auto', force=False,
generate_project_vhd=False, log='debug', noprune=False)
>
> DEBUG module.py:149: _search_for_manifest() Looking for manifest
in /cygdrive/c/hdlmake/hdlmake/tests/trial/source
>
> DEBUG module.py:157: _search_for_manifest() Found manifest for
module /cygdrive/c/hdlmake/hdlmake/tests/trial/source: Manifest.py
>
> DEBUG module.py:203: parse_manifest() Parse manifest in:
/cygdrive/c/hdlmake/hdlmake/tests/trial/source
>
> DEBUG module.py:240: process_manifest() Process manifest in:
/cygdrive/c/hdlmake/hdlmake/tests/trial/source
>
> DEBUG module.py:328: process_manifest() Files in
/cygdrive/c/hdlmake/hdlmake/tests/trial/source: ['test_entity.vhd',
'type_def.vhd']
>
> DEBUG srcfile.py:222: new() add file
/cygdrive/c/hdlmake/hdlmake/tests/trial/source/test_entity.vhd
>
> DEBUG srcfile.py:222: new() add file
/cygdrive/c/hdlmake/hdlmake/tests/trial/source/type_def.vhd
>
> DEBUG git.py:65: get_git_submodules() Checking git submodules in
/cygdrive/c/hdlmake/hdlmake/tests/trial/source
>
> INFO main.py:122: main() import tool module: aldec
>
> INFO main.py:155: main() Running automatic flow.
>
> INFO simulation.py:69: _generate_simulation_makefile() Generating
Aldec Active-HDL makefile for simulation.
>
> INFO vhdl_parser.py:61: parse() Parsing
/cygdrive/c/hdlmake/hdlmake/tests/trial/source/type_def.vhd
>
> DEBUG vhdl_parser.py:40: _preporcess_file() preprocess file
/cygdrive/c/hdlmake/hdlmake/tests/trial/source/type_def.vhd (of length
231) in library work
>
> DEBUG vhdl_parser.py:72: do_use() use package
ieee.std_logic_1164
>
> DEBUG vhdl_parser.py:88: do_package() found package
work.type_def
>
> DEBUG vhdl_parser.py:100: do_instance() -> instantiates
work.array1 as abc
>
> DEBUG vhdl_parser.py:100: do_instance() -> instantiates
work.array1 as def
>
> DEBUG vhdl_parser.py:121: do_library() use library ieee
>
> DEBUG new_dep_solver.py:88: solve() Dependency solver investigates
/cygdrive/c/hdlmake/hdlmake/tests/trial/source/type_def.vhd (3
relations)
>
> INFO vhdl_parser.py:61: parse() Parsing
/cygdrive/c/hdlmake/hdlmake/tests/trial/source/test_entity.vhd
>
> DEBUG vhdl_parser.py:40: _preporcess_file() preprocess file
/cygdrive/c/hdlmake/hdlmake/tests/trial/source/test_entity.vhd (of
length 315) in library work
>
> DEBUG vhdl_parser.py:72: do_use() use package
ieee.std_logic_1164
>
> DEBUG vhdl_parser.py:69: do_use() use package work.type_def
>
> DEBUG vhdl_parser.py:79: do_entity() found entity
work.test_entity
>
> DEBUG vhdl_parser.py:121: do_library() use library ieee
>
> WARNING new_dep_solver.py:109: solve() Relation Use entity/module
'work.array1' in type_def.vhd not satisfied by any source file
>
> DEBUG new_dep_solver.py:88: solve() Dependency solver investigates
/cygdrive/c/hdlmake/hdlmake/tests/trial/source/test_entity.vhd (3
relations)
>
> INFO new_dep_solver.py:114: solve() Dependencies solved, but 1
relations were not satisfied.
>
> It doesn't necessarily mean that there is some file missing, as it
might be defined
>
> internally in the compiler.
>
> INFO simulation.py:50: run() Simulation makefile generated.
>
>
>
> Regards
>
>
>
> Jonathan
>
>
>
>
>
> Jonathan Buse
>
> Health and Medical Devices Group
>
>
>
> Sharp Laboratories of Europe Ltd., Oxford Science Park, Oxford, OX4
4GB, UK
>
> W: www.sle.sharp.co.uk | T: +44 1865 747711 |
E:jonathan.buse@sharp.co.uk
>
>