· pdf fileconnect the jtag cable to pc 3. ... ” loc = "p120"; # flasher led...
TRANSCRIPT
VLSI Board 8 LED Flasher
Learning Material Ver.1.1
An ISO 9001:2008 company Scientech Technologies Pvt. Ltd. 94, Electronic Complex, Pardesipura, Indore - 452 010 India,
+ 91-731 4211100, : [email protected] , : www.ScientechWorld.com
ww
w.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 2
ww
w.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 3
RoHS Compliance
Scientech Products are RoHS Complied. RoHS Directive concerns with the restrictive use of Hazardous substances (Pb, Cd, Cr, Hg, Br compounds) in electric and electronic equipments. Scientech products are “Lead Free” and “Environment Friendly”. It is mandatory that service engineers use lead free solder wire and use the soldering irons upto (25 W) that reach a temperature of 450°C at the tip as the melting temperature of the unleaded solder is higher than the leaded solder.
VLSI Board 8 LED Flasher
Table of Contents 1. Features 4
2. Technical Specification 5 3. VLSI Board 8 6
4. HDL Design Flow 9 5. General Procedure for VB Testing 10
6. Application of VLSI Board8 16 7. Block Diagram 16
8. Theory 17 9. UCF (Pin Assignment) 18
10. Testing Procedure 19 11. Warranty 21
ww
w.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 4
Features
• Sixteen LED (Red) output.
• Five Mode of Flashing. Push button for changing mode.
• Reset function to initialize the flashing mode to mode 1.
• Selectable frequency for flashing. (DIP switch controlled)
• I/O are ST102A.
ww
w.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 5
Technical Specifications
Supply Voltage : 5V DC (On board) Connector : 40 pin (J5)
Frequency : 8 MHz (Variable) Power Consumption : 2VA (approx)
ww
w.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 6
VLSI Board 8 (LED Flasher)
LED Flasher
Figure 1 w
ww
.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 7
LED Flasher VLSI Board 8 FPGA PIN NO.
Pin Connection Connector
Connector No. Details J3 J4 J5
J6
1 VCC
2 Digital Ground
3 VCCO
4 Digital Ground
5 DIP Switch for Frequency
Control "freq(0)" 2 46 106 150
6 DIP Switch for Frequency
Control "freq(1)" 3 48 107 152
7 DIP Switch for Frequency
Control "freq(2)" 4 50 108 154
8 DIP Switch for Frequency
Control "freq(3)" 5 51 109 155 9 Blank 7 52 111 156 10 Blank 9 57 113 161 11 Push Button ( Reset ) 10 58 114 162 12 Blank 11 61 115 165 13 Blank 12 62 116 166
14 Push Button ( Mode
Change ) 13 63 117 167 15 Flasher LED ( D0 ) 15 64 119 168 16 Flasher LED ( D8 ) 16 65 120 169 17 Flasher LED ( D1 ) 18 67 122 171 18 Flasher LED ( D9 ) 19 68 123 172 19 Flasher LED ( D2 ) 20 71 124 175 20 Flasher LED ( D10 ) 21 72 125 176 21 Flasher LED ( D3 ) 22 74 126 178 22 Flasher LED ( D11 ) 24 76 128 181
ww
w.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 8
23 Flasher LED ( D4 ) 26 77 130 182 24 Flasher LED ( D12 ) 27 78 131 183 25 Flasher LED ( D5 ) 28 80 132 184 26 Flasher LED ( D13 ) 29 81 133 185 27 Flasher LED ( D6 ) 31 85 135 187 28 Flasher LED ( D14 ) 33 86 137 189 29 Flasher LED ( D7 ) 34 87 138 190 30 Flasher LED ( D15 ) 35 90 139 191 31 Blank 36 93 140 194 32 Blank 37 94 141 196 33 Blank 39 95 143 197 34 Blank 40 96 144 198 35 Blank 42 97 146 199 36 Blank 43 100 147 200 37 Blank 44 101 148 203 38 Blank 45 102 149 204 39 Digital Ground
40 Digital Ground
ww
w.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 9
HDL Design Flow
Figure 2
ST102A
ww
w.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 10
General Procedure for VB Testing 1. Connect the VLSI platform (ST102A) with power supply and JTAG cable.
2. Connect the JTAG cable to PC 3. Turn on the Power Supply
4. Now follow the procedure as shown in the figures below: Go to Start Menu/ All Programs / Xilinx ISE / Accessories / Impact
Figure 3
Then the following window shown below will appear on the screen.
Figure 4
Select Create a new project (.ipf) and then press “OK”. As shown below.
ww
w.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 11
Figure 5
Next Window appearing on the screen is as shown below.
Figure 6
Select “Configure devices using Slave Serial mode” and then press “Finish”.
ww
w.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 12
Figure 7
Now the following window shown below will appear on screen. Here impact will ask to “Add Device”. This is the position were the “.bit file” for the particular “VLSI Board “has to be assigned.
Figure 8
Now go to the VLSI Solution Folder, and then select the VLSI platform (ST102A) on which you have to program.
ww
w.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 13
Figure 9
Figure 10
Then select the VB which you have to test, from the list given in the next window appearing on the screen as shown below. Ex. VB7 RTC)
ww
w.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 14
Figure 11
Then open the VB folder which you are testing (For example here I have chosen VB7 RTC). The following window will appear. (this window consist of the “.bit” file which you have to assign.)
Figure 12
Now click on the “Open” button of the window. The next window appearing on the screen will be as shown below:
ww
w.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 15
Figure 13
Now verify the device and the .bit file in the window shown above according to the VLSI platform you are using and the VB you are testing. (For example as in this case VLSI platform used is ST102A, therefore device is xc2s50 and VB is VB7 RTC therefore bit file is rtc. bit as shown in above figure). Again check the power supply connected to the board and is in “ON” Position and check the JTAG cable connected to the PC. Now right click on the device and then click “Program”.
Figure 14
After the device is programmed an indication in BLUE will appear on the screen denoting “Program Succeeded”. Now test the specific VB by connecting it to the VLSI platform and the specific testing procedure mentioned in the VB manual.
ww
w.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 16
Application of VLSI Board 8 Objective: To design a LED Flasher with five selectable modes Entity:
Figure 15
Block Diagram
Figure 16
ww
w.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 17
Theory
Led Flasher is a design that comprises of sixteen LED outputs with five change modes for LED flashing and with selectable frequencies of flashing. The system clock governs the whole process and act as the main clock for the design. A reset switch to initialize the system is provided and a push button switch to change the mode is also included. The five different modes of LED Flasher are:
• Mode 1- Left to right motion (Default)
• Mode 2- Right to left motion
• Mode 3- Odd Even type.
• Mode 4- Top Bottom row wise.
• Mode 5- Top-bottom individual (First of top row then first of second row) Other Specific features of the design are that it uses the DIP switches for frequency control and power on reset will display mode 1. Also mode can be selected any time.
ww
w.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 18
UCF (user Constraints File) Pin Assignment For ST102A : #=======================ST102A ========================= #===================== Connector J5======================
NET "clk" LOC = "P79"; # NET "freq (0)" LOC = "P106"; # frequency Change f (0) SW I1
NET "freq (1)" LOC = "P107"; # frequency Change f (0) SW I2 NET "led (0)” LOC = "P119"; # Flasher LED
NET "led (10)" LOC = "P125"; # Flasher LED NET "led (11)" LOC = "P128"; # Flasher LED
NET "led (12)" LOC = "P131"; # Flasher LED NET "led (13)" LOC = "P133"; # Flasher LED
NET "led (14)" LOC = "P137"; # Flasher LED NET "led (15)" LOC = "P139"; # Flasher LED
NET "led (1)” LOC = "P122"; # Flasher LED NET "led (2)” LOC = "P124"; # Flasher LED
NET "led (3)” LOC = "P126"; # Flasher LED NET "led (4)” LOC = "P130"; # Flasher LED
NET "led (5)” LOC = "P132"; # Flasher LED NET "led (6)” LOC = "P135"; # Flasher LED
NET "led (7)” LOC = "P138"; # Flasher LED NET "led (8)” LOC = "P120"; # Flasher LED
NET "led (9)” LOC = "P123"; # Flasher LED NET "mode" LOC = "P117"; # push button for mode change
NET "rst" LOC = "P114"; # push button for reset
ww
w.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 19
Testing Procedure for VB 8 (LED Flasher) with ST102A Step 1: Program the device as mentioned in the “General Procedure for VB testing” with bit file of VB8 named “led_flasher.bit” located in the “VLSI Solution”.
Step 2: Connect VB8 to J5 40 pin connector and display will be on. Test Supply voltage on TP1 (VCC) with reference to TP2 (GND) approx. 5V.
Step 3: Press the “Master Reset” switch (SW 2) on the board to initialize the flasher to Mode 1 of display Flasher remains in a mode for few seconds (10 seconds approx.)
Step 4: In order to change mode press “Flash Mode Change” (SW 3) switch on the board.
Step 5: Use the “Frequency Select” (SW 1) switch to change the frequency of flashing.
Step 6: The Five modes of flashing can be seen on the board.
• MODE 1 - LEFT to RIGHT
• MODE 2 – RIGHT to LEFT
• MODE 3 – ODD EVEN Type
• MODE 4 – TOP BOTTOM row wise
• MODE 5 – TOP BOTTOM individual (First of Top row then first of second row)
ww
w.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 20
Warranty 1. We guarantee this product against all manufacturing defects for 24 months from
the date of sale by us or through our dealers. Consumables like dry cell etc. are not covered under warranty.
2. The guarantee will become void, if a) The product is not operated as per the instruction given in the Learning
Material b) The agreed payment terms and other conditions of sale are not followed.
c) The customer resells the instrument to another party. d) Any attempt is made to service and modify the instrument.
3. The non-working of the product is to be communicated to us immediately giving full details of the complaints and defects noticed specifically mentioning the type, serial number of the product and date of purchase etc.
4. The repair work will be carried out, provided the product is dispatched securely packed and insured. The transportation charges shall be borne by the customer
ww
w.hik-consulting.pl
VB08
Scientech Technologies Pvt. Ltd. 21
List of other VLSI Boards 1. VB1 Digital Input Output
2. VB2 Peripheral Interface 3. VB3 Analog to Digital
4. VB4 Digital to Analog 5. VB5 Static RAM
6. VB6 Traffic Light Controller 7. VB7 Real Time Clock
8. VB8 LED Flasher 9. VB9 Hex Keypad Interface
10. VB10 LCD Interface 11. VB11 Rotary Encoder
12. VB12 Alpha Numeric Display 13. VB13 Relay Control
14. VB14 Stepper Motor 15. VB15 Dot Matrix Display
16. VB16 Sensor and Displacement 17. VB17 Sensors Interface
18. VB18 Servo/DC Motor Interface
ww
w.hik-consulting.pl