Skip to content

About

a multi hop, 2d-mesh NoC Simulator written in System verilog, simulates how many processing cores communicate in a chip

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NoC Router

A 3×3 mesh in SystemVerilog. Each router uses XY routing and holds a packet for one clock before forwarding it.

The git tag v0.1-xy-mesh is this version: the diagonal route below is what make mesh runs. Later steps are in ROADMAP.md.

Run

make mesh
make waves-mesh

make mesh needs Icarus Verilog (iverilog and vvp). make waves-mesh opens the dump in GTKWave.

The diagonal

The test sends one packet from (0,0) to (2,2). Y grows south, so XY walks east, east, then south, south. Four hops, plus one clock in the source router, so the trip takes 5 cycles.

deadbeef moving from (0,0) to (2,2), one port per clock

deadbeef shows up on one port per clock: in at (0,0), east out of (0,0), east out of (1,0), south out of (2,0), south out of (2,1), then out at (2,2).

Packet

36 bits: destination Y, destination X, then a 32-bit payload. The all-zero word means idle, so a packet of all zeros is ignored. If two packets want the same output on the same clock, one of them is dropped. Both are still open.

About

a multi hop, 2d-mesh NoC Simulator written in System verilog, simulates how many processing cores communicate in a chip

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages