Skip to content

morphingmachines/TileLinkExplorer

Repository files navigation

TileLink Explorer

A toy project to explore TileLink with the diplomacy framework. This project uses playground as a library. playground and TileLinkExplorer directories should be at the same level, as shown below.

  workspace
  |-- playground
  |-- TileLinkExplorer

Make sure that you have a working playground project before proceeding further. Do not rename/modify playground directory structure.

Clone the repository

Clone this repository into the same directory that contains playground.

$ git clone https://github.com/morphingmachines/TileLinkExplorer.git

Generating RTL

$ make rtl TARGET=Point2Point # other allowed targets {RegNode}

The output verilog files are generated in the ./generated_sv_dir directory. This also generates a graphml file that visualizes the diplomacy graph of different components in the system. To view graphml file, use yEd.

Scala console

$ make console

You load a design into the console for interacting running, as shown below

scala> :load inConsole.scala

inConsole.scala will load Poin2Point module in the console. We can query module parameter once it is loaded, as shown below.

scala> dut.manager1.node.in.length
val res1: Int = 1
scala> dut.manager1.node.out.length
val res2: Int = 0

Simulation

To run simulations, you need to install the following dependencies

We use Switchboard to provide stimulus to the accelerator module. All the stimulus generation

After generating the RTL, follow the below steps to run the simulation.

$ conda activate Switchboard
$ cd sb_sim/tlmem # "sb_sim/tlloopback" "sb_sim/regNode" "sb_sim/minimal"
$ make 

Chisel Learning Resources

About

A Toy project to explore TileLink with the diplomacy framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •