1 2 3 4 5 6 7 8 9 10 11
12 13 14 15
16
17 package host.platforms.arm;
18
19 /*!
20 * ======== Platform ========
21 * ARM-on-Linux platform support
22 *
23 * This module implements xdc.platform.IPlatform and defines configuration
24 * parameters that correspond to this platform's Cpu's, Board's, etc.
25 */
26
27 metaonly module Platform inherits xdc.platform.IPlatform
28 {
29 /*!
30 * ======== BOARD ========
31 * @_nodoc
32 * this structure exists to satisfy the
33 * IPlatform interface requirements; these fields are largely
34 * unnecessary for host platforms.
35 */
36 readonly config xdc.platform.IPlatform.Board BOARD = {
37 id: "0",
38 boardName: "ARM",
39 boardFamily: "ARM",
40 boardRevision: null
41 };
42
43 /*!
44 * ======== CPU ========
45 * @_nodoc
46 */
47 readonly config xdc.platform.IExeContext.Cpu CPU = {
48 id: "0",
49 clockRate: 1000.0,
50 catalogName: "host.platforms.arm",
51 deviceName: "Arm",
52 revision: "",
53 };
54
55 instance:
56
57 /*!
58 * ======== deviceName ========
59 * The CPU simulated by this platform.
60 *
61 * This parameter is required.
62 */
63 config string deviceName = "Arm";
64
65 /*!
66 * ======== catalogName ========
67 * The name of the package that contains the module 'deviceName'.
68 *
69 * This parameter is required.
70 */
71 config string catalogName = "host.platforms.arm";
72 }
73 74 75
76