mirror of
https://github.com/ehw-fit/ariths-gen.git
synced 2025-04-19 13:30:56 +01:00
884 lines
6.5 KiB
Markdown
884 lines
6.5 KiB
Markdown
# arithmetic_circuit
|
|
|
|
|
|
|
|
|
|
## Methods
|
|
|
|
|
|
### __init__
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### add_component
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
component | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_previous_component
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
number | | 1
|
|
|
|
|
|
|
|
|
|
|
|
### get_instance_num
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
cls | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_unique_one_bit_components
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_unique_multi_bit_components
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_unique_types
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
components | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_component_types
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_sum_wire
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_carry_wire
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_circuit_wires
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_circuit_wire_index
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
wire | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_circuit_gates
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_cgp_wires
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_includes_c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### get_prototype_c
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_declarations_c_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_declaration_c_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_inits_c_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_init_c_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_function_out_c_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_c_code_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
file_object | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_function_blocks_c
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_function_block_c
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_declaration_c_hier
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_wire_declaration_c_hier
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_init_c_hier
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_out_invocation_c
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
circuit_prefix | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_function_out_c_hier
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_circuit_c
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_c_code_hier
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
file_object | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_prototype_v
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_declarations_v_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_declaration_v_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_inits_v_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_init_v_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_function_out_v_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_v_code_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
file_object | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_function_blocks_v
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_function_block_v
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_declaration_v_hier
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_wire_declaration_v_hier
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_init_v_hier
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_invocation_v
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
circuit_prefix | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_function_out_v_hier
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_circuit_v
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_v_code_hier
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
file_object | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_prototype_blif
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_declaration_blif
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_function_blif_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_function_out_blif
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_blif_code_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
file_object | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_function_blif_hier
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_invocation_blif_hier
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
circuit_prefix | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_circuit_blif
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_function_blocks_blif
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_function_block_blif
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_blif_code_hier
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
file_object | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_parameters_cgp
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_triplet_cgp
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_output_cgp
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_cgp_code
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
file_object | |
|
|
|
|
|
|
|
|
|