Jlm
VerilatorHarnessAxi.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 2025 David Metz <david.c.metz@ntnu.no>
3  * See COPYING for terms of redistribution.
4  */
5 
6 #ifndef JLM_HLS_BACKEND_RHLS2FIRRTL_VERILATORHARNESSAXI_HPP
7 #define JLM_HLS_BACKEND_RHLS2FIRRTL_VERILATORHARNESSAXI_HPP
8 
11 
12 namespace jlm::hls
13 {
15 {
17 
18  std::string
19  extension() override
20  {
21  return "harness_axi.cpp";
22  }
23 
24  std::string
25  GetText(llvm::LlvmRvsdgModule & rm) override;
26 
27 public:
34  explicit VerilatorHarnessAxi(util::FilePath verilogFile)
35  : VerilogFile_(std::move(verilogFile))
36  {}
37 };
38 
39 }
40 
41 #endif // JLM_HLS_BACKEND_RHLS2FIRRTL_VERILATORHARNESSAXI_HPP
VerilatorHarnessAxi(util::FilePath verilogFile)
std::string GetText(llvm::LlvmRvsdgModule &rm) override
std::string extension() override