1 // THIS HEADER FILE IS AUTOMATICALLY GENERATED -- DO NOT EDIT 2 3 /** 4 * Copyright (c) 2024 Raspberry Pi Ltd. 5 * 6 * SPDX-License-Identifier: BSD-3-Clause 7 */ 8 // ============================================================================= 9 // Register block : TBMAN 10 // Version : 1 11 // Bus type : apb 12 // Description : Testbench manager. Allows the programmer to know what 13 // platform their software is running on. 14 // ============================================================================= 15 #ifndef _HARDWARE_REGS_TBMAN_H 16 #define _HARDWARE_REGS_TBMAN_H 17 // ============================================================================= 18 // Register : TBMAN_PLATFORM 19 // Description : Indicates the type of platform in use 20 #define TBMAN_PLATFORM_OFFSET _u(0x00000000) 21 #define TBMAN_PLATFORM_BITS _u(0x00000003) 22 #define TBMAN_PLATFORM_RESET _u(0x00000005) 23 // ----------------------------------------------------------------------------- 24 // Field : TBMAN_PLATFORM_FPGA 25 // Description : Indicates the platform is an FPGA 26 #define TBMAN_PLATFORM_FPGA_RESET _u(0x0) 27 #define TBMAN_PLATFORM_FPGA_BITS _u(0x00000002) 28 #define TBMAN_PLATFORM_FPGA_MSB _u(1) 29 #define TBMAN_PLATFORM_FPGA_LSB _u(1) 30 #define TBMAN_PLATFORM_FPGA_ACCESS "RO" 31 // ----------------------------------------------------------------------------- 32 // Field : TBMAN_PLATFORM_ASIC 33 // Description : Indicates the platform is an ASIC 34 #define TBMAN_PLATFORM_ASIC_RESET _u(0x1) 35 #define TBMAN_PLATFORM_ASIC_BITS _u(0x00000001) 36 #define TBMAN_PLATFORM_ASIC_MSB _u(0) 37 #define TBMAN_PLATFORM_ASIC_LSB _u(0) 38 #define TBMAN_PLATFORM_ASIC_ACCESS "RO" 39 // ============================================================================= 40 #endif // _HARDWARE_REGS_TBMAN_H 41 42