Skip to content

Intelligent-Computing-Research-Group/PIMLC-Simulator

Repository files navigation

PIMLC-Simulator

This is the simulator to verify the functionality of PIMLC.

Usage

cd benchmarks ./validate.sh -b benchmarkname -r recursivetimes(random mode) -i inputtestdata(input mode)

  • Simualtor In the simulator, the input and output is given in the order of:
x0,x1,x2,...,xn
y0,y1,y2,...,ym
  • Verilator
sudo apt-get install git help2man perl python3 make autoconf g++ flex bison ccache
git clone https://github.com/verilator/verilator
cd verilator
git checkout v4.210
autoconf
./configure
make    # make -j16
sudo make install

In verilator test files, the input should be given in the following order:

[x[k],...,x[3],x[2],x[1],x[0]] => [xn,xn-1,...,x4,x3,x2,x1,x0]
[y[l],...,y[3],y[2],y[1],y[0]] => [ym,ym-1,...,y4,y3,y2,y1,y0]

Each x[i] and y[i] is several bits(unsigned int, unsigned short, unsigned char, ...).

  • outputfile the outputfile gives the input and output data in the order of
x0,x1,x2,...,xn
y0,y1,y2,...,ym

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages