Cleanup ice40 boxes

This commit is contained in:
Eddie Hung 2019-12-31 18:29:37 -08:00
parent b2046a2114
commit 2358320f51
3 changed files with 43 additions and 30 deletions

View File

@ -1,13 +1,17 @@
# From https://github.com/cliffordwolf/icestorm/blob/be0bca0/icefuzz/timings_hx8k.txt # From https://github.com/cliffordwolf/icestorm/blob/be0bca0/icefuzz/timings_hx8k.txt
# NB: Inputs/Outputs must be ordered alphabetically # NB: Box inputs/outputs must each be in the same order
# (with exceptions for carry in/out) # as their corresponding module definition
# (with exceptions detailed below)
# Inputs: A B I0 I3 CI # Box 1 : $__ICE40_CARRY_WRAPPER (private cell used to preserve
# Outputs: O CO # SB_LUT4+SB_CARRY)
# (NB: carry chain input/output must be last # (Exception: carry chain input/output must be the
# input/output and have been moved there # last input and output and the entire bus has been
# overriding the alphabetical ordering) # moved there overriding the otherwise
# alphabetical ordering)
# name ID w/b ins outs
$__ICE40_CARRY_WRAPPER 1 1 5 2 $__ICE40_CARRY_WRAPPER 1 1 5 2
400 379 449 316 316 #A B I0 I3 CI
259 231 - - 126 400 379 449 316 316 # O
259 231 - - 126 # CO

View File

@ -1,13 +1,17 @@
# From https://github.com/cliffordwolf/icestorm/blob/be0bca0/icefuzz/timings_lp8k.txt # From https://github.com/cliffordwolf/icestorm/blob/be0bca0/icefuzz/timings_lp8k.txt
# NB: Inputs/Outputs must be ordered alphabetically # NB: Box inputs/outputs must each be in the same order
# (with exceptions for carry in/out) # as their corresponding module definition
# (with exceptions detailed below)
# Inputs: A B I0 I3 CI # Box 1 : $__ICE40_CARRY_WRAPPER (private cell used to preserve
# Outputs: O CO # SB_LUT4+SB_CARRY)
# (NB: carry chain input/output must be last # (Exception: carry chain input/output must be the
# input/output and have been moved there # last input and output and the entire bus has been
# overriding the alphabetical ordering) # moved there overriding the otherwise
# alphabetical ordering)
# name ID w/b ins outs
$__ICE40_CARRY_WRAPPER 1 1 5 2 $__ICE40_CARRY_WRAPPER 1 1 5 2
589 558 661 465 465 #A B I0 I3 CI
675 609 - - 186 589 558 661 465 465 # O
675 609 - - 186 # CO

View File

@ -1,13 +1,18 @@
# From https://github.com/cliffordwolf/icestorm/blob/be0bca0/icefuzz/timings_up5k.txt # From https://github.com/cliffordwolf/icestorm/blob/be0bca0/icefuzz/timings_up5k.txt
# NB: Inputs/Outputs must be ordered alphabetically # NB: Box inputs/outputs must each be in the same order
# (with exceptions for carry in/out) # as their corresponding module definition
# (with exceptions detailed below)
# Inputs: A B I0 I3 CI # Box 1 : $__ICE40_CARRY_WRAPPER (private cell used to preserve
# Outputs: O CO # SB_LUT4+SB_CARRY)
# (NB: carry chain input/output must be last # Outputs: O, CO
# input/output and have been moved there # (Exception: carry chain input/output must be the
# overriding the alphabetical ordering) # last input and output and the entire bus has been
# moved there overriding the otherwise
# alphabetical ordering)
# name ID w/b ins outs
$__ICE40_CARRY_WRAPPER 1 1 5 2 $__ICE40_CARRY_WRAPPER 1 1 5 2
1231 1205 1285 874 874 #A B I0 I3 CI
675 609 - - 278 1231 1205 1285 874 874 # O
675 609 - - 278 # CO