-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add analog type to magma for fault mixed signal types #232
Comments
I think the type hierarchy should look like:
I think we should move away from the pattern of |
Hierarchy looks good; only thing I would recommend is to put I also thought it might be interesting to highlight a few ways that typing is used in fault with regard to analog signals. (Since I'm not too familiar with the type system, some of these may not be the "right" way...) Example 1: A type is checked to see if it is a subclass of fault/fault/system_verilog_target.py Lines 550 to 551 in 1abc49b
Example 2: A circuit port is checked to see if it is an instance of Lines 392 to 394 in 1abc49b
Example 3: A port is checked to see if it is an instance of Real/Elect In/Out/InOut. Based on the previous example, maybe Lines 103 to 106 in 1abc49b
Example 4: A Lines 69 to 77 in 1abc49b
|
Related discussion #231
The text was updated successfully, but these errors were encountered: