apache / tvm-vta
Duplication

Places in code with 6 or more lines that are exactly the same.

Intro
Learn more...
Duplication Overall
system12% (1,587 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
scala11% (702 lines)
cc15% (363 lines)
v15% (126 lines)
tcl7% (120 lines)
h15% (110 lines)
py9% (66 lines)
sbt76% (64 lines)
cl12% (36 lines)
Duplication per Component (primary)
hardware10% (879 lines)
apps29% (430 lines)
src10% (201 lines)
include30% (59 lines)
config4% (18 lines)

Duplication Between Components (50+ lines)

G apps apps src src apps--src 66 hardware hardware hardware--src 57 include include include--src 55

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 50 longest duplicates.
See data for all 178 duplicates...
Size#FoldersFilesLinesCode
32 x 2 apps/gemm/hardware/chisel
apps/tsim_example/hardware/chisel
20:69 (100%)
20:69 (100%)
view
24 x 2 apps/gemm/src
apps/tsim_example/src
26:64 (24%)
26:64 (26%)
view
24 x 2 apps/gemm/python
apps/tsim_example/python
24:73 (100%)
24:73 (100%)
view
23 x 2 hardware/chisel/src/main/scala/core
hardware/chisel/src/main/scala/core
38:65 (4%)
67:94 (4%)
view
22 x 2 apps/gemm/src
src/tsim
32:64 (22%)
82:114 (17%)
view
22 x 2 apps/tsim_example/src
src/tsim
32:64 (24%)
82:114 (17%)
view
17 x 2 hardware/chisel/src/main/scala/util
hardware/chisel/src/main/scala/util
111:129 (5%)
186:204 (5%)
view
17 x 2 apps/gemm/src
apps/tsim_example/src
87:115 (17%)
80:108 (18%)
view
16 x 2 hardware/intel/scripts
hardware/xilinx/scripts
1:16 (10%)
1:16 (66%)
view
16 x 2 hardware/intel/scripts
hardware/xilinx/scripts
1:16 (10%)
1:16 (3%)
view
16 x 2 hardware/intel/scripts
hardware/xilinx/scripts
1:16 (2%)
1:16 (66%)
view
16 x 2 hardware/xilinx/scripts
hardware/xilinx/scripts
1:16 (13%)
1:16 (66%)
view
16 x 2 hardware/intel/scripts
hardware/intel/scripts/ip/vta
1:16 (10%)
1:16 (10%)
view
16 x 2 hardware/xilinx/scripts
hardware/xilinx/scripts
1:16 (66%)
1:16 (3%)
view
16 x 2 hardware/intel/scripts/ip/vta
hardware/intel/scripts
1:16 (10%)
1:16 (2%)
view
16 x 2 hardware/intel/scripts
hardware/xilinx/scripts
1:16 (10%)
1:16 (13%)
view
16 x 2 hardware/xilinx/scripts
hardware/xilinx/scripts
1:16 (13%)
1:16 (3%)
view
16 x 2 hardware/intel/scripts
hardware/intel/scripts
1:16 (10%)
1:16 (2%)
view
16 x 2 hardware/intel/scripts/ip/vta
hardware/xilinx/scripts
1:16 (10%)
1:16 (66%)
view
16 x 2 hardware/intel/scripts/ip/vta
hardware/xilinx/scripts
1:16 (10%)
1:16 (13%)
view
16 x 2 hardware/intel/scripts
hardware/xilinx/scripts
1:16 (2%)
1:16 (13%)
view
16 x 2 hardware/intel/scripts/ip/vta
hardware/xilinx/scripts
1:16 (10%)
1:16 (3%)
view
16 x 2 hardware/intel/scripts
hardware/xilinx/scripts
1:16 (2%)
1:16 (3%)
view
15 x 2 apps/gemm/hardware/chisel/src/main/scala/accel
apps/tsim_example/hardwa...el/src/main/scala/accel
47:61 (68%)
47:61 (68%)
view
14 x 2 src/dpi
src/dpi
374:387 (3%)
459:472 (3%)
view
14 x 2 include/vta/dpi
src/dpi
78:91 (31%)
458:471 (3%)
view
14 x 2 hardware/chisel/src/main/scala/core
hardware/chisel/src/main/scala/core
106:119 (3%)
124:137 (3%)
view
14 x 2 hardware/chisel/src/main/scala/core
hardware/chisel/src/main/scala/core
87:100 (3%)
124:137 (3%)
view
14 x 2 hardware/chisel/src/main/scala/core
hardware/chisel/src/main/scala/core
87:100 (3%)
106:119 (3%)
view
13 x 2 hardware/chisel/src/main/scala/core
hardware/chisel/src/main/scala/core
550:562 (2%)
730:742 (2%)
view
13 x 2 include/vta/dpi
src/dpi
79:91 (29%)
374:386 (3%)
view
13 x 2 hardware/chisel/src/main/scala/util
hardware/chisel/src/main/scala/util
59:75 (3%)
134:150 (3%)
view
13 x 2 hardware/dpi
src/dpi
64:76 (13%)
375:387 (3%)
view
13 x 2 include/vta
include/vta
144:168 (17%)
208:232 (17%)
view
13 x 2 src/de10nano
src/de10nano
184:196 (3%)
219:231 (3%)
view
13 x 2 hardware/dpi
src/dpi
64:76 (13%)
460:472 (3%)
view
12 x 2 hardware/chisel/src/main/scala/core
hardware/chisel/src/main/scala/core
38:49 (2%)
37:48 (5%)
view
12 x 2 hardware/chisel/src/main/scala/core
hardware/chisel/src/main/scala/core
44:56 (52%)
43:55 (5%)
view
12 x 2 hardware/chisel/src/main/scala/core
hardware/chisel/src/main/scala/core
37:48 (5%)
67:78 (2%)
view
12 x 2 hardware/chisel/src/main/scala/core
hardware/chisel/src/main/scala/core
32:43 (57%)
32:43 (6%)
view
12 x 2 hardware/chisel/src/main/scala/core
hardware/chisel/src/main/scala/core
40:51 (50%)
67:78 (2%)
view
12 x 2 hardware/chisel/src/main/scala/core
hardware/chisel/src/main/scala/core
32:43 (57%)
34:45 (7%)
view
12 x 2 hardware/chisel/src/main/scala/core
hardware/chisel/src/main/scala/core
44:56 (52%)
44:56 (11%)
view
12 x 2 hardware/chisel/src/main/scala/core
hardware/chisel/src/main/scala/core
40:51 (50%)
37:48 (5%)
view
12 x 2 hardware/chisel/src/main/scala/util
hardware/chisel/src/main/scala/util
352:363 (3%)
430:441 (3%)
view
12 x 2 hardware/chisel/src/main/scala/core
hardware/chisel/src/main/scala/core
40:51 (50%)
38:49 (2%)
view
12 x 2 hardware/chisel/src/main/scala/core
hardware/chisel/src/main/scala/core
32:43 (6%)
34:45 (7%)
view
12 x 2 hardware/dpi
include/vta/dpi
64:75 (12%)
80:91 (27%)
view
12 x 2 hardware/chisel/src/main/scala/core
hardware/chisel/src/main/scala/core
44:56 (11%)
43:55 (5%)
view
11 x 2 apps/gemm/src
apps/tsim_example/src
133:149 (11%)
121:137 (12%)
view
Duplicated Units
The list of top 4 duplicated units.
See data for all 4 unit duplicates...
Size#FoldersFilesLinesCode
13 x 2 apps/gemm/hardware/chisel
apps/tsim_example/hardware/chisel
24:41 
24:41 
view
8 x 2 apps/gemm/hardware/chisel
apps/tsim_example/hardware/chisel
43:55 
43:55 
view
8 x 2 apps/gemm/src
apps/tsim_example/src
133:142 
121:130 
view
13 x 2 apps/gemm/python
apps/tsim_example/python
0:0 
0:0 
view