Wednesday, February 29, 2012

Dual Priority Encoder VHDL code (A dual-priority encoder returns the codes of the highest and second-highest priority requests)

Project specification: A dual-priority encoder returns the codes of the highest and second-highest priority requests. The input is the 10-bit r signal, in which the r(10) has the highest priority and r(1) has the lowest priority. The outputs are fst and snd, which are the 4-bit binary codes of the highest and secondhighest priority requests, respectively. The input and output signals are    input: r: 10-bit input request    output: fst: 4-bit output, the binary code of the highest priority request snd: 4-bit output, the binary...

Comparator Circuit (2-bit, 4-bit, 8-bit) VHDL code (A comparator compares two n-bit inputs and generates three status signals)

Project specification: A comparator compares two n-bit inputs and generates three status signals. The input and output signals are    input: a: n-bit input operand b: n-bit input operand   output: lt: 1-bit output. It is asserted when a is larger than b. st: 1-bit output. It is asserted when a is smaller than b. eq: 1-bit output. It is asserted when a is equal to than b. Design Procedures:    1. 2-bit comparator In a 2-bit comparator, the input size of an operand (i.e., n) is 2. The circuit should have four inputs...

Majority Circuit VHDL Code (a circuit that counts 4 votes and displays the results)

Project specification: We want to design a circuit that counts 4 votes and displays the results. Only VHDL logical operators (i.e., and, or, not, and xor) can be used in VHDL code and no process is allowed. Our input and outputs should be as follows: v: 4-bit inputs representing 4 votes, with 1 for yes and 0 for no..output fail: 1-bit output. It is asserted when the motion fails (i.e., less than two 1’s). tie: 1-bit output. It is asserted when the vote is a tie (i.e., two 1’s and two 0’s). pass: 1-bit output. It is asserted when there is...

Tuesday, February 28, 2012

4-Request Priority Encoder VHDL Code (Conditional Signal Assignment)

Conditional Signal Assignment Syntax: • Overall effect somewhat like if-then-else • Simplified syntax: signal_name <= value_expr_1 when boolean_expr_1 else value_expr_2 when boolean_expr_2 else value_expr_3 when boolean_expr_3 else . . . value_expr_n Sample VHDL code for 4-request priority encoder: library ieee; use ieee.std_logic_1164.all; entity prio_encoder is port( r: in std_logic_vector(4 downto 1); pcode: out std_logic_vector(2 downto 0) ); end prio_encoder; architecture cond_arch of prio_encoder is begin pcode...

Phase control thyristors Research Details

Phase control thyristors Manufacturer: Vishay Micro Measurements Data sheet: Attachment Price quotations: http://www.alliedelec.com/search/productdetail.aspx?SKU=5030565#tab=Specs Highest voltage: 1600 V Highest current: 9420 A Parameter Rating Values Units I 720 A IT(AV)@Ths 55 0C IT(RMS) 1420 A IT(RMS)@Ths 25 0C ITSM@50HZ 9000 A ITSM@60Hz 9420 A VDRM/VRRM 400 - 1600 V Local Distributors:...

What is Schottky Barrier Diode?

Manufacturer: Sanyo Product: Schottky Barrier Diode (Twin Type · Cathode Common) Model Number: SBA120-18 Ratings:  180V, 12A Rectifier Description: SBA120-18J is a dual 180 V, 12 A Schottky barrier diode for high frequency circuit rectification in switching regulators, converters, and choppers. It has a common cathode configuration. Budgetary Price/Unit: $2.3593 Applications · High frequency rectification (switching regulators,  converters, choppers). Features · Low forward voltage (VF max=0.85V). · Fast reverse recovery time. · Low...

What are the principal functions of the 4 layers in generic information system architecture?

What are the principal functions of the 4 layers in generic information system architecture? Answer: 1. The top layer is responsible for implementing the user interface. In this case, the UI has been implemented using a web browser. 2. The second layer provides the user interface functionality that is delivered through the web browser. It includes components to allow users to log in to the system and checking components that ensure that the operations they use are allowed by their role. This layer includes form and menu management components that...

What are transaction-processing applications?

What are transaction-processing applications? Answer: Transaction processing (TP) systems are designed to process user requests for information from a database, or requests to update a database. Technically, a database transaction is sequence of operations that is treated as a single unit (an atomic unit). All of the operations in a transaction have to be completed before the database changes are made permanent. This ensures that failure of operations within the transaction does not lead to inconsistencies in the database. An example of a transaction...

Briefly describe pipe and filter architecture?

Briefly describe pipe and filter architecture? Answer: Pipe and filter architecture is a model of the run-time organization of a system where functional transformations process their inputs and produce outputs. Data flows from one to another and is transformed as it moves through the sequence. Each processing step is implemented as a transform. Input data flows through these transforms until converted to output. The transformations may execute sequentially or in parallel. The data can be processed by each transform item by item or in a single...

What is the most important advantage of client-server architecture?

What is the most important advantage of client-server architecture? Answer: The most important advantage of this model is that servers can be distributed across a network. General functionality (e.g., a printing service) can be available to all clients and does not need to be implemented by all servic...

What is the fundamental characteristic of repository architecture?

What is the fundamental characteristic of repository architecture? Answer: The majority of systems that use large amounts of data are organized around a shared database or repository. This model is therefore suited to applications in which data is generated by one component and used by another. Examples of this type of system include command and control systems, management information systems, CAD systems, and interactive development environments for software. Organizing tools around a repository is an efficient way to share large amounts of data....

What is an architectural pattern?

What is an architectural pattern? Answer: An architectural pattern is a stylized description of good design practice, which has been tried and tested in different environments. Patterns are a means of representing, sharing and reusing knowledge. Patterns should include information about when they are and when they are not useful. Patterns may be represented using tabular and graphical descriptio...

What are the fundamental architectural views proposed in Krutchenʼs 4+1 model?

What are the fundamental architectural views proposed in Krutchenʼs 4+1 model? Answer: 1. A logical view, which shows the key abstractions in the system as objects or object classes. It should be possible to relate the system requirements to entities in this logical view. 2. A process view, which shows how, at run-time, the system is composed of interacting processes. This view is useful for making judgments about nonfunctional system characteristics such as performance and availability. 3. A development view, which shows how the software is decomposed...

List 4 fundamental questions that should be addressed in architectural design?

List 4 fundamental questions that should be addressed in architectural design? Answer: 1. Is there a generic application architecture that can act as a template for the system that is being designed? 2. How will the system be distributed across a number of cores or processors? 3. What architectural patterns or styles might be used? 4. What will be the fundamental approach used to structure the system? 5. How will the structural components in the system be decomposed into subcomponents? 6. What strategy will be used to control the operation of the...

What are the two ways in which an architectural model of a system may be used?

What are the two ways in which an architectural model of a system may be used? Answer: 1. As a way of facilitating discussion about the system design. A high-level architectural view of a system is useful for communication with system stakeholders and project planning because it is not cluttered with detail. Stakeholders can relate to it and understand an abstract view of the system. They can then discuss the system as a whole without being confused by detail. The architectural model identifies the key components that are to be developed so managers...

What are the advantages of explicitly designing and documenting software architecture?

What are the advantages of explicitly designing and documenting software architecture? Answer: 1. Stakeholder communication: The architecture is a high-level presentation of the system that may be used as a focus for discussion by a range of different stakeholders. 2. System analysis: Making the system architecture explicit at an early stage in the system development requires some analysis. Architectural design decisions have a profound effect on whether or not the system can meet critical requirements such as performance, reliability, and maintainability. 3....

Monday, February 27, 2012

What are the three types of abstract system model that are recommended by the MDA method?

What are the three types of abstract system model that are recommended by the MDA method? Answer: 1. A computation independent model (CIM) that models the important domain abstractions used in the system. CIMs are sometimes called domain models. You may develop several different CIMs, reflecting different views of the system. 2. A platform independent model (PIM) that models the operation of the system without reference to its implementation. The PIM is usually described using UML models that show the static system structure and how it responds...

What are the claimed benefits of model-driven engineering?

What are the claimed benefits of model-driven engineering? Answer: Model-based engineering allows engineers to think about systems at a high level of abstraction, without concern for the details of their implementation. This reduces the likelihood of errors, speeds up the design and implementation process, and allows for the creation of reusable, platform-independent application models. By using powerful tools, system implementations can be generated for different platforms from the same model. Therefore, to adapt the system to some new platform...

What is the basic assumption that underlies event-driven modeling?

What is the basic assumption that underlies event-driven modeling? Answer: Event-driven modeling is based on the assumption that a system has a finite number of states and that events (stimuli) may cause a transition from one state to another. For example, a system controlling a valve may move from a state ‘Valve open’ to a state ‘Valve closed’ when an operator command (the stimulus) is received. Event-driven modeling shows how a system responds to external and internal even...

How is generalization used to simplify the models of a system with many similar objects?

How is generalization used to simplify the models of a system with many similar objects? Answer: Generalization is an everyday technique that we use to manage complexity. It is often useful to examine the classes in a system to see if there is scope for generalization. This means that common information will be maintained in one place only. This is good design practice as it means that, if changes are proposed, then you do not have to look at all classes in the system to see if they are affected by the change. In object-oriented languages, such...

What is illustrated in a UML sequence diagram?

What is illustrated in a UML sequence diagram? Answer: Sequence diagrams in the UML are primarily used to model the interactions between the actors and the objects in a system and the interactions between the objects themselves. A sequence diagram shows the sequence of interactions that take place during a particular use case or use case instance. The UML has a rich syntax for sequence diagrams, which allows many different kinds of interaction to be modeled. The objects and actors involved are listed along the top of the diagram, with a dotted...

What are the principal components of a textual use-case description?

What are the principal components of a textual use-case description? Answer: Name: The name of the use case. Brief Description: A brief description of the role and purpose of the use case. Flow of events: A textual description of what the system does in regard to the use case (not how specific problems are solved by the system). The description is understandable by the customer. Special requirements: A textual description that collects all requirements, such as non-functional requirements, on the use case, that are not considered in the use-case...

How are activity diagrams used in describing the context of use of a system?

How are activity diagrams used in describing the context of use of a system? Answer: Activity diagrams are intended to show the activities that make up a system process and the flow of control from one activity to another. The start of a process is indicated by a filled circle and the end by a filled circle inside another circle. In a UML activity diagram, arrows represent the flow of work from one activity to another. A solid bar is used to indicate activity coordinati...

What is described in a context model?

What is described in a context model? Answer: Context models show what lays outside the system boundaries by illustrating the operational context of a system. This involves working with system stakeholders to decide what functionality should be included in the system and what is provided by the system’s environment. Social and organisational concerns may affect the decision on where to position system boundaries. Context models normally show that the environment includes several other automated systems. However, they do not show the types of relationships...

What UML diagram types may be used to represent the essential features of a system?

What UML diagram types may be used to represent the essential features of a system? Answer: (a) Activity diagrams, which show the activities involved in a process or in data processing. (b) Use case diagrams, which show the interactions between a system and its environment. (c) Sequence diagrams, which show interactions between actors and the system and between system components. (d) Class diagrams, which show the object classes in the system and the associations between these classes. (e) State diagrams, which show...

What perspectives may be used for system modeling?

What perspectives may be used for system modeling? Ans: (a) An external perspective, where you model the context or environment of the system. (b) An interaction perspective where you model the interactions between a system and its environment or between the components of a system. (c) A structural perspective, where you model the organization of a system or the structure of the data that is processed by the system. (d) A behavioral perspective, where you model the dynamic behavior of the system and how it responds to event...

Thursday, February 23, 2012

2 to 4 Decoder VHDL Code (Case conditional Statements)

In digital electronics, a decoder can take the form of a multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs, where the input and output codes are different. e.g. n-to-2n, binary-coded decimal decoders. Enable inputs must be on for the decoder to function, otherwise its outputs assume a single "disabled" output code word. Decoding is necessary in applications such as data multiplexing, 7 segment display and memory address decoding. The example decoder circuit would be an AND gate because the output of an...

WORKING 32-BIT ALU VHDL CODE: To Implement ALU and control circuit for 32bit MIPS CPU computer architecture

Project Description: Implement 32-bit ALU, ALU control and main control circuit that supports add, sub, slt, and, or, nor, lw, sw, beq, bne, j instructions using HDL.This project contains 15 files as follows:4 files for 32-bit ALU, 1 file for ALUctrl, 1 file for main control circuit, 3 simulation test case files for 32-bit ALU, 3 simulation test case files for ALUctrl and 3 simulation test case files for main control circuit. Brief info about what is this ALU thing:In computing, an arithmetic logic unit (ALU) is a digital circuit that performs...