# {{design_title}} Design `{{design_name}}`, on the platform `{{platform}}`. {{system_description}} ## Architecture The architecture is fixed: every design point has the same parts, connected the same way. Only the sizes inside the parts change. {{data_flow}} The DUT is synthesized in parts: each device (a kernel with the views, adaptor and bus writers that belong to it) is a **sub-top**, synthesized on its own, and the crossbar between them is vendor IP. A design parameter changes only the parts it depends on, and only those are synthesized again; a part already synthesized at the same sizes costs nothing. {{subtop_tree}} Some parts are **modelled**, not built: they are simulated, in pysim and at RTL, but never synthesized, and their resources come from a formula or are not counted: {{modelled_table}} How the parts are connected: {{interconnects_table}} The modules inside each part, with their documentation and source: {{modules_table}} ## Parameters **Design** parameters set the design. A new value means a new synthesis of the parts listed; a design parameter that rebuilds no part (a modelled part's setting, or the host's software) costs only a new RTL simulation. **Workload** parameters are fields of a command: a new value costs only simulation. {{parameters_table}} A design is legal only when all of these hold: {{constraints}} ## Workloads {{workloads_table}} `space()` returns the parameters, constraints and workloads as data. ## Metrics {{metrics_table}} ## What each evaluation costs | function | cost | |---|---| | `golden(params, workload)` | {{cost_golden}} per call | | `pysim(params, workload)` | {{cost_pysim}} per call | | `hls_estimate(points)` | {{cost_hls_estimate}}, for each HLS kernel not compiled before at the same sizes | | `synth(points)` | {{cost_synth}}, for each part not synthesized before at the same sizes | | `rtlsim(points, workload)` | {{cost_rtlsim_build}} for a design whose RTL is new (plus the synthesis of its new parts); {{cost_rtlsim_run}} for a new workload, or a new value of a parameter that rebuilds no part, on RTL already elaborated | Up to {{k_workers}} `hls_estimate`, `synth` and `rtlsim` jobs run at once; more wait their turn. `hls_estimate` covers the HLS kernels: {{hls_kernels}}. The rest of each part (adaptors, memory windows, the crossbar) is not HLS and has no estimate.