We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
extract_objects_from_source
The following code snippet in the documentation uses extract_objects_from_source when it should use extract_objects
extract_objects
import hdlparse.verilog_parser as vlog vlog_ex = vlog.VerilogExtractor() vlog_mods = vlog_ex.extract_objects_from_source('example.v') for m in vlog_mods: print('Module "{}":'.format(m.name)) print(' Parameters:') for p in m.generics: print('\t{:20}{:8}{}'.format(p.name, p.mode, p.data_type)) print(' Ports:') for p in m.ports: print('\t{:20}{:8}{}'.format(p.name, p.mode, p.data_type))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following code snippet in the documentation uses
extract_objects_from_source
when it should useextract_objects
The text was updated successfully, but these errors were encountered: