How agalimberti/nocrouter works
Project type and purpose
• This is an RTL‐level hardware design in SystemVerilog implementing a Network‐on‐Chip (NoC) router with wormhole switching, multiple virtual channels (VCs), and a 2D mesh topology.
• Its goal is to route flit‐granular packets through a mesh of routers using Dimension Order Routing (DOR), VC allocation, switch allocation, and On/Off flow control.
File structure
• Top level:
• src/if – contains SystemVerilog interface definitions (decouples I/O from behavior)
• src/rtl – implements the functional blocks:
– allocators (round‐robin arbiter, VC allocator, separable‐input‐first, switch allocator)
– crossbar (crossbar switch)
– input_port (input buffer, circular buffer, resource control unit)
– noc (mesh, noc top, links between routers)
– router (top‐level router integrating all submodules)
• src/tb – testbenches for each module and for top‐level interactions
• src/discarded – older/alternative implementations (ignore for current architecture)
• Other artifacts:
• doc/Project Documentation.pdf – high‐level design rationale
• _config.yml, README.md, LICENSE, .gitignore
Key insights from README
• Bottom‐up development: each submodule built & tested before composition
• Interfaces heavily used to simplify wiring between submodules
• Wormhole switching with multiple VCs to avoid head‐of‐line blocking
• Dimension Order Routing computed locally in each router
• On/Off flow control in switch allocator
• Verification by self‐checking testbenches in Vivado HL WebPack 2016.4