\relax \providecommand\hyper@newdestlabel[2]{} \providecommand\HyField@AuxAddToFields[1]{} \providecommand\HyField@AuxAddToCoFields[2]{} \@writefile{toc}{\contentsline {section}{\numberline {1}实验目的}{1}{section.1}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {2}实验环境}{1}{section.2}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {3}模块实现与分析}{1}{section.3}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {3.1}CSR 模块}{2}{subsection.3.1}\protected@file@percent } \@writefile{toc}{\contentsline {subsubsection}{\numberline {3.1.1}代码实现}{2}{subsubsection.3.1.1}\protected@file@percent } \newlabel{lst:csr_logic}{{1}{2}{CSR 模块的写入优先级与旁路逻辑}{lstlisting.1}{}} \@writefile{lol}{\contentsline {lstlisting}{\numberline {1}CSR 模块的写入优先级与旁路逻辑}{2}{lstlisting.1}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {3.2}CLINT 模块}{3}{subsection.3.2}\protected@file@percent } \@writefile{toc}{\contentsline {subsubsection}{\numberline {3.2.1}代码实现}{3}{subsubsection.3.2.1}\protected@file@percent } \newlabel{lst:clint_logic}{{2}{3}{CLINT 模块处理硬件中断的核心逻辑}{lstlisting.2}{}} \@writefile{lol}{\contentsline {lstlisting}{\numberline {2}CLINT 模块处理硬件中断的核心逻辑}{3}{lstlisting.2}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {4}测试与结果分析}{4}{section.4}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {4.1}CLINTCSRTest: 硬件中断测试分析}{4}{subsection.4.1}\protected@file@percent } \@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.1}测试机制简述}{4}{subsubsection.4.1.1}\protected@file@percent } \@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.2}波形图分析:非跳转指令下的硬件中断处理}{5}{subsubsection.4.1.2}\protected@file@percent } \@writefile{lot}{\contentsline {table}{\numberline {4.1}{\ignorespaces 硬件中断测试输入信号}}{5}{table.4.1}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {4.1}{\ignorespaces 硬件中断处理过程波形图 - 非跳转指令场景(8ps $\sim $ 12ps)}}{6}{figure.4.1}\protected@file@percent } \newlabel{fig:external_interrupt_waveform}{{4.1}{6}{硬件中断处理过程波形图 - 非跳转指令场景(8ps $\sim $ 12ps)}{figure.4.1}{}} \@writefile{toc}{\contentsline {paragraph}{(1) 初始化阶段(约 6ps)}{6}{paragraph*.1}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{(2) 中断发生时刻(约 9ps)}{7}{paragraph*.2}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{(3) 同周期中断响应(约 9ps)}{7}{paragraph*.3}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{(4) CSR 自动更新(约 10ps)}{7}{paragraph*.4}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{(5) 中断标志清除(约 12ps 后)}{8}{paragraph*.5}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {4.2}CPUTest: SimpleTrapTest 分析}{8}{subsection.4.2}\protected@file@percent } \@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.1}测试目的}{8}{subsubsection.4.2.1}\protected@file@percent } \@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.2}测试程序的中断验证机制}{8}{subsubsection.4.2.2}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{\numberline {3}simpletest.c 测试程序源码}{8}{lstlisting.3}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{主程序初始化阶段}{9}{paragraph*.6}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{等待中断触发}{9}{paragraph*.7}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{中断处理程序执行}{9}{paragraph*.8}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{中断返回与验证}{9}{paragraph*.9}\protected@file@percent } \@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.3}波形图分析}{9}{subsubsection.4.2.3}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {4.2}{\ignorespaces SimpleTrapTest 中断触发与进入处理过程波形图(约 2000ps)}}{10}{figure.4.2}\protected@file@percent } \newlabel{fig:simpletrap_interrupt}{{4.2}{10}{SimpleTrapTest 中断触发与进入处理过程波形图(约 2000ps)}{figure.4.2}{}} \@writefile{toc}{\contentsline {paragraph}{(1) 中断触发与进入中断处理}{10}{figure.4.2}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {4.3}{\ignorespaces SimpleTrapTest 中断处理程序修改内存标志(约 2330ps $\sim $ 2390ps)}}{10}{figure.4.3}\protected@file@percent } \newlabel{fig:simpletrap_memory}{{4.3}{10}{SimpleTrapTest 中断处理程序修改内存标志(约 2330ps $\sim $ 2390ps)}{figure.4.3}{}} \@writefile{toc}{\contentsline {paragraph}{(2) 中断处理程序修改内存值}{10}{figure.4.3}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{波形分析总结}{11}{paragraph*.12}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {4.3}CPU 与操作系统协作处理定时器中断的机制}{11}{subsection.4.3}\protected@file@percent } \@writefile{toc}{\contentsline {subsubsection}{\numberline {4.3.1}操作系统初始化阶段}{12}{subsubsection.4.3.1}\protected@file@percent } \@writefile{toc}{\contentsline {subsubsection}{\numberline {4.3.2}硬件自动响应}{12}{subsubsection.4.3.2}\protected@file@percent } \@writefile{toc}{\contentsline {subsubsection}{\numberline {4.3.3}操作系统软件处理}{12}{subsubsection.4.3.3}\protected@file@percent } \@writefile{toc}{\contentsline {subsubsection}{\numberline {4.3.4}硬件恢复}{13}{subsubsection.4.3.4}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {5}实验结论}{13}{section.5}\protected@file@percent } \gdef \@abspage@last{13}