APS for Projects
1.Project of Computer Organization
purpose:
- use the hardware description language Verilog to design & implement a one-cycle CPU that can support common instruction types .
(e.g.) add rd , rs, rt (algorithm instruction)
Function: rd←rs + rt -
verilog: a hardware description language used to describe & design electronic systems(especially digital circuits),primarily for computer-aided design in integrated circuit design,VLSI(计算机辅助设计)
image.png
-
procedure:
Each component can be written as a lower-level module to achieve the corresponding function,and to ensure that the output changes with the input change(to delay).The top-level module calls each low-level module,and connect according to the data path diagram to ensure that all the modules change according to the control signal after the PC command is changed. -
result:test the CPU
Choose CLK / PC / Reg_file / DM_data to research the result and get the wave to judge whether the instruction process is right.
2. Project for Operating System
-
File System: a software organization in the OS that manages & access(访问) file information.
-
Purpose : Find the windows fat system specified file
-
Procedure:
- cp the current input directory into the temp array & subdirectory
- Save each subdirectory in the array m and then split the subdirectory from root one by one to compare whether the query FS has this table of contents
-
example : find the file 'C:\Windows\System\Telnet.hlp'
- first find the root directory 'C:\'
- then find the subdirectory 'Windows' from root directory
- find the subdirectory 'System'
- then find the file 'Telnet.hlp'
-
it's possible to discriminate the full path of the input in the windows,whether it exists in the file system.
3.Project Single Chip Microcomputer
- task : Digital Alarm Clock
- A second pulse timing interrupt is generate by the 8253 timer.The seconds , minutes and hours(24-hour clock) is implemented in the interrupt service routine.Then display the current hour,minute and second on the digital tube.C can be set to the current time of clock . D is set to an alarm. B means starting running the clock.
- Procedure:
-
I use an electronic box full of different kinds of chips.
-
First I used 8253 timer to generate a 1s pulse , trigger 8259 to generate an interrupt , then call the interrupt service subroutine, every 1 s , the second counts.also to 60s 60min. The information is sent to the digital tube through the 8255 , and the result of the timing is displayed on the digital tube,and the timing is accurately realized.
-
<span id='chips'> use 8253(Programmable Interval Timers,which perform timing and counting functions )
8259(Programmable Interrupt Controller) and
8255(PPI Programmable Peripheral Interface ) chip</span>
4. DB principle
- Task : online book city system
- Intro :The project is mainly composed of two parts: the front desk member module & the background administrator module. The front desk function is mainly used for member registration and login.Browse books,shopping cart and order.Background function for administrator login and book , order , user management.
- Procedure: according to the analysis of the content & data flow ,we designed the tables as follows:users , role , authorize , books , orders , orderItem.
- Way : mainly use java web to realize the website , tomcat which is a Java Container & Eclipse & MySQL DB which is stored data, JSP(A technical standard that enables software developers to dynamically generate web pages in HTML in response to the Client requests)