origen#
Submodules#
origen.__bin__origen.application- Classes
ApplicationApplication.app_dirApplication.app_sessionApplication.block_path_to_dir()Application.check_production_status()Application.commands_dirApplication.compile()Application.compilerApplication.config_dirApplication.hey()Application.instantiate_block()Application.instantiate_block_from_mod()Application.instantiate_dut()Application.is_pluginApplication.linterApplication.load_block_files()Application.mailerApplication.nameApplication.output_dirApplication.pluginApplication.publisherApplication.python_dirApplication.rcApplication.release_scribeApplication.rootApplication.sessionApplication.translate()Application.translatorApplication.unit_testerApplication.user_sessionApplication.versionApplication.website_output_dirApplication.website_release_locationApplication.website_release_nameApplication.website_source_dir
BaseBase.app_dirBase.app_sessionBase.block_path_to_dir()Base.check_production_status()Base.commands_dirBase.compile()Base.compilerBase.config_dirBase.instantiate_block()Base.instantiate_block_from_mod()Base.instantiate_dut()Base.is_pluginBase.linterBase.load_block_files()Base.mailerBase.nameBase.output_dirBase.pluginBase.publisherBase.python_dirBase.rcBase.release_scribeBase.rootBase.sessionBase.translate()Base.translatorBase.unit_testerBase.user_sessionBase.versionBase.website_output_dirBase.website_release_locationBase.website_release_nameBase.website_source_dir
- Classes
origen.attributesorigen.blocks- Submodules
origen.blocks.memories- Classes
FlashFlash.add_reg()Flash.add_simple_reg()Flash.add_sub_block()Flash.appFlash.block_dirFlash.block_pathFlash.cc()Flash.currently_loading()Flash.done_loading()Flash.endFlash.end_addrFlash.end_addressFlash.firstFlash.first_addrFlash.first_addressFlash.is_currently_loading()Flash.is_flashFlash.is_genericFlash.is_ramFlash.is_romFlash.is_topFlash.lastFlash.last_addrFlash.last_addressFlash.lengthFlash.mem()Flash.memory_map()Flash.model()Flash.model_idFlash.nameFlash.pathFlash.preface()Flash.reg()Flash.shutdown()Flash.sizeFlash.startFlash.start_addrFlash.start_addressFlash.startup()Flash.tree()Flash.tree_as_str()
GenericGeneric.add_reg()Generic.add_simple_reg()Generic.add_sub_block()Generic.appGeneric.block_dirGeneric.block_pathGeneric.cc()Generic.currently_loading()Generic.done_loading()Generic.endGeneric.end_addrGeneric.end_addressGeneric.firstGeneric.first_addrGeneric.first_addressGeneric.is_currently_loading()Generic.is_flashGeneric.is_genericGeneric.is_ramGeneric.is_romGeneric.is_topGeneric.lastGeneric.last_addrGeneric.last_addressGeneric.lengthGeneric.mem()Generic.memory_map()Generic.model()Generic.model_idGeneric.nameGeneric.pathGeneric.preface()Generic.reg()Generic.shutdown()Generic.sizeGeneric.startGeneric.start_addrGeneric.start_addressGeneric.startup()Generic.tree()Generic.tree_as_str()
RAMRAM.add_reg()RAM.add_simple_reg()RAM.add_sub_block()RAM.appRAM.block_dirRAM.block_pathRAM.cc()RAM.currently_loading()RAM.done_loading()RAM.endRAM.end_addrRAM.end_addressRAM.firstRAM.first_addrRAM.first_addressRAM.is_currently_loading()RAM.is_flashRAM.is_genericRAM.is_ramRAM.is_romRAM.is_topRAM.lastRAM.last_addrRAM.last_addressRAM.lengthRAM.mem()RAM.memory_map()RAM.model()RAM.model_idRAM.nameRAM.pathRAM.preface()RAM.reg()RAM.shutdown()RAM.sizeRAM.startRAM.start_addrRAM.start_addressRAM.startup()RAM.tree()RAM.tree_as_str()
ROMROM.WriteROMErrorROM.add_reg()ROM.add_simple_reg()ROM.add_sub_block()ROM.appROM.block_dirROM.block_pathROM.cc()ROM.currently_loading()ROM.done_loading()ROM.endROM.end_addrROM.end_addressROM.firstROM.first_addrROM.first_addressROM.is_currently_loading()ROM.is_flashROM.is_genericROM.is_ramROM.is_romROM.is_topROM.lastROM.last_addrROM.last_addressROM.lengthROM.mem()ROM.memory_map()ROM.model()ROM.model_idROM.nameROM.pathROM.preface()ROM.reg()ROM.shutdown()ROM.sizeROM.startROM.start_addrROM.start_addressROM.startup()ROM.tree()ROM.tree_as_str()ROM.write_register()
- Classes
- Submodules
origen.bootorigen.callbacksorigen.compilerorigen.controller- Classes
BaseBase.add_reg()Base.add_simple_reg()Base.add_sub_block()Base.appBase.block_dirBase.block_pathBase.cc()Base.currently_loading()Base.done_loading()Base.is_currently_loading()Base.is_topBase.mem()Base.memory_map()Base.model()Base.model_idBase.nameBase.pathBase.preface()Base.reg()Base.shutdown()Base.startup()Base.tree()Base.tree_as_str()
ProxiesTopLevelTopLevel.add_reg()TopLevel.add_simple_reg()TopLevel.add_sub_block()TopLevel.appTopLevel.block_dirTopLevel.block_pathTopLevel.cc()TopLevel.currently_loading()TopLevel.dbTopLevel.done_loading()TopLevel.initialized()TopLevel.is_currently_loading()TopLevel.is_topTopLevel.mem()TopLevel.memory_map()TopLevel.model()TopLevel.model_idTopLevel.nameTopLevel.pathTopLevel.preface()TopLevel.reg()TopLevel.shutdown()TopLevel.startup()TopLevel.tree()TopLevel.tree_as_str()
- Classes
origen.errorsorigen.helpers- Submodules
origen.helpers.docorigen.helpers.envorigen.helpers.numorigen.helpers.regressions- Submodules
origen.helpers.regressions.cli- Submodules
origen.helpers.regressions.cli._origenorigen.helpers.regressions.cli.command- Classes
CmdCmd.extend()Cmd.full_nameCmd.gen_error()Cmd.get_help_msg()Cmd.get_help_msg_str()Cmd.global_demo()Cmd.is_app_cmdCmd.is_aux_cmdCmd.is_core_cmdCmd.is_pl_cmdCmd.num_argsCmd.num_optsCmd.replace_subcmds()Cmd.reserved_opt_ln_conflict_msg()Cmd.reserved_opt_lna_conflict_msg()Cmd.reserved_opt_sn_conflict_msg()Cmd.reserved_opt_sna_conflict_msg()Cmd.run()Cmd.update_subc()Cmd.visible_opts
CmdArgCmdArgOptCmdDemoCmdExtOptCmdOptSrcTypes
- Classes
origen.helpers.regressions.cli.help_msg- Classes
HelpMsgHelpMsg.assert_arg_at()HelpMsg.assert_args()HelpMsg.assert_bare_app_opts()HelpMsg.assert_bare_opts()HelpMsg.assert_cmd()HelpMsg.assert_ext_at()HelpMsg.assert_help_opt_at()HelpMsg.assert_help_subcmd_at()HelpMsg.assert_mode_opt_at()HelpMsg.assert_no_targets_opt_at()HelpMsg.assert_not_extendable()HelpMsg.assert_num_args()HelpMsg.assert_num_opts()HelpMsg.assert_opt_at()HelpMsg.assert_opts()HelpMsg.assert_subcmd_at()HelpMsg.assert_subcmds()HelpMsg.assert_summary()HelpMsg.assert_targets_opt_at()HelpMsg.assert_v_opt_at()HelpMsg.assert_vk_opt_at()HelpMsg.logged_errorsHelpMsg.not_extendable_msgHelpMsg.subcmd_names
- Classes
origen.helpers.regressions.cli.origen- Functions
- Classes
CoreCommandsCoreCommandsPropertiesCoreErrorMessagesCoreErrorMessages.cmd_building_err_prefix()CoreErrorMessages.conflict_msg()CoreErrorMessages.invalid_subc_msg()CoreErrorMessages.missing_arg_val_msg()CoreErrorMessages.missing_ln_val_msg()CoreErrorMessages.missing_required_arg()CoreErrorMessages.missing_sn_val_msg()CoreErrorMessages.reserved_opt_ln_conflict_msg()CoreErrorMessages.reserved_opt_lna_conflict_msg()CoreErrorMessages.reserved_opt_sn_conflict_msg()CoreErrorMessages.reserved_opt_sna_conflict_msg()CoreErrorMessages.too_many_args()CoreErrorMessages.unknown_arg_msg()CoreErrorMessages.unknown_opt_msg()
CoreOptsGlobalCommandsGlobalCommands.NamesGlobalCommands.Names.aux_cmdsGlobalCommands.Names.buildGlobalCommands.Names.credsGlobalCommands.Names.envGlobalCommands.Names.evalGlobalCommands.Names.execGlobalCommands.Names.fmtGlobalCommands.Names.iGlobalCommands.Names.newGlobalCommands.Names.plGlobalCommands.Names.plsGlobalCommands.Names.proj
GlobalCommands.aux_cmdsGlobalCommands.cmdsGlobalCommands.commandsGlobalCommands.credsGlobalCommands.envGlobalCommands.evalGlobalCommands.execGlobalCommands.iGlobalCommands.namesGlobalCommands.newGlobalCommands.origenGlobalCommands.plGlobalCommands.plsGlobalCommands.v
InAppCommandsInAppCommands.NamesInAppCommands.Names.appInAppCommands.Names.aux_cmdsInAppCommands.Names.credsInAppCommands.Names.envInAppCommands.Names.evalInAppCommands.Names.execInAppCommands.Names.generateInAppCommands.Names.iInAppCommands.Names.plInAppCommands.Names.plsInAppCommands.Names.save_refInAppCommands.Names.targetInAppCommands.Names.web
InAppCommands.appInAppCommands.aux_cmdsInAppCommands.cmdsInAppCommands.commandsInAppCommands.credsInAppCommands.envInAppCommands.evalInAppCommands.execInAppCommands.generateInAppCommands.iInAppCommands.in_app_optsInAppCommands.namesInAppCommands.origenInAppCommands.plInAppCommands.plsInAppCommands.save_refInAppCommands.standard_opts()InAppCommands.targetInAppCommands.vInAppCommands.web
InAppOpts
- Classes
CLICLI.CmdCLI.Cmd.extend()CLI.Cmd.full_nameCLI.Cmd.gen_error()CLI.Cmd.get_help_msg()CLI.Cmd.get_help_msg_str()CLI.Cmd.global_demo()CLI.Cmd.is_app_cmdCLI.Cmd.is_aux_cmdCLI.Cmd.is_core_cmdCLI.Cmd.is_pl_cmdCLI.Cmd.num_argsCLI.Cmd.num_optsCLI.Cmd.replace_subcmds()CLI.Cmd.reserved_opt_ln_conflict_msg()CLI.Cmd.reserved_opt_lna_conflict_msg()CLI.Cmd.reserved_opt_sn_conflict_msg()CLI.Cmd.reserved_opt_sna_conflict_msg()CLI.Cmd.run()CLI.Cmd.update_subc()CLI.Cmd.visible_opts
CLI.CmdArgCLI.CmdOptCLI.HelpMsgCLI.HelpMsg.assert_arg_at()CLI.HelpMsg.assert_args()CLI.HelpMsg.assert_bare_app_opts()CLI.HelpMsg.assert_bare_opts()CLI.HelpMsg.assert_cmd()CLI.HelpMsg.assert_ext_at()CLI.HelpMsg.assert_help_opt_at()CLI.HelpMsg.assert_help_subcmd_at()CLI.HelpMsg.assert_mode_opt_at()CLI.HelpMsg.assert_no_targets_opt_at()CLI.HelpMsg.assert_not_extendable()CLI.HelpMsg.assert_num_args()CLI.HelpMsg.assert_num_opts()CLI.HelpMsg.assert_opt_at()CLI.HelpMsg.assert_opts()CLI.HelpMsg.assert_subcmd_at()CLI.HelpMsg.assert_subcmds()CLI.HelpMsg.assert_summary()CLI.HelpMsg.assert_targets_opt_at()CLI.HelpMsg.assert_v_opt_at()CLI.HelpMsg.assert_vk_opt_at()CLI.HelpMsg.logged_errorsCLI.HelpMsg.not_extendable_msgCLI.HelpMsg.subcmd_names
CLI.app_sub_cmd()CLI.aux_cmd()CLI.aux_sub_cmd()CLI.cmdsCLI.common_namesCLI.core_optsCLI.err_msgsCLI.error_messagesCLI.eval()CLI.extract_logged_errors()CLI.gen_error()CLI.global_cmdsCLI.global_commandsCLI.global_core_cmdsCLI.global_core_commandsCLI.in_app_cmdsCLI.in_app_commandsCLI.in_app_core_cmdsCLI.in_app_core_commandsCLI.optsCLI.pl_cmd()CLI.pl_sub_cmd()CLI.run_cli_cmd()
CLIProperties
- Submodules
- Submodules
- Functions
- Submodules
origen.interface- Functions
- Classes
BaseInterfaceBaseInterface.add_cz_test()BaseInterface.add_test()BaseInterface.bad_die()BaseInterface.bin()BaseInterface.descriptionBaseInterface.good_die()BaseInterface.group()BaseInterface.if_enable()BaseInterface.if_enabled()BaseInterface.if_failed()BaseInterface.if_flag()BaseInterface.if_job()BaseInterface.if_passed()BaseInterface.if_ran()BaseInterface.include()BaseInterface.log()BaseInterface.name_overrideBaseInterface.optionsBaseInterface.render()BaseInterface.render_str()BaseInterface.resources()BaseInterface.resources_filenameBaseInterface.set_resources_filename()BaseInterface.test_invocation_options()BaseInterface.unless_enable()BaseInterface.unless_enabled()BaseInterface.unless_failed()BaseInterface.unless_flag()BaseInterface.unless_job()BaseInterface.unless_passed()BaseInterface.unless_ran()BaseInterface.volatile()
BasicInterfaceBasicInterface.add_cz_test()BasicInterface.add_test()BasicInterface.bad_die()BasicInterface.bin()BasicInterface.descriptionBasicInterface.good_die()BasicInterface.group()BasicInterface.if_enable()BasicInterface.if_enabled()BasicInterface.if_failed()BasicInterface.if_flag()BasicInterface.if_job()BasicInterface.if_passed()BasicInterface.if_ran()BasicInterface.include()BasicInterface.log()BasicInterface.name_overrideBasicInterface.optionsBasicInterface.render()BasicInterface.render_str()BasicInterface.resources()BasicInterface.resources_filenameBasicInterface.set_resources_filename()BasicInterface.test_invocation_options()BasicInterface.unless_enable()BasicInterface.unless_enabled()BasicInterface.unless_failed()BasicInterface.unless_flag()BasicInterface.unless_job()BasicInterface.unless_passed()BasicInterface.unless_ran()BasicInterface.volatile()
origen.pinsorigen.producerorigen.servicesorigen.sub_blocksorigen.targetorigen.tester- Classes
DummyTesterIGXLIGXL.add_ac_spec()IGXL.add_dc_spec()IGXL.add_dut_pinmap()IGXL.add_dut_timesets_basic()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()
TesterTester.apply_pin_header()Tester.apply_timeset()Tester.astTester.ast_to_file()Tester.capture()Tester.cc()Tester.cycle()Tester.end_pattern()Tester.eq()Tester.generate_pattern_header()Tester.issue_callbacks()Tester.neq()Tester.overlay()Tester.pin_headerTester.register_tester()Tester.render_pattern()Tester.repeat()Tester.reset()Tester.set_pin_header()Tester.set_timeset()Tester.stats()Tester.target()Tester.targetsTester.testersTester.timeset
V93K
- Classes
origen.timesetsorigen.translatororigen.translatorsorigen.unit_helpersorigen.utilityorigen.web- Submodules
origen.web.origen_sphinx_extensionorigen.web.rustdoc- Functions
- Classes
RustDocProjectRustDocProject.BRUSH_FILERustDocProject.BRUSH_PNG_SRCRustDocProject.BRUSH_SVG_SRCRustDocProject.DOWN_ARROW_FILERustDocProject.DOWN_ARROW_PNG_SRCRustDocProject.DOWN_ARROW_SVG_SRCRustDocProject.OVERRIDE_PATHRustDocProject.WHEEL_FILERustDocProject.WHEEL_PNG_SRCRustDocProject.WHEEL_SVG_SRCRustDocProject.build()RustDocProject.cmd()RustDocProject.fix_svg()RustDocProject.mv_docs()
origen.web.shorthand
- Functions
- Submodules
Functions#
__getattr__(): Undocumented.__interactive_context__(): Returns the local context passed to an interactive sectionorigen iis run.flow_ast(): Returns a serialized representation of the AST for the current test program flowhas_plugin(): Returns true if an Origen plugin matching the given name is found in the current environmentload_file(): Undocumented.plugin(): Returns anOrigen applicationinstance representingreg_description_parsing(): Undocumented.set_mode(): Sets the current modestandard_context(): Returns the context (locals) that are available by default within filestest_ast(): Returns a serialized representation of the AST for the current pattern
- origen.__getattr__(name: str)#
- origen.__interactive_context__()#
Returns the local context passed to an interactive section
origen iis run.
- origen.flow_ast() List[str]#
Returns a serialized representation of the AST for the current test program flow
- origen.has_plugin(name)#
Returns true if an Origen plugin matching the given name is found in the current environment
- origen.load_file(path, globals={}, locals={})#
- origen.plugin(name)#
Returns an
Origen applicationinstance representing the given Origen plugin. None is returned if no plugin is found matching the given name within the current environment.
- origen.reg_description_parsing()#
- origen.set_mode(val: str) None#
Sets the current mode
- origen.standard_context()#
Returns the context (locals) that are available by default within files loaded by Origen, e.g. dut, tester, origen, etc.
- origen.test_ast() List[str]#
Returns a serialized representation of the AST for the current pattern
Variables#
- origen.config#
Dictionary of configurable workspace settings.
Keys include:
['python_cmd', 'pkg_server', 'pkg_server_push', 'pkg_server_pull', 'some_val']- Returns:
Configurable workspace settings.
- Return type:
dict
See also
- origen.status#
Dictionary of various application and workspace attributes
- Returns:
Application and/or workspace attributes as key-value pairs.
- Return type:
dict
- origen.root#
If applicable, returns the application’s root.
- Returns:
Application’s root as an OS-specific path object. None: If not in an application’s workspace.
- Return type:
pathlib.Path
- origen.version#
Returns the version of Origen.
- Returns:
Origen version
- Return type:
origen_metal.utils.version.Version
>>> origen.version '2.0.0.dev9'
- origen.logger#
Direct access to the build-in logger module for logging and displaying user-friendly output. Also available as
log- Returns:
Pointer to _origen_metal.framework.logger
- Return type:
_origen_metal.framework.logger
See also
_origen_metal.framework.logger
- origen.running_on_windows#
Indicates if Origen is currently running on Windows.
- Return type:
bool
>>> origen.running_on_windows False
- origen.running_on_linux#
Indicates if Origen is currently running on Linux.
- Return type:
bool
>>> origen.running_on_linux True
- origen.frontend_root#
Returns the directory of the
origenmodule as a pathlib.Path
- origen.app#
Pointer to the current application instance, or
None, if Origen was not invoked from within an application workspace.If
appis notNone, it should be child of the base classorigen.application.BaseSee also
- origen.dut#
Pointer to the current DUT, or
None, if no DUT has been set.if
dutis notNone, then it should be a child of the base classorigen.controller.Base
- origen.tester
Pointer to the global tester object,
origen.tester.Tester
- origen.producer
Pointer to the global producer object,
origen.producer.Producer
- origen.current_user#
- origen.users#
dict-likecontainer for current and addedUsersPut another way, accessor for global
UsersobjectSee also
- origen.mailer#
Accessor to the global
MailerSee also