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

Support Constants with Bit Width and Radix Notation #147

Open
thomaspepler opened this issue Oct 16, 2024 · 2 comments
Open

Support Constants with Bit Width and Radix Notation #147

thomaspepler opened this issue Oct 16, 2024 · 2 comments

Comments

@thomaspepler
Copy link

Is it possible to support numeric constants with bit width and radix, of the form '? For example: 10'h3ff, which is a 10-bit wide constant with the value 3FF in hexadecimal, equivalent to 1023 in decimal.

@gjcoram
Copy link

gjcoram commented Oct 28, 2024

I suppose it is possible, but since OpenVAF is intended for compact models, those features are pretty low priority.

@Kreijstal
Copy link

we would need to find out where in the code this parsing takes place

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