mirror of
https://github.com/ehw-fit/ariths-gen.git
synced 2025-04-26 08:41:32 +01:00
417 lines
3.0 KiB
Markdown
417 lines
3.0 KiB
Markdown
# logic_gate
|
|
|
|
|
|
|
|
|
|
## Methods
|
|
|
|
|
|
### __init__
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
a | |
|
|
b | |
|
|
prefix | | "gate"
|
|
|
|
|
|
|
|
|
|
|
|
### get_component_types
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_includes_c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### get_prototype_c
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_function_c
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_declaration_c_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_init_c_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_assign_c_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_c_code
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
file_object | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_function_block_c
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_gate_invocation_c
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
remove_prefix | | True
|
|
|
|
|
|
|
|
|
|
|
|
### get_gate_output_c
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
a | |
|
|
b | |
|
|
offset | | 0
|
|
|
|
|
|
|
|
|
|
|
|
### get_prototype_v
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_declaration_v_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_init_v_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_assign_v_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_v_code
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
file_object | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_function_block_v
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_gate_invocation_v
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
remove_prefix | | True
|
|
|
|
|
|
|
|
|
|
|
|
### get_prototype_blif
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_declaration_blif
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_init_function_blif_flat
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_blif_code
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
file_object | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_function_block_blif
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_invocation_blif_hier
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
init | | False
|
|
|
|
|
|
|
|
|
|
|
|
### get_parameters_cgp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### get_triplet_cgp
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
a_index | | 0
|
|
b_index | | 1
|
|
|
|
|
|
|
|
|
|
|
|
### get_output_cgp
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
out_index | | 2
|
|
|
|
|
|
|
|
|
|
|
|
### get_cgp_code
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
file_object | |
|
|
|
|
|
|
|
|
|