mirror of
https://github.com/ehw-fit/ariths-gen.git
synced 2025-04-22 14:51:22 +01:00
150 lines
1.2 KiB
Markdown
150 lines
1.2 KiB
Markdown
# multiplier_circuit
|
|
|
|
|
|
|
|
|
|
## Methods
|
|
|
|
|
|
### __init__
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_previous_partial_product
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
a_index | |
|
|
b_index | |
|
|
offset | | 0
|
|
|
|
|
|
|
|
|
|
|
|
### get_maximum_height
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
initial_value | |
|
|
|
|
|
|
|
|
|
|
|
|
### init_column_heights
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
signed | | False
|
|
|
|
|
|
|
|
|
|
|
|
### add_column_wires
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
column | |
|
|
column_index | |
|
|
|
|
|
|
|
|
|
|
|
|
### get_column_height
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
column_num | |
|
|
|
|
|
|
|
|
|
|
|
|
### update_column_heights
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
curr_column | |
|
|
curr_height_change | |
|
|
next_column | | 0
|
|
next_height_change | | 0
|
|
|
|
|
|
|
|
|
|
|
|
### get_column_wire
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
column | |
|
|
bit | |
|
|
|
|
|
|
|
|
|
|
|
|
### update_column_wires
|
|
|
|
|
|
|
|
|
|
#### Parameters
|
|
name | description | default
|
|
--- | --- | ---
|
|
self | |
|
|
curr_column | |
|
|
adder | |
|
|
next_column | | 0
|
|
|
|
|
|
|
|
|