TSE/HVI / FOUNDATIONS
Architecture layers: software, product and gateware
What to understand
hvi-core is layered as language APIs → hourglass C ABI → public I*.h → vendor-agnostic TSE layer → vendor-specific product layer → infrastructure. Below that, IEngineConnector writes reach the HVI Engine over AXI4-Lite/SRI. Engine capabilities are fixed at GW build, register blocks are runtime-configurable, and compile/lifecycle is host-only.
Why it matters: Knowing which layer owns a behavior tells you whether a fix is a SW patch, a driver update or a gateware respin.
Key points
- The TSE layer has no knowledge of specific PXI cards or Niagara firmware.
- run() → writeRegister(START_REG,1) → PU fetches from sequence memory → IRQ → IEvent::wait().
- Register path: host → PCIe → AXI4-Lite → SRI crossbar → one 4 KB window per engine (~20 blocks).
Questions to explain aloud
- Where is vendor-specific behavior?
- What is fixed at GW build?
Watch for these misconceptions
- All HVI behavior is decided at runtime.
PRACTISE
Complete this exercise
Trace run() to the gateware start register.