CIRCT 23.0.0git
Loading...
Searching...
No Matches
esitester.py
Go to the documentation of this file.
1# ===- esitester.py - accelerator for testing ESI functionality -----------===//
2#
3# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4# See https://llvm.org/LICENSE.txt for license information.
5# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6#
7# ===----------------------------------------------------------------------===//
8#
9# Build the esitester accelerator using the included esitester library.
10#
11# ===----------------------------------------------------------------------===//
12import sys
13
14from pycde import System
15from esiaccel.bsp import get_bsp
16
17from esiaccel.esitester import EsiTester
18
19if __name__ == "__main__":
20 bsp = get_bsp(sys.argv[2])
21 s = System(bsp(EsiTester), name="EsiTester", output_directory=sys.argv[1])
22 s.compile()
23 s.package()