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
Changing outputs of the vlog_to_pbtype function in Python 3.5 #22
Comments
vlog_to_pbtype
function in Python 3.5
@glatosinski Sounds like you are not sorting the output? The following XSL in architecture definitions does the sorting -> https://github.com/SymbiFlow/symbiflow-arch-defs/blob/master/common/xml/sort-tags.xsl
|
I apply the conversion from As for |
@glatosinski I think you should be able to sort the space-separated values with xslt? Maybe something at https://stackoverflow.com/questions/41872791/xsl-for-each-on-space-separated-attribute-values helps?
|
I introduced tests in #18 that are running correctly on Python 3.7 and Python 3.6. However, those tests are failing in Python 3.5.
In Python 3.5, some tests are failing "randomly" - the number of failed tests differ between consecutive runs. The errors are usually some caused by moved lines within the files, or swapped variable order, i.e.:
This issue does not occur in Python 3.6 and Python 3.7. I found a discussion in https://bugs.python.org/issue34160 suggesting that this may be result of quite significant changes in the Python dictionaries between 3.5 and 3.6.
Links to examples of failing pipelines:
https://travis-ci.com/SymbiFlow/python-symbiflow-v2x/jobs/258554284
https://travis-ci.com/SymbiFlow/python-symbiflow-v2x/jobs/258523115
https://travis-ci.com/SymbiFlow/python-symbiflow-v2x/jobs/258519609
https://travis-ci.com/SymbiFlow/python-symbiflow-v2x/jobs/258288841
The text was updated successfully, but these errors were encountered: