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

SAFEDIV is not included into XMILE specification #39

Open
alexprey opened this issue Oct 4, 2017 · 2 comments
Open

SAFEDIV is not included into XMILE specification #39

alexprey opened this issue Oct 4, 2017 · 2 comments

Comments

@alexprey
Copy link
Collaborator

alexprey commented Oct 4, 2017

Model file: https://github.com/SDXorg/test-models/blob/master/tests/xidz_zidz/xidz_zidz.xmile

This model file has wrong definition for XMILE specification http://docs.oasis-open.org/xmile/xmile/v1.0/csprd01/xmile-v1.0-csprd01.html

SAFEDIV function is not exists by specification.


Regards,
Alexey from sdCloud.io development team.

@JamesPHoughton
Copy link
Contributor

@wasbridge - is this one of the xmutil translated tests?

@wasbridge
Copy link
Contributor

Yes -- this is a translated test from XMUtil -- XMUtil takes XIDZ and ZIDZ and turns them into a Stella specific function (missing from XMILE) called SAFEDIV(num, denom, val). For a v2 of the spec we should probably add SAFEDIV or something like it since there is currently no clean way to do it in "native" XMILE

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

No branches or pull requests

3 participants