diff --git a/tests/test_timeloopfe/compare/eyeriss_like_split/new/inputs/arch_split.yaml b/tests/test_timeloopfe/compare/eyeriss_like_split/new/inputs/arch_split.yaml deleted file mode 100644 index d2e0b97..0000000 --- a/tests/test_timeloopfe/compare/eyeriss_like_split/new/inputs/arch_split.yaml +++ /dev/null @@ -1,134 +0,0 @@ -architecture: - # ============================================================ - # Architecture Description - # ============================================================ - version: 0.4 - nodes: # Top-level is hierarchical - - !Container # Top-level system - name: system - - - !Component # DRAM main memory - name: DRAM - class: DRAM - attributes: - type: "LPDDR4" - width: 64 - block_size: 8 - datawidth: 8 - - - !Container # Eyeriss accelerator - name: eyeriss - attributes: - technology: "32nm" - - - !Component # Global buffer for inputs & outputs - name: shared_glb - class: smartbuffer_SRAM - attributes: - memory_depth: 16384 - memory_width: 64 - n_banks: 32 - block_size: 8 - datawidth: 8 - read_bandwidth: 16 - write_bandwidth: 16 - - - !Container # Each column of PEs produces a different psum row - name: PE_column - spatial: {meshX: 14} - - - !Container # Each PE in the column receives a different filter row - name: PE - spatial: {meshY: 12} - - - !Parallel # Input/Output/Weight scratchpads in parallel - nodes: - - !Component # Input scratchpad - name: ifmap_spad - class: smartbuffer_RF - attributes: - memory_depth: 12 - memory_width: 16 - block_size: 2 - datawidth: 8 - read_bandwidth: 2 - write_bandwidth: 2 - - - !Component # Weight scratchpad - name: weights_spad - class: smartbuffer_RF - attributes: - memory_depth: 192 - memory_width: 16 - block_size: 2 - datawidth: 8 - read_bandwidth: 2 - write_bandwidth: 2 - - - !Component # Output scratchpad - name: psum_spad - class: smartbuffer_RF - attributes: - memory_depth: 16 - memory_width: 16 - update_fifo_depth: 2 - block_size: 1 - datawidth: 16 - read_bandwidth: 2 - write_bandwidth: 2 - - - !Component # MAC unit - name: mac - class: intmac - attributes: - multiplier_width: 8 - adder_width: 16 - -# -# The following constraints are limitations of the hardware architecture and dataflow -# - -constraints: - version: 0.4 - targets: - # certain buffer only stores certain datatypes - - target: psum_spad - type: dataspace - bypass: [Inputs, Weights] - keep: [Outputs] - - target: weights_spad - type: dataspace - bypass: [Inputs, Outputs] - keep: [Weights] - - target: ifmap_spad - type: dataspace - bypass: [Weights, Outputs] - keep: [Inputs] - - target: shared_glb - type: dataspace - bypass: [Weights] - keep: [Inputs, Outputs] - - target: PE - type: spatial - split: 4 - permutation: [N, P, Q, R, S, C, M] - factors: [N=1, P=1, Q=1, R=1] - - target: PE_column - type: spatial - split: 7 - permutation: [N, C, P, R, S, Q, M] - factors: [N=1, C=1, P=1, R=1, S=1] - # one ofmap position but of different output channels - - target: psum_spad - type: temporal - permutation: [N, C, P, Q, R, S, M] - factors: [N=1, C=1, R=1, S=1, P=1, Q=1] - # row stationary -> 1 row at a time - - target: weights_spad - type: temporal - permutation: [N, M, P, Q, S, C, R] - factors: [N=1, M=1, P=1, Q=1, S=1] - - target: ifmap_spad - type: temporal - permutation: [N, M, C, P, Q, R, S] - factors: [N=1, M=1, C=1, P=1, Q=1, R=1, S=1] diff --git a/tests/test_timeloopfe/compare/eyeriss_like_split/new/inputs/mapper_quick.yaml b/tests/test_timeloopfe/compare/eyeriss_like_split/new/inputs/mapper_quick.yaml deleted file mode 100644 index bf74981..0000000 --- a/tests/test_timeloopfe/compare/eyeriss_like_split/new/inputs/mapper_quick.yaml +++ /dev/null @@ -1,9 +0,0 @@ -mapper: - version: 0.4 - optimization_metrics: [ edp ] - live_status: False - num_threads: 1 - timeout: 100000 - victory_condition: 1 - algorithm: random_pruned # linear_pruned - diagnostics: False diff --git a/tests/test_timeloopfe/compare/eyeriss_like_split/new/inputs/problem.yaml b/tests/test_timeloopfe/compare/eyeriss_like_split/new/inputs/problem.yaml deleted file mode 100644 index a25d00f..0000000 --- a/tests/test_timeloopfe/compare/eyeriss_like_split/new/inputs/problem.yaml +++ /dev/null @@ -1,63 +0,0 @@ -problem: - version: 0.4 - instance: - C: 3 - H: 224 - Hdilation: 1 - Hpad: 1 - Hstride: 2 - M: 32 - N: 1 - P: 112 - Q: 112 - R: 3 - S: 3 - W: 224 - Wdilation: 1 - Wpad: 1 - Wstride: 2 - shape: - coefficients: - - default: 1 - name: Wstride - - default: 1 - name: Hstride - - default: 1 - name: Wdilation - - default: 1 - name: Hdilation - data_spaces: - - name: Weights - projection: - - - - C - - - - M - - - - R - - - - S - - name: Inputs - projection: - - - - N - - - - C - - - - R - - Wdilation - - - P - - Wstride - - - - S - - Hdilation - - - Q - - Hstride - - name: Outputs - projection: - - - - N - - - - M - - - - Q - - - - P - read_write: true - dimensions: - - C - - M - - R - - S - - N - - P - - Q - name: conv2D diff --git a/tests/test_timeloopfe/compare/eyeriss_like_split/new/inputs/variables.yaml b/tests/test_timeloopfe/compare/eyeriss_like_split/new/inputs/variables.yaml deleted file mode 100644 index d0aa0a4..0000000 --- a/tests/test_timeloopfe/compare/eyeriss_like_split/new/inputs/variables.yaml +++ /dev/null @@ -1,6 +0,0 @@ -# May get overridden by the architecture specification. -variables: - version: 0.4 - technology: 1 - global_cycle_seconds: 1 - diff --git a/tests/test_timeloopfe/compare/eyeriss_like_split/old/inputs/arch_old.yaml b/tests/test_timeloopfe/compare/eyeriss_like_split/old/inputs/arch_old.yaml deleted file mode 100644 index da6c5fc..0000000 --- a/tests/test_timeloopfe/compare/eyeriss_like_split/old/inputs/arch_old.yaml +++ /dev/null @@ -1,150 +0,0 @@ -architecture: - # ============================================================ - # Architecture Description - # ============================================================ - version: 0.3 - subtree: - - name: system - local: - - name: DRAM - class: DRAM - attributes: - type: "LPDDR4" - width: 64 - block_size: 8 - word_bits: 8 - technology: -1 - required_actions: [read, write, update, leak] - subtree: - - name: eyeriss - attributes: - technology: "32nm" - local: - - name: shared_glb - class: smartbuffer_SRAM - attributes: - memory_depth: 16384 - memory_width: 64 - n_banks: 32 - block_size: 8 - word_bits: 8 - read_bandwidth: 16 - write_bandwidth: 16 - technology: -1 - required_actions: [read, write, update, leak] - - name: DummyBuffer[0..13] # for better mapping - class: regfile - attributes: - depth: 16 - width: 16 - word_bits: 16 - block_size: 1 - meshX: 14 - technology: -1 - required_actions: [read, write, update, leak] - subtree: - - name: PE[0..167] - local: - - name: ifmap_spad - class: smartbuffer_RF - attributes: - memory_depth: 12 - memory_width: 16 - block_size: 2 - word_bits: 8 - meshX: 14 - read_bandwidth: 2 - write_bandwidth: 2 - technology: -1 - required_actions: [read, write, update, leak] - - name: weights_spad - class: smartbuffer_RF - attributes: - memory_depth: 192 - memory_width: 16 - block_size: 2 - word_bits: 8 - meshX: 14 - read_bandwidth: 2 - write_bandwidth: 2 - technology: -1 - required_actions: [read, write, update, leak] - - name: psum_spad - class: smartbuffer_RF - attributes: - memory_depth: 16 - memory_width: 16 - update_fifo_depth: 2 - block_size: 1 - word_bits: 16 - meshX: 14 - read_bandwidth: 2 - write_bandwidth: 2 - technology: -1 - required_actions: [read, write, update, leak] - - name: mac - class: intmac - attributes: - meshX : 14 - multiplier_width: 8 - adder_width: 16 - technology: -1 - required_actions: [read, write, update, leak] - -# -# The following constraints are limitations of the hardware architecture and dataflow -# - -architecture_constraints: - version: 0.4 - targets: - # certain buffer only stores certain datatypes - - target: psum_spad - type: bypass - bypass: [Inputs, Weights] - keep: [Outputs] - - target: weights_spad - type: bypass - bypass: [Inputs, Outputs] - keep: [Weights] - - target: ifmap_spad - type: bypass - bypass: [Weights, Outputs] - keep: [Inputs] - - target: DummyBuffer - type: bypass - bypass: [Inputs, Outputs, Weights] - - target: shared_glb - type: bypass - bypass: [Weights] - keep: [Inputs, Outputs] - - target: DummyBuffer - type: spatial - split: 4 - permutation: NPQR SCM - factors: N=1 P=1 Q=1 R=1 - # only allow fanout of M, Q out from glb - - target: shared_glb - type: spatial - split: 7 - permutation: NCPRSQM - factors: N=1 C=1 P=1 R=1 S=1 - # one ofmap position but of different output channels - - target: psum_spad - type: temporal - permutation: NCPQRS M - factors: N=1 C=1 R=1 S=1 P=1 Q=1 - # row stationary -> 1 row at a time - - target: weights_spad - type: temporal - permutation: NMPQS CR - factors: N=1 M=1 P=1 Q=1 S=1 - - target: ifmap_spad - type: temporal - permutation: NMCPQRS - factors: N=1 M=1 C=1 P=1 Q=1 R=1 S=1 - # enforce the hardware limit of the bypassing everything - - target: DummyBuffer - type: temporal - factors: N=1 M=1 C=1 P=1 Q=1 R=1 S=1 - permutation: NMCPQRS \ No newline at end of file diff --git a/tests/test_timeloopfe/compare/eyeriss_like_split/old/inputs/mapper_quick.yaml b/tests/test_timeloopfe/compare/eyeriss_like_split/old/inputs/mapper_quick.yaml deleted file mode 100644 index bf74981..0000000 --- a/tests/test_timeloopfe/compare/eyeriss_like_split/old/inputs/mapper_quick.yaml +++ /dev/null @@ -1,9 +0,0 @@ -mapper: - version: 0.4 - optimization_metrics: [ edp ] - live_status: False - num_threads: 1 - timeout: 100000 - victory_condition: 1 - algorithm: random_pruned # linear_pruned - diagnostics: False diff --git a/tests/test_timeloopfe/compare/eyeriss_like_split/old/inputs/problem.yaml b/tests/test_timeloopfe/compare/eyeriss_like_split/old/inputs/problem.yaml deleted file mode 100644 index a25d00f..0000000 --- a/tests/test_timeloopfe/compare/eyeriss_like_split/old/inputs/problem.yaml +++ /dev/null @@ -1,63 +0,0 @@ -problem: - version: 0.4 - instance: - C: 3 - H: 224 - Hdilation: 1 - Hpad: 1 - Hstride: 2 - M: 32 - N: 1 - P: 112 - Q: 112 - R: 3 - S: 3 - W: 224 - Wdilation: 1 - Wpad: 1 - Wstride: 2 - shape: - coefficients: - - default: 1 - name: Wstride - - default: 1 - name: Hstride - - default: 1 - name: Wdilation - - default: 1 - name: Hdilation - data_spaces: - - name: Weights - projection: - - - - C - - - - M - - - - R - - - - S - - name: Inputs - projection: - - - - N - - - - C - - - - R - - Wdilation - - - P - - Wstride - - - - S - - Hdilation - - - Q - - Hstride - - name: Outputs - projection: - - - - N - - - - M - - - - Q - - - - P - read_write: true - dimensions: - - C - - M - - R - - S - - N - - P - - Q - name: conv2D diff --git a/tests/test_timeloopfe/compare/eyeriss_like_split/old/inputs/variables.yaml b/tests/test_timeloopfe/compare/eyeriss_like_split/old/inputs/variables.yaml deleted file mode 100644 index d0aa0a4..0000000 --- a/tests/test_timeloopfe/compare/eyeriss_like_split/old/inputs/variables.yaml +++ /dev/null @@ -1,6 +0,0 @@ -# May get overridden by the architecture specification. -variables: - version: 0.4 - technology: 1 - global_cycle_seconds: 1 - diff --git a/tests/test_timeloopfe/compare/eyeriss_like_split/old/parsed-processed-input.yaml b/tests/test_timeloopfe/compare/eyeriss_like_split/old/parsed-processed-input.yaml deleted file mode 100644 index f039267..0000000 --- a/tests/test_timeloopfe/compare/eyeriss_like_split/old/parsed-processed-input.yaml +++ /dev/null @@ -1,268 +0,0 @@ -processors: [] -_required_processors: [] -architecture: - version: 0.3 - subtree: - - name: system - local: - - name: DRAM - class: DRAM - attributes: - type: "LPDDR4" - width: 64 - block_size: 8 - word_bits: 8 - technology: -1 - required_actions: - - read - - write - - update - - leak - subtree: - - name: eyeriss - attributes: - technology: "32nm" - local: - - name: shared_glb - class: smartbuffer_SRAM - attributes: - memory_depth: 16384 - memory_width: 64 - n_banks: 32 - block_size: 8 - word_bits: 8 - read_bandwidth: 16 - write_bandwidth: 16 - technology: -1 - required_actions: - - read - - write - - update - - leak - - name: DummyBuffer[0..13] - class: regfile - attributes: - depth: 16 - width: 16 - word_bits: 16 - block_size: 1 - meshX: 14 - technology: -1 - required_actions: - - read - - write - - update - - leak - subtree: - - name: PE[0..167] - local: - - name: ifmap_spad - class: smartbuffer_RF - attributes: - memory_depth: 12 - memory_width: 16 - block_size: 2 - word_bits: 8 - meshX: 14 - read_bandwidth: 2 - write_bandwidth: 2 - technology: -1 - required_actions: - - read - - write - - update - - leak - - name: weights_spad - class: smartbuffer_RF - attributes: - memory_depth: 192 - memory_width: 16 - block_size: 2 - word_bits: 8 - meshX: 14 - read_bandwidth: 2 - write_bandwidth: 2 - technology: -1 - required_actions: - - read - - write - - update - - leak - - name: psum_spad - class: smartbuffer_RF - attributes: - memory_depth: 16 - memory_width: 16 - update_fifo_depth: 2 - block_size: 1 - word_bits: 16 - meshX: 14 - read_bandwidth: 2 - write_bandwidth: 2 - technology: -1 - required_actions: - - read - - write - - update - - leak - - name: mac - class: intmac - attributes: - meshX: 14 - multiplier_width: 8 - adder_width: 16 - technology: -1 - required_actions: - - read - - write - - update - - leak -architecture_constraints: - version: 0.4 - targets: - - target: psum_spad - type: bypass - bypass: - - Inputs - - Weights - keep: - - Outputs - - target: weights_spad - type: bypass - bypass: - - Inputs - - Outputs - keep: - - Weights - - target: ifmap_spad - type: bypass - bypass: - - Weights - - Outputs - keep: - - Inputs - - target: DummyBuffer - type: bypass - bypass: - - Inputs - - Outputs - - Weights - - target: shared_glb - type: bypass - bypass: - - Weights - keep: - - Inputs - - Outputs - - target: DummyBuffer - type: spatial - split: 4 - permutation: NPQR SCM - factors: N=1 P=1 Q=1 R=1 - - target: shared_glb - type: spatial - split: 7 - permutation: NCPRSQM - factors: N=1 C=1 P=1 R=1 S=1 - - target: psum_spad - type: temporal - permutation: NCPQRS M - factors: N=1 C=1 R=1 S=1 P=1 Q=1 - - target: weights_spad - type: temporal - permutation: NMPQS CR - factors: N=1 M=1 P=1 Q=1 S=1 - - target: ifmap_spad - type: temporal - permutation: NMCPQRS - factors: N=1 M=1 C=1 P=1 Q=1 R=1 S=1 - - target: DummyBuffer - type: temporal - factors: N=1 M=1 C=1 P=1 Q=1 R=1 S=1 - permutation: NMCPQRS -mapper: - version: 0.4 - optimization_metrics: - - edp - live_status: false - num_threads: 1 - timeout: 100000 - victory_condition: 1 - algorithm: random_pruned - diagnostics: false -variables: - version: 0.4 - technology: 1 - global_cycle_seconds: 1 -problem: - version: 0.4 - instance: - C: 3 - H: 224 - Hdilation: 1 - Hpad: 1 - Hstride: 2 - M: 32 - N: 1 - P: 112 - Q: 112 - R: 3 - S: 3 - W: 224 - Wdilation: 1 - Wpad: 1 - Wstride: 2 - shape: - coefficients: - - default: 1 - name: Wstride - - default: 1 - name: Hstride - - default: 1 - name: Wdilation - - default: 1 - name: Hdilation - data_spaces: - - name: Weights - projection: - - - - C - - - - M - - - - R - - - - S - - name: Inputs - projection: - - - - N - - - - C - - - - R - - Wdilation - - - P - - Wstride - - - - S - - Hdilation - - - Q - - Hstride - - name: Outputs - projection: - - - - N - - - - M - - - - Q - - - - P - read_write: true - dimensions: - - C - - M - - R - - S - - N - - P - - Q - name: conv2D -_parsed_expressions: true -_processors_run: - - -_processors_run_pre_parse: [] -components: {} -constraints: {} -mapping: [] -sparse_optimizations: {} -mapspace: {}