Re: [myhdl-list] Prerequisites to run the MyHDL regression test
Brought to you by:
jandecaluwe
From: Josy B. <jos...@gm...> - 2015-02-28 19:17:18
|
Christopher Felton <chris.felton <at> gmail.com> writes: > > I do majority of my work on a *nix system. I do have > access to a Windows machine with Python and MyHDL setup. > On this machine I use the git bash [1]. The git bash > will have `make` etc. (I believe). Then I also have > `iverilog` and `modelsim`. Some of the test require > `py.test` [2] to be installed > > The test suite has two categories: > > 1. core (core and core2) > 2. conversion > > The *core* don't require any cosimulation, these you > should be able to run out of the box. > > # setup myhdl, install the latest or create links > >> cd <clone dir>/myhdl/test/core > >> make > > This will run one set of tests, you should see them > all pass > > >> cd <clone dir>/myhdl/test/core2 > >> py.test > > This will run the second set of core tests, again > all should pass. > > For the conversion tests you will need a simulator > installed an possibly the myhdl.vpi built and copied. > The Windows machine I have access to, has modelsim. > > To run the general conversion (these don't require > the myhdl.vpi) > > >> cd <clone dir>myhdl/test/conversion/general > >> make vcom # or make icarus, make GHDL, make vlog > > On my linux machine, I have 3 failing tests on the master > branch with `icarus` and 5 wiht `GHDL`. On the windows > machine I have most tests failing (icarus, GHDL, and VCOM) > ... not sure why. Is this what you are seeing (reporting)? > > The toVerilog directories will require the myhdl.vpi, we > can cover these in a follow-up. > > [1] https://openhatch.org/missions/windows-setup/install-git-bashl > [2] http://pytest.org/latest/getting-started.html > Chris, Thanks for the hints and links. I downloaded git-bash and co, it came with *make* The core tests ran fine, one failure only. IVerilog is not well supported on Windows. As you know I not interested in Verilog, but I agree that I should be able to run the tests, if I start meddling with conversion etc. Maybe I'll set up that VirtualBox to run Linux one day, but my 250 GB SSD is running over ... The other alternative is to install the MingW complied version, but IIRC that's not straightforward either I have Altera's ModelSim ASE. Regards, Josy |