chipsalliance / f4pga-v2x

Tool for converting specialized annotated Verilog models into XML needed for Verilog to Routing flow.
https://f4pga-v2x.readthedocs.io/en/latest/
Apache License 2.0
10 stars 12 forks source link

v2x module tests #18

Closed glatosinski closed 4 years ago

glatosinski commented 5 years ago

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).

mithro commented 5 years ago

I also believe we already have the full history of the tests in the repo?

kgugala commented 5 years ago

I believe we could split the XML post processing into it's own module and import it both here and into the architecture definitions repository?

sure, I created repo for that https://github.com/SymbiFlow/python-symbiflow-xml-utils @glatosinski please push the code there

GitHub
SymbiFlow/python-symbiflow-xml-utils
Contribute to SymbiFlow/python-symbiflow-xml-utils development by creating an account on GitHub.