_origen#
This is the top-level _origen module which can be imported by Python
Submodules#
_origen.dut- Submodules
_origen.dut.pins- Classes
PinPinContainerPinGroupPinGroup.actionsPinGroup.apply_actions()PinGroup.big_endianPinGroup.capture()PinGroup.cycle()PinGroup.drive()PinGroup.highz()PinGroup.little_endianPinGroup.namePinGroup.overlay()PinGroup.pin_namesPinGroup.repeat()PinGroup.reset()PinGroup.reset_actionsPinGroup.set_actions()PinGroup.verify()PinGroup.width
PinCollectionPinCollection.actionsPinCollection.apply_actions()PinCollection.big_endianPinCollection.capture()PinCollection.cycle()PinCollection.drive()PinCollection.highz()PinCollection.little_endianPinCollection.overlay()PinCollection.pin_namesPinCollection.repeat()PinCollection.reset()PinCollection.reset_actionsPinCollection.set_actions()PinCollection.verify()PinCollection.width
PinHeaderPinHeaderContainerPinActions
- Classes
_origen.dut.registers_origen.dut.timesets
- Classes
PyDUTPyDUT.add_pin()PyDUT.add_pin_alias()PyDUT.add_pin_header()PyDUT.add_timeset()PyDUT.create_memory_map()PyDUT.create_model()PyDUT.empty_regs()PyDUT.get_metadata()PyDUT.get_or_create_address_block()PyDUT.get_or_create_memory_map()PyDUT.group_pins()PyDUT.memory_map()PyDUT.memory_maps()PyDUT.model()PyDUT.model_console_display()PyDUT.override_metadata_at()PyDUT.physical_pin()PyDUT.physical_pins()PyDUT.pin()PyDUT.pin_header()PyDUT.pin_headers()PyDUT.pins()PyDUT.push_metadata()PyDUT.timeset()PyDUT.timesets()
- Submodules
_origen.tester- Classes
PyTesterPyTester.apply_pin_header()PyTester.apply_timeset()PyTester.astPyTester.ast_to_file()PyTester.capture()PyTester.cc()PyTester.cycle()PyTester.end_pattern()PyTester.generate_pattern_header()PyTester.issue_callbacks()PyTester.overlay()PyTester.pin_headerPyTester.register_tester()PyTester.render_pattern()PyTester.repeat()PyTester.reset()PyTester.set_pin_header()PyTester.set_timeset()PyTester.target()PyTester.targetsPyTester.testersPyTester.timeset
- Classes
_origen.application_origen.producer_origen.services_origen.utility- Submodules
_origen.utility.sessions- Classes
OrigenSessionsOrigenSessions.add_group()OrigenSessions.add_standalone()OrigenSessions.app_session()OrigenSessions.app_session_rootOrigenSessions.app_sessionsOrigenSessions.clean()OrigenSessions.delete_group()OrigenSessions.delete_standalone()OrigenSessions.group()OrigenSessions.groupsOrigenSessions.refresh()OrigenSessions.setup()OrigenSessions.standalone()OrigenSessions.standalonesOrigenSessions.unload()OrigenSessions.user_session()OrigenSessions.user_session_rootOrigenSessions.user_sessions
- Classes
_origen.utility.revision_control_origen.utility.unit_testers_origen.utility.publisher_origen.utility.linter_origen.utility.release_scribe_origen.utility.results_origen.utility.website_origen.utility.mailer
- Functions
- Classes
- Submodules
_origen.standard_sub_blocks_origen.prog_gen_origen.plugins_origen.extensions_origen.current_command_origen.infrastructure_origen._origen_metal- Submodules
_origen._origen_metal.framework- Submodules
_origen._origen_metal.framework.reference_files_origen._origen_metal.framework.outcomes_origen._origen_metal.framework.sessions_origen._origen_metal.framework.users- Functions
- Classes
UsersUsers.DATA_FIELDSUsers.add()Users.add_dataset()Users.add_motive()Users.apply_data_lookup_hierarchy()Users.by_roleUsers.clear_current_user()Users.currentUsers.current_userUsers.current_user_as()Users.data_lookup_hierarchyUsers.datakeysUsers.dataset()Users.dataset_for()Users.datasetsUsers.default_auto_populateUsers.default_password_cache_optionUsers.default_rolesUsers.default_should_validate_passwordsUsers.for_exclusive_role()Users.for_role()Users.get()Users.idsUsers.initialUsers.initial_userUsers.items()Users.keys()Users.lookup_current_id()Users.lookup_current_id_functionUsers.lookup_home_dir_functionUsers.motivesUsers.override_default_dataset()Users.populate()Users.register_dataset()Users.remove()Users.rolesUsers.session_configUsers.set_current_user()Users.set_data_lookup_hierarchy()Users.unload()Users.usersUsers.values()
UserUser.add_dataset()User.add_motive()User.add_roles()User.auto_populateUser.clear_cached_password()User.clear_cached_passwords()User.clear_home_dir()User.dataUser.data_lookup_hierarchyUser.data_storeUser.datakeysUser.dataset_for()User.datasetsUser.display_nameUser.emailUser.first_nameUser.home_dirUser.idUser.is_currentUser.is_current_userUser.last_nameUser.motivesUser.otherUser.passwordUser.password_for()User.populate()User.prompt_for_passwordsUser.register_dataset()User.remove_roles()User.require_home_dirUser.rolesUser.sessionUser.session_configUser.sessionsUser.set_home_dir()User.should_validate_passwordsUser.top_datakeyUser.usernameUser.validate_password()
UserDatasetUserDataset.clear_cached_password()UserDataset.clear_home_dir()UserDataset.configUserDataset.dataUserDataset.data_storeUserDataset.dataset_nameUserDataset.display_nameUserDataset.emailUserDataset.first_nameUserDataset.home_dirUserDataset.last_nameUserDataset.otherUserDataset.passwordUserDataset.populate()UserDataset.populate_attemptedUserDataset.populate_failedUserDataset.populate_succeededUserDataset.populatedUserDataset.require_home_dirUserDataset.set_home_dir()UserDataset.should_validate_passwordUserDataset.usernameUserDataset.validate_password()
UserDatasetConfigPopulateUsersReturnPopulateUserReturnUsersSessionConfigUserSessionConfig
_origen._origen_metal.framework.file_permissions_origen._origen_metal.framework.logger
- Submodules
_origen._origen_metal.utils- Submodules
_origen._origen_metal.utils.revision_control_origen._origen_metal.utils.ldap_origen._origen_metal.utils.differ_origen._origen_metal.utils.mailer- Classes
MailerMaillistMaillistsMaillists.dev_maillistsMaillists.develop_maillistsMaillists.development_maillistsMaillists.directoriesMaillists.get()Maillists.items()Maillists.keys()Maillists.maillistsMaillists.maillists_for()Maillists.nameMaillists.prod_maillistsMaillists.production_maillistsMaillists.release_maillistsMaillists.values()
- Classes
_origen._origen_metal.utils.param_str- Classes
ParamStrParamStr.add_default()ParamStr.add_defaults()ParamStr.allows_leading_strParamStr.allows_non_defaultsParamStr.and_parse()ParamStr.clear()ParamStr.defaultsParamStr.dup()ParamStr.duplicate()ParamStr.get()ParamStr.items()ParamStr.keys()ParamStr.leadingParamStr.parse()ParamStr.parsedParamStr.rawParamStr.remove_default()ParamStr.remove_defaults()ParamStr.set()ParamStr.set_allows_leading_str()ParamStr.set_allows_non_defaults()ParamStr.set_leading()ParamStr.set_param()ParamStr.to_str()ParamStr.try_parse()ParamStr.values()
MultiParamStr
- Classes
- Classes
- Submodules
_origen._origen_metal.frontend- Functions
- Classes
PyFrontendPyDataStoresPyDataStoreCategoryPyDataStoreCategory.add()PyDataStoreCategory.autoloadPyDataStoreCategory.get()PyDataStoreCategory.items()PyDataStoreCategory.keys()PyDataStoreCategory.load()PyDataStoreCategory.load_functionPyDataStoreCategory.loadedPyDataStoreCategory.namePyDataStoreCategory.remove()PyDataStoreCategory.unloadedPyDataStoreCategory.values()
_origen._origen_metal.interface- Classes
PyInterfacePyInterface.add_cz_test()PyInterface.add_test()PyInterface.bad_die()PyInterface.bin()PyInterface.descriptionPyInterface.good_die()PyInterface.group()PyInterface.if_enable()PyInterface.if_enabled()PyInterface.if_failed()PyInterface.if_flag()PyInterface.if_job()PyInterface.if_passed()PyInterface.if_ran()PyInterface.log()PyInterface.name_overridePyInterface.render_str()PyInterface.resources()PyInterface.resources_filenamePyInterface.set_resources_filename()PyInterface.test_invocation_options()PyInterface.unless_enable()PyInterface.unless_enabled()PyInterface.unless_failed()PyInterface.unless_flag()PyInterface.unless_job()PyInterface.unless_passed()PyInterface.unless_ran()PyInterface.volatile()
- Classes
_origen._origen_metal.prog_gen- Submodules
- Functions
start_new_flow()end_flow()reset()render_program_for()start_eq_block()end_eq_block()start_neq_block()end_neq_block()set_debugging()start_src_file()end_src_file()processed_ast()processed_ast_str()ast()ast_str()set_test_template_load_path()set_uniqueness_option()set_namespace()set_smt7_options()set_smt8_options()
_origen._origen_metal.tester_apis- Classes
V93KIGXLIGXL.add_ac_spec()IGXL.add_dc_spec()IGXL.add_edgeset()IGXL.add_global_spec()IGXL.add_group_pin()IGXL.add_level()IGXL.add_pin()IGXL.add_power_pin()IGXL.add_reference()IGXL.add_timeset()IGXL.add_timeset_basic()IGXL.add_utility_pin()IGXL.dcvi_powersupply()IGXL.empty()IGXL.functional()IGXL.new_custom_test_instance()IGXL.new_flow_line()IGXL.new_job()IGXL.new_patgroup()IGXL.new_patset()IGXL.new_patsubr()IGXL.new_test_instance()IGXL.other()IGXL.pin_pmu()IGXL.ppmu()IGXL.set_resource_filename()IGXL.set_wait_flags()IGXL.test_instance_group()
- Classes
- Submodules
Functions#
initialize(): Called automatically when Origen is first loadedstatus(): Returns the Origen status which informs whether an app is present, the Origen version,version(): Returns the Origen version formatted into PEP440, e.g. “1.2.3.dev4”config(): Returns the Origen configuration (as defined in origen.toml files)config_metadata(): Undocumented.app_config(): Returns the Origen application configuration (as defined in application.toml)is_app_present(): Undocumented.clean_mode(): clean_mode(name)target_file(): target_file(name, dir)test(): Prints out the AST for the current test to the consoletest_ast(): Returns the AST for the current test in Pythonflow(): Prints out the AST for the current flow to the consoleflow_ast(): Returns the AST for the current flow in Pythonoutput_directory(): Undocumented.website_output_directory(): Undocumented.website_source_directory(): Undocumented.prepare_for_target_load(): This will be called by Origen immediately before loading a fresh set of targetsstart_new_test(): Clears the current test (pattern) AST and starts a new oneunhandled_error_count(): Returns the number of unhandled errors that have been encountered since the Origenset_output_dir(): Set the output directory to be used instead of <APP ROOT>/outputset_reference_dir(): Set the output directory to be used instead of <APP ROOT>/outputexit_pass(): Exit with a passing status code and print a big PASS to the consoleexit_fail(): Exit with a failing status code and print a big FAIL to the consoleenable_debug(): Enable Python source line trackingset_operation(): Set the current Origen operation (generate, compile, etc.)boot_users(): Undocumented.file_handler(): Returns a file handler object (iterable) for consuming the file arguments
- _origen.initialize(log_verbosity, verbosity_keywords, cli_location, cli_version, fe_pkg_loc, fe_exe_loc, invocation)#
Called automatically when Origen is first loaded
- _origen.status()#
Returns the Origen status which informs whether an app is present, the Origen version, etc.
- _origen.version()#
Returns the Origen version formatted into PEP440, e.g. “1.2.3.dev4”
- _origen.config()#
Returns the Origen configuration (as defined in origen.toml files)
- _origen.config_metadata()#
- _origen.app_config()#
Returns the Origen application configuration (as defined in application.toml)
- _origen.is_app_present()#
- _origen.clean_mode(name)#
Sanitizes the given mode string and returns it, but will exit the process if it is invalid
- _origen.target_file(name, dir)#
Sanitizes the given target/env name and returns the matching file, but will exit the process if it does not uniquely identify a single target/env file.
- _origen.test()#
Prints out the AST for the current test to the console
- _origen.test_ast()#
Returns the AST for the current test in Python
- _origen.flow()#
Prints out the AST for the current flow to the console
- _origen.flow_ast()#
Returns the AST for the current flow in Python
- _origen.output_directory()#
- _origen.website_output_directory()#
- _origen.website_source_directory()#
- _origen.prepare_for_target_load()#
This will be called by Origen immediately before loading a fresh set of targets
- _origen.start_new_test(name=None)#
Clears the current test (pattern) AST and starts a new one
- _origen.unhandled_error_count()#
Returns the number of unhandled errors that have been encountered since the Origen invocation started. An unhandled error is something that ultimately resulted in a pattern not being generated or something equally serious.
- _origen.set_output_dir(dir)#
Set the output directory to be used instead of <APP ROOT>/output
- _origen.set_reference_dir(dir)#
Set the output directory to be used instead of <APP ROOT>/output
- _origen.exit_pass()#
Exit with a passing status code and print a big PASS to the console
- _origen.exit_fail()#
Exit with a failing status code and print a big FAIL to the console
- _origen.enable_debug()#
Enable Python source line tracking
- _origen.set_operation(name)#
Set the current Origen operation (generate, compile, etc.)
- _origen.boot_users()#
- _origen.file_handler()#
Returns a file handler object (iterable) for consuming the file arguments given to the CLI