Re: [myhdl-list] Prerequisites to run the MyHDL regression test
Brought to you by:
jandecaluwe
From: Josy B. <jos...@gm...> - 2015-03-01 13:50:30
|
> You should be fine with the Altera Modelsim then, > you can run the `make vcom`. Are you able to run > `make vcom` with git-bash (you might have to add > the Altera path) in conversion/general? > > Regards, > Chris > Chris, The `make vcom` doesn't work as git-bash expects the .exe extension to find `py.test` . If I give the command `py.test.exe vcom.py test_*.py >utest.log' it seems to run, be it with a lot of failures. But I have `myhdl-0-9-dev` sitting alongside my local `myhdl' and of course the test is using this `myhdl`-tree, and I have a few experimental changes: like instead of `if bool( sig ) then` I made toVHDL() output`if (sig = '1') then`. And the first test fails on that as it has this in the converted putput: ` a <= (not (a = '1'))(0);` where the unmodified myhdl would have produced ` a <= (not bool(a))(0);`, which I don't quite understand either. The main observation is that I'll have to set up that virtual Linux machine anyway. Regards, Josy |