Sunday, May 12, 2019
Assignment1 with VHDL using Xilinx software version 10.1 Essay
Assignment1 with VHDL using Xilinx software version 10.1 - Essay ExampleA serial lodge operates seri bothy, accepting and transferring data one bit at a time, while a par solelyel muniment operates on a parallel fashion accepting and transferring all the bits simultaneously. Since mere transferring or storing data in digital enlistments is literally achieved by substitutioning the bits, the registers specifically used for storing and retrieval purposes without any manipulations, are called swap registers. A shift register is generally be aftered with a series of flip-flops connected in the name of a chain such that the outfit of one is connected to the input of the other expect the output of the last one which is the actual output of the circuit. A universal shift register is one that incorporates all the features that are applicable for shifting operations including parallel input/output, left/right-shift serial inputs, operating path control inputs (S1 & S0) and direct ove rriding clear line (RESET), etc. 2.Design OverviewFor this assignment, a 4-bit universal shift register is designed in VHDL (VHSI Hardware Description Language) and simulated in VHDL IDE- Xilinx ISE. VHDL is generally used to keep down the entire digital circuit description and its logic in the form of code or program. The circuit description is defined as entity and the logic as sour. ... Schematic view of 4-bit universal skunk Register created in Xilinx ISE The input S1 and S0 act as control signalizes which determines the mode of operation of the shift register. The doable combination of the two signals along with the required mode of operation are summarised in the below disconcert S1 S0 Action 0 0 Hold (retain the previous state) 0 1 Shift left 1 0 Shift right 1 1 Parallel load 3. Design Solution establish on the above truth table for possible combinations of control signals, the state function table is derived for all combinations of input signals and control signals wit h respect to RESET and CLOCK signals and is summarised below RESET Mode Clock nonparallel IN Parallel IN OUTPUTS _RST S1 S0 CLK SIL SIR D0 D1 D2 D3 Q3 Q2 Q1 Q0 0 X X X X X X X X X X X X X 1 X X Not ? X X X X X X Q3 Q2 Q1 Q0 0 0 0 ? X X X X X X Q3 Q2 Q1 Q0 0 0 1 ? 1 X X X X X Q2 Q1 Q0 1 0 0 1 ? 0 X X X X X Q2 Q1 Q0 0 0 1 0 ? X 1 X X X X 1 Q3 Q2 Q1 0 1 0 ? X 0 X X X X 0 Q3 Q2 Q1 0 1 1 ? X X D0 D1 D2 D3 Q0 Q1 Q2 Q3 X dont care condition low to high clock convert In order to achieve the above functionality using VHDL programming, behavioural approach of VHDL is employed in the process definition. This approach is chosen due to the fact that it is purely behaviour oriented and highly independent of the design implementations and will not change with changes in design approach for the same behaviour. The process is defined with the circuits behavioural architecture and the event attribute on the CLK signal is employed, to realize the clock signal state change. Since RESET signal is asy nchronous and needs immediate action irrespective of the states of other inputs, RST is checked at the beginning of the process
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment