Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2x module tests #18

Merged
merged 212 commits into from
Nov 27, 2019
Merged

v2x module tests #18

merged 212 commits into from
Nov 27, 2019

Conversation

glatosinski
Copy link
Contributor

This package contains the initial implementation of tests for vlog_to_pbtype and vlog_to_model functions. The tests are implemented with use of pytest module. This pull request also adds more test files from https://github.com/SymbiFlow/symbiflow-arch-defs/tree/master/utils/vlog/tests in such a way that the history of those files is preserved.

The tests are in WIP stage due to the lack of XML postprocessing implementation in Python (currently the canonicalizing of XML files was performed with CMake and xsltproc).

gatecat and others added 30 commits November 6, 2019 12:06
Signed-off-by: David Shah <davey1576@gmail.com>
Signed-off-by: David Shah <davey1576@gmail.com>
Signed-off-by: David Shah <davey1576@gmail.com>
Signed-off-by: David Shah <davey1576@gmail.com>
Signed-off-by: David Shah <davey1576@gmail.com>
Signed-off-by: David Shah <davey1576@gmail.com>
Signed-off-by: David Shah <davey1576@gmail.com>
Signed-off-by: David Shah <davey1576@gmail.com>
Signed-off-by: David Shah <davey1576@gmail.com>
Signed-off-by: David Shah <davey1576@gmail.com>
Signed-off-by: David Shah <davey1576@gmail.com>
Signed-off-by: David Shah <davey1576@gmail.com>
 * abc/sim.v -> abc/abc.sim.v

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Signed-off-by: David Shah <davey1576@gmail.com>
…g includes

Signed-off-by: David Shah <davey1576@gmail.com>
Signed-off-by: David Shah <davey1576@gmail.com>
Signed-off-by: David Shah <davey1576@gmail.com>
Simple tests of the XML from Verilog scripts are now covered
by within testarch instead.

Signed-off-by: David Shah <davey1576@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Part of Issue #599.

Working;
 * `fig41-full-adder`
 * `fig42-dff`

Still disabled;
 * `dsp_combinational`
 * `dsp_in_registered`
 * `dsp_inout_registered`
 * `dsp_inout_registered_dualclk`
 * `dsp_modes`
 * `dsp_out_registered`
 * `dsp_partial_registered`
 * `simple_pll`

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
See issue #633 for more work needed by this test.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
elms and others added 24 commits November 25, 2019 11:40
Signed-off-by: Elms <elmsfu@freshred.net>
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
The resulting XML files for Python 3.5 are different between consecutive
runs, while the version of Yosys and version of lxml (and other
packages) are the same.

Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
Testing within Travis CI with Python 3.6 results in error:

"Direct url requirement (like vtr_xml_utils@
git+https://github.com/Symbiflow/vtr-xml-utils) are not allowed for
dependencies"

In Python 3.5 and 3.7 the error does not occur in Travis CI.

Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
@glatosinski glatosinski force-pushed the v2x-tests branch 2 times, most recently from 4813555 to af86409 Compare November 25, 2019 11:20
Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
@kgugala kgugala merged commit 7cdb2b8 into chipsalliance:master Nov 27, 2019
@umarcor umarcor deleted the v2x-tests branch May 16, 2022 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet