mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-26 07:43:42 +00:00
Combine SB_CARRY+SB_LUT into one $__ICE40_CARRY_LUT4 box
This commit is contained in:
parent
19c1c3cfa3
commit
fc3d74616f
3 changed files with 13 additions and 25 deletions
|
@ -3,15 +3,11 @@
|
||||||
# NB: Inputs/Outputs must be ordered alphabetically
|
# NB: Inputs/Outputs must be ordered alphabetically
|
||||||
# (with exceptions for carry in/out)
|
# (with exceptions for carry in/out)
|
||||||
|
|
||||||
# Inputs: I0 I1 CI
|
# Inputs: A B CI
|
||||||
# Outputs: CO
|
# Outputs: O CO
|
||||||
# (NB: carry chain input/output must be last
|
# (NB: carry chain input/output must be last
|
||||||
# input/output and have been moved there
|
# input/output and have been moved there
|
||||||
# overriding the alphabetical ordering)
|
# overriding the alphabetical ordering)
|
||||||
SB_CARRY 1 1 3 1
|
$__ICE40_CARRY_LUT4 1 1 3 2
|
||||||
|
400 379 316
|
||||||
259 231 126
|
259 231 126
|
||||||
|
|
||||||
# Inputs: I0 I1 I2 I3
|
|
||||||
# Outputs: O
|
|
||||||
SB_LUT4 2 1 4 1
|
|
||||||
449 400 379 316
|
|
||||||
|
|
|
@ -3,15 +3,11 @@
|
||||||
# NB: Inputs/Outputs must be ordered alphabetically
|
# NB: Inputs/Outputs must be ordered alphabetically
|
||||||
# (with exceptions for carry in/out)
|
# (with exceptions for carry in/out)
|
||||||
|
|
||||||
# Inputs: CI I0 I1
|
# Inputs: A B CI
|
||||||
# Outputs: CO
|
# Outputs: O CO
|
||||||
# (NB: carry chain input/output must be last
|
# (NB: carry chain input/output must be last
|
||||||
# input/output and have been moved there
|
# input/output and have been moved there
|
||||||
# overriding the alphabetical ordering)
|
# overriding the alphabetical ordering)
|
||||||
SB_CARRY 1 1 3 1
|
$__ICE40_CARRY_LUT4 1 1 3 2
|
||||||
|
589 558 465
|
||||||
675 609 186
|
675 609 186
|
||||||
|
|
||||||
# Inputs: I0 I1 I2 I3
|
|
||||||
# Outputs: O
|
|
||||||
SB_LUT4 2 1 4 1
|
|
||||||
661 589 558 465
|
|
||||||
|
|
|
@ -3,15 +3,11 @@
|
||||||
# NB: Inputs/Outputs must be ordered alphabetically
|
# NB: Inputs/Outputs must be ordered alphabetically
|
||||||
# (with exceptions for carry in/out)
|
# (with exceptions for carry in/out)
|
||||||
|
|
||||||
# Inputs: I0 I1 CI
|
# Inputs: A B CI
|
||||||
# Outputs: CO
|
# Outputs: O CO
|
||||||
# (NB: carry chain input/output must be last
|
# (NB: carry chain input/output must be last
|
||||||
# input/output and have been moved there
|
# input/output and have been moved there
|
||||||
# overriding the alphabetical ordering)
|
# overriding the alphabetical ordering)
|
||||||
SB_CARRY 1 1 3 1
|
$__ICE40_CARRY_LUT4 1 1 3 2
|
||||||
675 609 278
|
1231 1205 875
|
||||||
|
675 609 278
|
||||||
# Inputs: I0 I1 I2 I3
|
|
||||||
# Outputs: O
|
|
||||||
SB_LUT4 2 1 4 1
|
|
||||||
1285 1231 1205 874
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue