adding support for verilator-driven AFU driver: vlsim
This commit is contained in:
30
driver/opae/vortex_afu.h
Normal file
30
driver/opae/vortex_afu.h
Normal file
@@ -0,0 +1,30 @@
|
||||
//
|
||||
// Generated by afu_json_mgr from ../../hw/opae/vortex_afu.json
|
||||
//
|
||||
|
||||
#ifndef __AFU_JSON_INFO__
|
||||
#define __AFU_JSON_INFO__
|
||||
|
||||
#define AFU_ACCEL_NAME "vortex_afu"
|
||||
#define AFU_ACCEL_UUID "35F9452B-25C2-434C-93D5-6F8C60DB361C"
|
||||
#define AFU_IMAGE_CMD_CLFLUSH 4
|
||||
#define AFU_IMAGE_CMD_CSR_READ 5
|
||||
#define AFU_IMAGE_CMD_CSR_WRITE 6
|
||||
#define AFU_IMAGE_CMD_MEM_READ 1
|
||||
#define AFU_IMAGE_CMD_MEM_WRITE 2
|
||||
#define AFU_IMAGE_CMD_RUN 3
|
||||
#define AFU_IMAGE_MMIO_CMD_TYPE 10
|
||||
#define AFU_IMAGE_MMIO_CSR_ADDR 26
|
||||
#define AFU_IMAGE_MMIO_CSR_CORE 24
|
||||
#define AFU_IMAGE_MMIO_CSR_DATA 28
|
||||
#define AFU_IMAGE_MMIO_CSR_READ 30
|
||||
#define AFU_IMAGE_MMIO_DATA_SIZE 16
|
||||
#define AFU_IMAGE_MMIO_IO_ADDR 12
|
||||
#define AFU_IMAGE_MMIO_MEM_ADDR 14
|
||||
#define AFU_IMAGE_MMIO_SCOPE_READ 20
|
||||
#define AFU_IMAGE_MMIO_SCOPE_WRITE 22
|
||||
#define AFU_IMAGE_MMIO_STATUS 18
|
||||
#define AFU_IMAGE_POWER 0
|
||||
#define AFU_TOP_IFC "ccip_std_afu_avalon_mm"
|
||||
|
||||
#endif // __AFU_JSON_INFO__
|
||||
Reference in New Issue
Block a user