gen_riscv.setup.bundle module

Module

bundle.py

Copyright

Copyright (C) 2026 Vladimir Roncevic <elektron.ronca@gmail.com> gen_riscv is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. gen_riscv is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Info

Defines the gen_riscv bundle.

class gen_riscv.setup.bundle.GenRiscvBundle(*, base: BaseBundle, service: IService, subprocessor: ISubProcessor, cli: ICLI)[source]

Bases: object

GenRiscv bundle holding the components of the gen_riscv.

It defines:

attributes:
base - The base bundle with the base components.
service - The service orchestrating the gen_riscv’s execution.
subprocessor - The adapter executing the gen_riscv’s sub-processes.
cli - The command-line interface adapter.
methods:
to_dict - Converts the gen_riscv bundle to a dictionary.
base: BaseBundle
cli: ICLI
service: IService
subprocessor: ISubProcessor
to_dict() dict[str, object][source]

Converts the gen_riscv bundle to a dictionary.

Returns:

Dictionary representation of the gen_riscv bundle.

Exceptions:

None.