LEON 2 SystemC model on ReSP, 21页,目录如下: 1 Leon 2 5 1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.2 Architecture Description . . . . . . . . . . . . . . . . . . . . . . . 6 1.2.1 SPARC v8 Registers . . . . . . . . . . . . . . . . . . . . . 6 1.3 LEON 2 SystemC model . . . . . . . . . . . . . . . . . . . . . . . 7 1.3.1 Trap Handler . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.3.2 Interrupt Support . . . . . . . . . . . . . . . . . . . . . . 10 1.3.3 Re-modeling the Processor Status Register . . . . . . . . 10 1.3.4 Enabling the user modes . . . . . . . . . . . . . . . . . . . 11 1.3.5 Register Windows . . . . . . . . . . . . . . . . . . . . . . 12 2 RTEMS on the LEON 2 model 16 2.1 Real-Time Executive for Multiprocessor Systems . . . . . . . . . 16 2.2 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.2.1 RTEMS Cross Compilation System from Gaisler Research 17 2.2.2 Installing the Pre-built tools from the RTEMS website . . 17 2.2.3 Building your own tool-chain . . . . . . . . . . . . . . . . 17 2.2.4 Creating an RTEMS image . . . . . . . . . . . . . . . . . 18 2.3 Running RTEMS executables on ReSP . . . . . . . . . . . . . . . 19 2.3.1 ReSP LEON Board . . . . . . . . . . . . . . . . . . . . . 19 2.4 Things that can go wrong . . . . . . . . . . . . . . . . . . . . . . 19 2.5 Modication of RTEMS to enable interrupts trap handler . . . . 20
2021-06-04 17:02:14 682KB leon RTEMS leon2
1