Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History

pythonTools

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

tb_mpi_eth.sv
Test bench for darius uses below fake instruction

general parameters:
input: w * h * c = 6 * 6 * 8
weights: w * h * c = 1 * 1 * 8 / stride: 1 / pad: 0
output: 6 * 6 * 8 (conv1)
pool: w * h = 2 * 2 / stride: 2
output: 3 * 3 * 8

  1. input image: 288 * 16 bits in size
    ifm_sw = np.array([1] * 288)
  2. parameter: 64 * 16 bits in size
    weights_sw = np.array([1] * 64)
  3. output: software simulation 72 * 16 bits in size
    [[[[8. 8. 8. 8. 8. 8. 8. 8.]
    [8. 8. 8. 8. 8. 8. 8. 8.]
    [8. 8. 8. 8. 8. 8. 8. 8.]]
    [[8. 8. 8. 8. 8. 8. 8. 8.]
    [8. 8. 8. 8. 8. 8. 8. 8.]
    [8. 8. 8. 8. 8. 8. 8. 8.]]
    [[8. 8. 8. 8. 8. 8. 8. 8.]
    [8. 8. 8. 8. 8. 8. 8. 8.]
    [8. 8. 8. 8. 8. 8. 8. 8.]]]]

make simFPGA ARGS=1 LOGICALFILE=./telepathy/middlewareInput/conf0/mpiLogical.xml MAPFILE=./telepathy/middlewareInput/conf0/mpiMap.xml SIM_DIR=./telepathy/sim PROJECTNAME=simTest