Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 902 Bytes

makefile_principles.rst

File metadata and controls

29 lines (18 loc) · 902 Bytes

Makefile System

To keep EDA flows simple, all the design flows are called through Makefiles and python scripts.

Principles

Makefiles exist in either top-level or lower-level directories, each of which may contain multiple build targets.

  • The build targets in top-level makefile are most frequently used design flows across multiple domains, e.g., generate bitstreams
  • The build targets in low-level makefile are frequently used design flows within a specific domain, e.g., run HDL simulations.

When call a makefile, please follow the convention

` make <build_target_name> <variables> `

Variables

.. option:: BENCHMARK_SUITE_NAME=<string>

  Define the name of benchmark suite to be run. This is required when running RTL compatibility and RTL verification tests.