April / May 2013
EMBEDDED AND REALTIME SYSTEMS
Anna University
6 question papers available. Select an examination session to view its question paper.
EMBEDDED AND REALTIME SYSTEMS
EMBEDDED AND REAL TIME SYSTEMS
EMBEDDED AND REAL TIME SYSTEMS
EMBEDDED AND REAL TIME SYSTEMS
EMBEDDED AND REAL TIME SYSTEMS
Embedded and Real Time Systems
Based on available extracted papers. Question groups and frequency are provisional, not official syllabus weightage or examination predictions.
| Question | 2011 | 2012 | 2013 |
|---|---|---|---|
| What is meant by "feature creep"? | 1 | 1 | 0 |
| Draw the IP service stack. | 0 | 1 | 1 |
| Representative question | Grouped questions | Source papers |
|---|---|---|
| Define “Context switching”? . | 2 | 2 |
What is meant by "feature creep"?
2 eligible source papersDraw the IP service stack.
2 eligible source papersWhat are the major levels of abstraction in the embedded -design -process.
1 eligible source papersWrite the ARM assembly language program to implement the C prog ram: if(x<3){ a = b*c; } else { a = a + (b*c); }
0 eligible source papersDraw the UML state diagram of a bus bridge operation.
0 eligible source papers. What is a "symbol table" and how it is built?
1 eligible source papersDraw the CDFG for the following code fragment: for(i=0,f=0;i<N;i++) . f = f + c [ i ] * x [ i ] ;
0 eligible source papersDifferentiate between a reentrant program and a non reentrant program with an example for each.
1 eligible source papersWrite the equation for computing the total speedup S for a kernel whon an accelerator is used.
0 eligible source papersBring out the difference between fixed-priority arbitration and fair arbitration.
1 eligible source papersDraw the UML class diagram for the software modem.
0 eligible source papersWhat is meant by "feature creep"?
2 eligible source papersl.(i) With neat sketches, explain in-detail about the direct mapped cac ie and the set associative cache. . "(8) (ii) How could the pipeline throughput efficiency be improved?. Explain with an example ARM language program. (8) 12.-(a)(i) Briefly explain the three important loop optimization-techniques with an example for each. (10) (ii) With neat sketches, explain the operation of touchscreen. (6) [OR] (P.T.O) 12. (b)(i) With an example, explain the domain testing for a pair of variables and the data fiow t<: sting in detai 1. (10) (ii) For th<: basic block given below, obtain the single assignment form and also draw the E>FG for that form x =: a + b; y - c + d; z =: x + e; (6) 13. (a)(i) Schedule the process given below using the Earliest Deadline First (EDF) scheduling policy. Compute the schedule for an interval equal to the least- Process Execution Time Period PI 1 3 P2 1 4 P3 2 5 (10) (ii) Write i brief note on preemptive multitasking. (6) [OR] 13.(b)(i) What .s the need to optimize the power for a process?. Explain the L-shaped usage distribution and the Advanced Configuration and Power Interface (ACPI) in deiail. (8) (ii) With teat sketches, explain why does the critical timing race occurs in shared • memory communication and also suggest the methods to avoid the race condition. (8) 14.(a)(i) With neat sketches, briefly explain the typical bus transactions that take place on the I 2C bus. (8) (ii) With :i block diagram, briefly explain how the CPU cache can cause problems for an accelerator and also suggest a technique by which the problem could be overcame.' (8) [OR] 14. (b)(i) With neat sketches, explain about the Ethernet and also bring out the difference between Ethernet and Myrinet. (8) (ii) With an example, explain how does a single threaded control and multithreaded control of an accelerator will affect the speedup factor. (8) 15. (a)(i) Write a brief note on "System on Silicon". (6) (ii) With neat block diagrams, explain the hardware architecture and software architecture of a set-top box. (10) [OR] 15.(b) With ne:tt sketches, explain the entire design of data compressor based on Huffma-i coding principle. Also illustrate the Huffman coding with an numerical example. (16)
0 eligible source papersWhat are the functional requirements of embedded system?
1 eligible source papersWrite A R M assembly code to implement the following C conditional: if(x-y<3){ a = b-c; x=0; } else{ y=o; d=e+f+g; }
0 eligible source papersDraw the state diagram for a bus read transaction.
0 eligible source papersShow the contents of the assembler's symbol table at the end of code generation for each line for the following program: ORG 200 p i ADR r4,a LDR r0,[r4] ADR r4,e LDR rl,[r4] ADD r0,r0,rl CMP r0,rl B N E q l p2 ADR r4,e
0 eligible source papersBring out the difference between blocking communication and non-blocking communication.
1 eligible source papersWhat is meant by "re-entrant program"?
1 eligible source papersDraw the IP packet structure.
1 eligible source papersWhat is the necessity to have hardware accelerators in embedded system design?
1 eligible source papersGive the necessity for memory management.
1 eligible source papersWith neat sketches, explain the entire design o f data compressor based on Huffman coding principle. Also illustrate the Huffman coding with an numerical example. (16)
0 eligible source papersa) With neat sketches, briefly explain about the address translation for a segment, address translation for a page and A R M two-stage address translation. (16)
0 eligible source papersb)(i) Write an A R M assembly program for the following C code: i=0; f=0; while (i<N){ f = f + c [ i ] * x { i ] ; i++; } m (ii) Draw and explain the sequence diagram for transmitting a control input by a model train controller. (8)
0 eligible source papersa)(i) With a neat diagram, explain the principle of working of a DMA controller. (8) (ii) Explain in detail about the domain testing for a pair of variables. (8)
0 eligible source papersb)(i) With the help of a timing diagram, explain about the Extended data out (EDO) access in DRAM. (8) (ii) Find the cyclomatic complexity of the CDFGs for the code fragment given below: if (a<b) { if(c<d) x=l; else x =2; } else { if (e<f) x=3; else x=4; } (8)
0 eligible source papersa) With suitable examples, explain briefly about the co-operative multitasking and pre-emptive multitasking. (16)
0 eligible source papersb) For the process shown below: Process Execution Time Period PI 1 4 P2 2 6 P3 3 12 Schedule using Rate Monotonic Scheduling (RMS) policy. Compute the schedule for an interval equal to the least-common multiple of the periods of the processes. Assume the time starts at t=0. (16)
0 eligible source papersa)(i) With a block diagram, briefly explain how the CPU cache can causei problems for accelerators and also suggest a technique by which the problem could be overcome. (8) (ii) With a neat diagram of the CAN data frame format, briefly explain the working of the CAN bus. (8)
0 eligible source papersb)(i) Explain in detail the working of Ethernet and also draw the flowchart for Ethernet CSMA/CD algorithm. (8) (ii) Briefly explain about the message passing programming used in distributed embedded systems. (8)
0 eligible source papersList down the family of ARM processors.
1 eligible source papersWhat is the role of barrel shifter available in ARM processor? —
1 eligible source papersGive the different types of MUL instruction available for ARM processor.
1 eligible source papersDefine linking. ;
0 eligible source papersWhat is power optimization.
1 eligible source papersDefine “Context switching”? .
1 eligible source paperswhat is a hardware accelerator.
1 eligible source papersDraw the IP service stack.
2 eligible source papersGive the features of software modem.
1 eligible source papersWhat is a data compressor.
1 eligible source papers(i). With a neat block diagram explain the working of personnel digital assistants. (8) (ii). Briefly explain the hardware architecture of set top box. 48) P.T.O 42.a)(i). Explain both hardware and software for interfacing a matrix key board with seven segment display using a microcontroller. ன ச (8) (ii). For the given block below write it in single assignment form, and then draw the data flow graph. (8) X=a+b; y=ct+d; —Z2=xte;
0 eligible source papersb){i) With a neat sketch explain the two. stage address transiation of memory management unit. இ) (ii) Briefly explain the analysis and optimization of execution time, power, energy of ARM based . computing plat form. . {8)
0 eligible source papers௮) With a neat diagram, explain the architecture and the associated registers of ARM processor. (16) ~ (OR)
0 eligible source papers6). With a neat diagram explain the working of model train controller, give the frame format and UML collaboration diagram for major subsystems of the train controller system. . (16)
0 eligible source papersa)(i) Discuss in detail the power optimization strategies for processes. . (8) (ii) Briefly explain about cooperative multitasking, | . (8)
0 eligible source papersb)(i).Explain the different communication mechanisms among the processes in an operating system(8) (ii).Briefly explain about preemptive multitasking. (8)
0 eligible source papersa)(i). With relevant illustrations. explain distributed embedded architecture. (8) (i), Briefly explain the different networks available for embedded systems. (8) (OR) |
0 eligible source papersb){i) Write short notes on internet enabled systems. | | . (8) (ii) Briefly explain the role of hardware accelerators in embedded system design. (8)
0 eligible source papersList out the important characteristics of embedded computing applications. 2. Mention the steps followed by an ARM7 processor when responding to an interrupt. 3. Draw the timing diagram for a burst read transaction. 4. Generate the symbol table for the following ARM assembly code block: ‘ORG 100 labell ADR r4,c LDR 10,{r4] label2 ADR r4,d LDR rl,[r4] label3. SUB r0,r0,r1 5. Define the periodic and aperiodic processes with respect to their release times and deadlines with a neat diagram. . What is meant by ‘predictive shutdown’? . “Accelerator is not a coprocessor” — Justify the statement . Draw the IP packet structure. . What is meant by the term “concurrent engineering”? 0. Draw the UML sequence diagram for a set speed command received by the train. ஈம 0 OAD
0 eligible source papers(i) Explain the theory of operation of a software modem. Also make a note about the requirements, specification and system architecture stages in designing of a software - modem. ். (8) (11) With neat sketches, explain the hardware and software architectures of set-top box in detail. . (8)
0 eligible source papersa)(1) Draw the ARM core dataflow model and explain the functionality of each block in detail. (8) (11) Bring out the difference between exception and trap. (4) (iii) Explain the busy wait 1/O with an example. (4)
0 eligible source papersb)(i) Explain the seven basic operating modes of the ARM processor and also mention _ about the visible and invisible registers in each operating mode. (8) (11) With a neat diagram, explain the ARM two stage address translation. (8)
0 eligible source papersa)(i) What is the need for having a “bridge”?. Explain the bus bridge operation with the help of a UML state diagram. (8) (it) Explain briefly the various techniques used for validating and testing a program with relevant examples. (8) (OR) | (P.T.O)
0 eligible source papersb)() Differentiate between Joop transformation technique and loop optimization technique. With necessary examples, explain the various methods used in loop _ transformation. (8) (ii) With a neat diagram, explain the working of a resistive touch screen. (4) (ili) Bring out the difference between an interpreter and JIT compiler. (4)
0 eligible source papersa)(i) With neat sketches, explain the two major styles of interprocess communication. (10) (ii) Briefly explain the five basic global power states supported by Advanced Configuration and Power Interface (ACPI) with a neat diagram. (6)
0 eligible source papersb) For the periodic process shown below: (i) Schedule the process using static scheduling algorithm (8) (14) Schedule the process using EDF policy (8) In each case, compute the schedule for an interval equal to the hyperperiod of the processes. Assume the time starts at t=0. Process CPU Time Deadline Pl [ 3 P2 1 4 P3 [ 12
0 eligible source papersa)(i) Explain briefly about the cache updating problem.in an accelerated system with — aneat diagram. Also explain how the cache updating problem could be resolved. (8) (ii) With a neat diagram, explain the features and functionality of SHARC link port. 718) _ (OR) _15.b)G@) Explain in detail about the working of a CAN bus with respect to the physical and electrical organization. Draw the CAN data frame format and explain the various fields in it. (10) (ii) Bring out the difference between the CAN bus and Ethernet by briefly explaining with respect to their arbitration techniques. (6)
0 eligible source papersWith neat sketches,explain the hardware and software architecture of settop box.(16) 2A OMNAMOAWN=
0 eligible source papersa)(i) Write an ARM assembly code thetimplement the following C conditional: if (x-y < 3) { -a=b-c; X= 1: } else { y=1; d=e+ftg: (8) (ii) Draw a UML sequence diagram for copying characters from an input to an output device using busy wait I/O. The diagram should include the two devices and two busy-wait I/O handlers. (8)
0 eligible source papersb)(i) With suitable examples, briefly explain about the compulsory miss, capacity miss and conflict miss. (8) (ii) Draw a state diagram for a behaviour that sends the command bits on the track. The machine should generate the address, generate the correct message type, include the parameters and generate the error correcting code (ECC). (8)
0 eligible source papersa)(i) With a neat diagram of a resistive touchscreen, explain it’s working principle in detail. (8) (ii) Find the cyclomatic complexity of the CDFG for the code fragment given: if (a<b) { if (c<d) X= 1; else (5 2: }else { if {e < f) x=3: -else x=4; } . (8) (OR) (P.T.O) 38 t 2
0 eligible source papersb) What is meant by “loop optimization? Explain with suitable example in detail about the three important techniques in optimizing the 10005. (16)
0 eligible source papersa)(i) Discuss in detail about the timing requirements with respect to release time and deadline for different types of processes. (8) (1) With neat sketches, explain in detail about shared memory communication. (8)
0 eligible source papers5) Using Earliest Deadline First (EDF) policy, schedule the periodic process shown below: Process CPU Time Deadline P1 1 3 P2 4 4 P3 2 8 Compute the schedule for an interval equal 1௦ the hyperperiod of the process. Assume the time starts at t=0. (16)
0 eligible source papers8) What is an [0 bus? With the help of state transition graph and control word formats, briefly explain how the data transaction is taking place using the 0 bus? (16) (OR) |
0 eligible source papersb)(i) Explain briefly about the cache updating problem in an accelerated system with a neat diagram. - (8) (ii) Explain about fixed priority arbitration scheme and fair priority arbitration scheme with an example for each. (8)
0 eligible source papersDraw the frame format of DCC for model train controller. | 2. Write an ARM assembly code for the C assignment, Y=(C+D) . (E-F).
0 eligible source papersWhat is the role of MLA instruction in ARM assembly language? ். 4. Enumerate the different steps in generating and porting an execution file into Target platform. _ 5. List out the methods of power optimization for OS.
0 eligible source papersWhat is meant by “Context switching’?
1 eligible source papersGive any two practical applications for distributed embedded computing. .
1 eligible source papersWhat is meant by system on silicon?
1 eligible source papersWhat is the significance of loop back testing in the design of software modem?
1 eligible source papers(i). With neat sketches, explain the hardware architecture of set top box. (8) (ii). Briefly explain the requirements and algorithm for implementing a data compressor. (8) P.T.O
0 eligible source papersa)(i) With relevant sketches, explain two stage address translation of memory management unit. (8) (ii) Explain in detail two level cache system and elaborate the two methods of cache implementation in ARM processor. (8)
0 eligible source papersb) With a neat block diagram, briefly explain the dataflow model and its associated registers available in the ARM processor. (16)
0 eligible source papersa)(i) Explain in detail the architecture of logical analyzer and how logical analyzers are used for debugging and testing an embedded application. (8) (ii) With a neat diagram, explain the working principle of touch screen. ; (8)
0 eligible source papersb) (i). For the given code segment, perform the single assignment form and also draw the data flow graph. . (8) X=A+B; Y=C+D; Z=X+E; (4) Explain about loop unrolling and loop fusion in detail with an example for each. (8) . 14.a)(i) Discuss in detail how Advanced Configuration And Power Interface (ACPI) provides effective power management services. , (8) (ii) Briefly explain about cooperative multitasking. . (8)
0 eligible source papersb)(i).Explain the different communication mechanisms among the processes in an operating system(8) (ii).Briefly explain about preemptive multitasking. . (8)
0 eligible source papersa) With relevant illustrations explain the architecture of Video Accelerators. Elaborate in detail component design and system testing of the same. . (16)
0 eligible source papersb)(i) With a neat diagram, explain the typical bus transactions on the 10 Protocol. (8) (it) With a practical example, explain about internet enabled system. - (8)
0 eligible source papersHistorical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.