-
Notifications
You must be signed in to change notification settings - Fork 2
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
Provide more types in physical.vhdl #2
Comments
Also, having worked with my own physical types in the past, I have found that at least for currents, the range of values that can be expressed with |
Are voltages, currents, ... a digital problem or do we drift into the AMS world? For my 3 proposed units:
Can use present use cases? |
(Brief since I am limited to a phone) |
OK that makes sense. Would you implement all in one file or in multiple files? The currently proposed package is quite huge and it only covers 4 types (the 3 from above and extensions for time). Can we use a frontend package and split implementations across files? Maybe we should dig for the partial package proposal in P1076 :). |
I'd mimic the separation of the "natures" in VHDL-AMS, and keep everything except the types themselves in _support packages I guess. Yes, they will be big, and they probably need to be generated in some way. |
physical.vhdl
does not contain all physical types that are commonly used for e.g. modelling analog circuits, like voltage, current, resistance etc.Maybe we should even mirror the VHDL-AMS packages and their types one-to-one, the list of which is at http://repo.or.cz/emacs.git/blob/HEAD:/lisp/progmodes/vhdl-mode.el#l5057
The text was updated successfully, but these errors were encountered: