|
CIRCT 23.0.0git
|
#include "test_codegen/CallServiceCallback.h"#include "test_codegen/CallbackWindowedList.h"#include "test_codegen/ChannelWindowedListRead.h"#include "test_codegen/ChannelWindowedListWrite.h"#include "test_codegen/CustomServiceDeclChannel.h"#include "test_codegen/IndexedFuncGroup.h"#include "test_codegen/MmioReadWrite.h"#include "test_codegen/TelemetryMetric.h"#include "test_codegen/TypedFuncArrayResult.h"#include "test_codegen/TypedFuncMultiArg.h"#include "test_codegen/TypedFuncNestedStruct.h"#include "test_codegen/TypedFuncStruct.h"#include "test_codegen/TypedFuncSubByteSigned.h"#include "test_codegen/TypedFuncVoidArg.h"#include "test_codegen/TypedFuncVoidResult.h"#include "test_codegen/TypedFuncWindowedList.h"#include "test_codegen/TypedReadChannelStruct.h"#include "test_codegen/TypedWriteChannelByte.h"#include "probe_runner.h"#include "esi/Accelerator.h"#include "esi/Manifest.h"#include "esi/Services.h"#include "esi/TypedPorts.h"#include <atomic>#include <chrono>#include <cstdint>#include <iostream>#include <map>#include <mutex>#include <stdexcept>#include <string>#include <thread>#include <vector>
Go to the source code of this file.
Functions | |
| static esi::HWModule * | findInst (Accelerator *accel, const char *appidName) |
| static int | runTypedFuncMultiArg (Accelerator *accel) |
| static int | runTypedFuncVoidArg (Accelerator *accel) |
| static int | runTypedFuncVoidResult (Accelerator *accel) |
| static int | runCallServiceCallback (Accelerator *accel) |
| static int | runTypedReadChannelStruct (Accelerator *accel) |
| static int | runTypedWriteChannelByte (Accelerator *accel) |
| static int | runMmioReadWrite (Accelerator *accel) |
| static int | runTelemetryMetric (Accelerator *accel) |
| static int | runIndexedFuncGroup (Accelerator *accel) |
| static int | runCustomServiceDeclChannel (Accelerator *accel, uint32_t idx) |
| static int | runCustomServiceDeclChannel0 (Accelerator *accel) |
| static int | runCustomServiceDeclChannel1 (Accelerator *accel) |
| static int | runTypedFuncStruct (Accelerator *accel) |
| static int | runTypedFuncNestedStruct (Accelerator *accel) |
| static int | runTypedFuncSubByteSigned (Accelerator *accel) |
| static int | runTypedFuncArrayResult (Accelerator *accel) |
| static int | runTypedFuncWindowedList (Accelerator *accel) |
| static int | runChannelWindowedListRead (Accelerator *accel) |
| static int | runChannelWindowedListWrite (Accelerator *accel) |
| static int | runCallbackWindowedList (Accelerator *accel) |
| ESI_PROBE_REGISTRY ("test-codegen", "Per-port-kind coverage tests for ESI runtime + facade codegen. " "Run a single probe with --probe NAME or run all probes (in registry " "order) by omitting the flag.", {"typed_func_multi_arg", &runTypedFuncMultiArg}, {"typed_func_void_arg", &runTypedFuncVoidArg}, {"typed_func_void_result", &runTypedFuncVoidResult}, {"call_service_callback", &runCallServiceCallback}, {"typed_read_channel_struct", &runTypedReadChannelStruct}, {"typed_write_channel_byte", &runTypedWriteChannelByte}, {"mmio_read_write", &runMmioReadWrite}, {"telemetry_metric", &runTelemetryMetric}, {"indexed_func_group", &runIndexedFuncGroup}, {"custom_service_decl_channel_0", &runCustomServiceDeclChannel0}, {"custom_service_decl_channel_1", &runCustomServiceDeclChannel1}, {"typed_func_struct", &runTypedFuncStruct}, {"typed_func_nested_struct", &runTypedFuncNestedStruct}, {"typed_func_subbyte_signed", &runTypedFuncSubByteSigned}, {"typed_func_array_result", &runTypedFuncArrayResult}, {"typed_func_windowed_list", &runTypedFuncWindowedList}, {"channel_windowed_list_read", &runChannelWindowedListRead}, {"channel_windowed_list_write", &runChannelWindowedListWrite}, {"callback_windowed_list", &runCallbackWindowedList},) | |
| ESI_PROBE_REGISTRY | ( | "test-codegen" | , |
| "Per-port-kind coverage tests for ESI runtime + facade codegen. " "Run a single probe with --probe NAME or run all probes (in registry " "order) by omitting the flag." | , | ||
| {"typed_func_multi_arg", &runTypedFuncMultiArg} | , | ||
| {"typed_func_void_arg", &runTypedFuncVoidArg} | , | ||
| {"typed_func_void_result", &runTypedFuncVoidResult} | , | ||
| {"call_service_callback", &runCallServiceCallback} | , | ||
| {"typed_read_channel_struct", &runTypedReadChannelStruct} | , | ||
| {"typed_write_channel_byte", &runTypedWriteChannelByte} | , | ||
| {"mmio_read_write", &runMmioReadWrite} | , | ||
| {"telemetry_metric", &runTelemetryMetric} | , | ||
| {"indexed_func_group", &runIndexedFuncGroup} | , | ||
| {"custom_service_decl_channel_0", &runCustomServiceDeclChannel0} | , | ||
| {"custom_service_decl_channel_1", &runCustomServiceDeclChannel1} | , | ||
| {"typed_func_struct", &runTypedFuncStruct} | , | ||
| {"typed_func_nested_struct", &runTypedFuncNestedStruct} | , | ||
| {"typed_func_subbyte_signed", &runTypedFuncSubByteSigned} | , | ||
| {"typed_func_array_result", &runTypedFuncArrayResult} | , | ||
| {"typed_func_windowed_list", &runTypedFuncWindowedList} | , | ||
| {"channel_windowed_list_read", &runChannelWindowedListRead} | , | ||
| {"channel_windowed_list_write", &runChannelWindowedListWrite} | , | ||
| {"callback_windowed_list", &runCallbackWindowedList} | |||
| ) |
References runTypedFuncMultiArg().
|
static |
Definition at line 51 of file test_codegen.cpp.
References esi::HWModule::getChildren().
Referenced by runCallbackWindowedList(), runCallServiceCallback(), runChannelWindowedListRead(), runChannelWindowedListWrite(), runIndexedFuncGroup(), runMmioReadWrite(), runTelemetryMetric(), runTypedFuncArrayResult(), runTypedFuncMultiArg(), runTypedFuncNestedStruct(), runTypedFuncStruct(), runTypedFuncSubByteSigned(), runTypedFuncVoidArg(), runTypedFuncVoidResult(), runTypedFuncWindowedList(), runTypedReadChannelStruct(), and runTypedWriteChannelByte().
|
static |
Definition at line 558 of file test_codegen.cpp.
References findInst(), and esi::toHex().
|
static |
Definition at line 111 of file test_codegen.cpp.
References findInst(), and esi::toHex().
|
static |
Definition at line 474 of file test_codegen.cpp.
References findInst(), and esi::toHex().
|
static |
Definition at line 520 of file test_codegen.cpp.
References findInst(), and esi::toHex().
|
static |
Definition at line 296 of file test_codegen.cpp.
References esi::TypedWritePort< T, SkipTypeCheck >::connect(), esi::TypedReadPort< T, SkipTypeCheck >::connect(), esi::HWModule::getChildren(), esi::TypedReadPort< T, SkipTypeCheck >::read(), esi::toHex(), and esi::TypedWritePort< T, SkipTypeCheck >::write().
Referenced by runCustomServiceDeclChannel0(), and runCustomServiceDeclChannel1().
|
static |
Definition at line 328 of file test_codegen.cpp.
References runCustomServiceDeclChannel().
|
static |
Definition at line 332 of file test_codegen.cpp.
References runCustomServiceDeclChannel().
|
static |
Definition at line 267 of file test_codegen.cpp.
References findInst().
|
static |
Definition at line 227 of file test_codegen.cpp.
References findInst(), and esi::toHex().
|
static |
Definition at line 246 of file test_codegen.cpp.
References findInst().
|
static |
Definition at line 412 of file test_codegen.cpp.
References findInst().
|
static |
Definition at line 62 of file test_codegen.cpp.
References findInst().
Referenced by ESI_PROBE_REGISTRY().
|
static |
Definition at line 359 of file test_codegen.cpp.
References findInst().
|
static |
Definition at line 340 of file test_codegen.cpp.
References findInst().
|
static |
Definition at line 392 of file test_codegen.cpp.
References findInst().
|
static |
Definition at line 80 of file test_codegen.cpp.
References findInst(), and esi::toHex().
|
static |
Definition at line 95 of file test_codegen.cpp.
References findInst().
|
static |
Definition at line 437 of file test_codegen.cpp.
References findInst().
|
static |
Definition at line 157 of file test_codegen.cpp.
References findInst().
|
static |
Definition at line 187 of file test_codegen.cpp.
References findInst(), and esi::toHex().