The directory/file layout of the Vortex codebase is as follows:
VX_config.toml/VX_types.toml: hardware configuration system — the single source of truth for all build-time parameters (see the build configuration system).ci: continuous integration scriptstestcases: declarative test catalog (YAML), executed by the pytest harnessbaselines/perf: golden performance baselines for the perf-regression gatebaselines/synthesis/xilinx: golden FPGA synthesis baselines for the fpga_gatebaselines/synthesis/yosys: golden ASIC synthesis baselines for the asic_gatesynth_gate.py: synthesis-regression gate;fpga_gate.py/asic_gate.pypin its toolblackbox.sh: universal application launcher for all driversregression.sh: local entry point into the CI catalog
docs: documentationdesigns: detailed design documents for Vortex subsystems
hw:rtl: hardware RTL sourcescore: core pipeline (fetch, decode, issue, execute, LSU, commit)cache: cache subsystem (banks, MSHR, AMO engine, flush)mem: memory subsystem (arbiters, adapters, local memory)fpu: floating point unitcp: command processortcu: tensor core unit (WGMMA, structured sparsity)dxa: asynchronous data-transfer accelerator (DMA/multicast)rtu: ray-tracing unit (BVH traversal, intersection)raster,tex,om,gfx: graphics fixed-function pipeline (rasterizer, texture units, output merger, shared graphics logic)afu: FPGA accelerator functional unit shells (OPAE, XRT)interfaces: SystemVerilog interfaces for inter-module communicationlibs: general-purpose RTL modules (queues, arbiters, crossbars, encoders)
dpi: DPI models shared by the RTL simulatorssyn: synthesis flowsaltera: Altera Quartus synthesis scriptsxilinx: Xilinx Vivado/Vitis synthesis scriptssynopsys: Synopsys ASIC synthesis scriptsyosys: Yosys open-source synthesis scripts
unittest: Verilator-based unit tests for individual hardware componentsscripts: RTL build and preprocessing utilities
sw: software stackkernel: device-side kernel APIinclude: public kernel headers (installed)src: kernel runtime implementation (startup, scheduling intrinsics)linker: linker scripts for kernel binaries
runtime: host-side runtime and driversinclude: public driver headers (installed)stub: driver stub library (dynamic backend dispatch)simx: driver backend for the SimX simulatorrtlsim: driver backend for the RTL simulatoropae: Intel OPAE FPGA driver (targets: fpga | asesim | opaesim)xrt: Xilinx XRT FPGA driver (targets: hw | hw_emu | sw_emu)gem5: driver backend for gem5 full-system integration
common: vortex-internal shared layer (on-wire ABI structs, host-side hardware models, shared helpers) — never installedgfx: graphics fixed-function software emitters
sim: simulatorssimx: cycle-approximate C++ simulatorrtlsim: Verilator-based processor RTL simulatoropaesim: Intel OPAE AFU RTL simulatorxrtsim: Xilinx XRT AFU RTL simulatorcommon: shared simulator infrastructure (command processor model, DRAM model, ELF loader, virtual memory)
tests: test suitesriscv: RISC-V conformance testskernel: device kernel testsregression: host + kernel regression testsunittest: host-side unit testsopencl: OpenCL benchmarks and testsvulkan: Vulkan tests (via the mesa-vortex driver)hip: HIP tests (via chipStar)graphics: graphics pipeline testsraytracing: ray-tracing unit testsruntime: driver API testsmpi: multi-process tests
third_party: external library submodules (cvfpu, softfloat, hardfloat, ramulator, cocogfx)perf: performance analysis resourcesmiscs: miscellaneous resources