Open kumasento opened 3 years ago
tbgen.tcl
open_project -reset tb
add_files {/mnt/ccnas2/bdp/rz3515/projects/phism/tmp/phism/pb-flow.small.polymer/linear-algebra/kernels/2mm/2mm.c} -cflags "-I /mnt/ccnas2/bdp/rz3515/projects/phism/tmp/phism/pb-flow.small.polymer/linear-algebra/kernels/2mm -I /mnt/ccnas2/bdp/rz3515/projects/phism/tmp/phism/pb-flow.small.polymer/utilities -D SMALL_DATASET" -csimflags "-I /mnt/ccnas2/bdp/rz3515/projects/phism/tmp/phism/pb-flow.small.polymer/linear-algebra/kernels/2mm -I /mnt/ccnas2/bdp/rz3515/projects/phism/tmp/phism/pb-flow.small.polymer/utilities -DSMALL_DATASET"
add_files -tb {/mnt/ccnas2/bdp/rz3515/projects/phism/tmp/phism/pb-flow.small.polymer/linear-algebra/kernels/2mm/2mm.c /mnt/ccnas2/bdp/rz3515/projects/phism/tmp/phism/pb-flow.small.polymer/utilities/polybench.c} -cflags "-I /mnt/ccnas2/bdp/rz3515/projects/phism/tmp/phism/pb-flow.small.polymer/linear-algebra/kernels/2mm -I /mnt/ccnas2/bdp/rz3515/projects/phism/tmp/phism/pb-flow.small.polymer/utilities -DSMALL_DATASET" -csimflags "-I /mnt/ccnas2/bdp/rz3515/projects/phism/tmp/phism/pb-flow.small.polymer/linear-algebra/kernels/2mm -I /mnt/ccnas2/bdp/rz3515/projects/phism/tmp/phism/pb-flow.small.polymer/utilities -DSMALL_DATASET"
set_top kernel_2mm
open_solution -reset solution1
set_part "zynq"
create_clock -period "100MHz"
config_bind -effort high
set_directive_array_partition -dim 1 -factor 2 -type block "kernel_2mm" tmp
set_directive_array_partition -dim 2 -factor 2 -type block "kernel_2mm" tmp
set_directive_array_partition -dim 1 -factor 2 -type block "kernel_2mm" A
set_directive_array_partition -dim 2 -factor 3 -type block "kernel_2mm" A
set_directive_array_partition -dim 1 -factor 3 -type block "kernel_2mm" B # < ------ Seems that B should be partitioned into 3 parts.
set_directive_array_partition -dim 2 -factor 2 -type block "kernel_2mm" B
set_directive_array_partition -dim 1 -factor 2 -type block "kernel_2mm" C
set_directive_array_partition -dim 2 -factor 3 -type block "kernel_2mm" C
set_directive_array_partition -dim 1 -factor 2 -type block "kernel_2mm" D
set_directive_array_partition -dim 2 -factor 3 -type block "kernel_2mm" D
csim_design
csynth_design
cosim_design
exit
Mismatched partition has been fixed by #20
Command
Error
Discoveries
From
kernel_2mm.v
From
kernel_2mm.autotb.v
:D
have only one port.B
, while autotb has 2.