數字邏輯實驗仿真系統操作界面設計XML+VC++

學識都 人氣:3.27W
畢業論文

數字邏輯實驗仿真系統操作界面設計
 
摘  要:數字邏輯設計是1門比較注重實驗的課程,然而由於實驗設備更新換代速度慢,導致實驗條件與手段日益落後。因此,用軟件模擬實現這類實驗非常必要,這樣既可以降低實驗設備經費,又便於更新實驗內容。我們的課題是開發1個數字邏輯實驗仿真平臺軟件,基本功能類似於EWB。利用它可以實現數字邏輯設計中的1些簡單電路圖的仿真和實驗。本設計的主要工作是數字邏輯實驗仿真平臺的操作界面設計。本論文首先介紹VC++開發環境和可擴展標識語言(XML)的1些基本知識 ,接着介紹了數字邏輯實驗仿真系統的組成和原理,最後具體的介紹了該實驗仿真平臺操作界面的設計與實現。
關鍵字:VC++;XML;實驗仿真系統;數字邏輯

Operating Interface Design for the Digital Logic Experiment Simulating System
 
Abstract:The digital logic design is a course that relatively attaches importance to experiments. However, as the renewal speed of the experiment equipments is slow, the experiment condition and means fall behind accordingly. Therefore, it is necessary to simulate this experiment through software. By doing this, we can lower the budget of equipments and easily renew the experiment topic is to design a kind of software which can simulate the digital logic experiment, whose basic function is similar to that of EWB. Therefore, simulation experiment of some simple circuit diagrams can be carried out in the digital logic main work is the design of simulation platform operation interface in the digital logic experiment. This thesis firstly introduces some basic knowledge of the VC++ development environment and the eXtensible Markup Language (xml), then introduces the construction and principle of the digital logic experiment simulation system, finally introduces the design and realization of simulation platform operation interface in details.
Keyword: VC++;XML;Experiment simulation system;Digital logic

目 錄
引 言 1
1 開發環境與相關技術介紹 2
1.1 Visual C++可視化集成開發環境簡介 2
1.2 MFC編程 7
1.2.1 MFC類庫概念和組成 8
1.2.2 MFC消息的管理 8
1.3  VC++圖形編程 8
1.3.1 設備環境類 8
1.3.2 圖形設備接口以及GDI對象 9
2  XML 簡介 10
2.1 XML介紹 10
2.2 XML 基本語法 11
2.3 Schema介紹 13
2.4 DOM介紹 18
2.4.1 DOM的組成和DOM樹 18
2.4.2 DOM的4個基本接口 19
2.5 MSXML介紹 20
3 數字邏輯實驗仿真系統分析 22
3.1 仿真系統框架 22
3.2 任務概述 24
3.3 詳細需求 24
3.4 系統模塊劃分 24
4 仿真系統操作界面的詳細設計與實現 26
4.1 任務概述 26
4.2功能描述 26
4.3 仿真文檔架構設計 26
4.4 界面設計的'具體實現 28
4.4.1 模塊劃分 28
4.4.2 各模塊的具體實現 28
5 系統測試與運行結果 42
6 結束語 44
參考文獻 45
致謝 46
附錄A  基於XML的仿真文檔架構 47
附錄B  測試電路圖保存後的xml文檔的完整內容 50
 
引 言
目前,很多高校的計算機硬件類課程的實驗教學都是在實驗室中特定的硬件試驗平臺上完成的。但是由於受到經費的限制,實驗室所能提供的實驗設備種類、數量都有限。同時,實驗設備每年的維護費用也很高。此外,由於計算機技術的飛速發展,實驗設備更新換代速度慢,導致試驗條件與手段日益落後。因此,用軟件模擬實現硬件類課程的教學實驗室非常有必要和有意義的,既可以降低實驗設備經費,又便於更新實驗內容。同時,他也可以用於計算機輔助教學,使課堂教學更形象、更生動。