Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

FGPA programmed successfully but it doesn't work correctly

Status
Not open for further replies.

matin-kh

Member level 3
Joined
Nov 9, 2013
Messages
67
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
iran
Activity points
1,955
fpga programmed successfully but it doesn't work correctley

Hi every one,
I wanted to check the FPGA(spartan 6(xc6slx150)) on the board so I wrote a very simple code as below:

Code:
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;


entity test is
    Port ( out_put : out  STD_LOGIC_VECTOR (9 downto 0)	);
end test;

architecture Behavioral of test is

begin
out_put<="0101010101";
end Behavioral;

and ucf file is as below:

Code:
NET "out_put[0]" IOSTANDARD = LVCMOS18;
NET "out_put[1]" IOSTANDARD = LVCMOS18;
NET "out_put[2]" IOSTANDARD = LVCMOS18;
NET "out_put[3]" IOSTANDARD = LVCMOS18;
NET "out_put[4]" IOSTANDARD = LVCMOS18;
NET "out_put[5]" IOSTANDARD = LVCMOS18;
NET "out_put[6]" IOSTANDARD = LVCMOS18;
NET "out_put[7]" IOSTANDARD = LVCMOS18;
NET "out_put[8]" IOSTANDARD = LVCMOS18;
NET "out_put[9]" IOSTANDARD = LVCMOS18;

NET "out_put[0]" LOC = W18;
NET "out_put[1]" LOC = Y18;
NET "out_put[2]" LOC = T16;
NET "out_put[3]" LOC = T15;
NET "out_put[4]" LOC = U17;
NET "out_put[5]" LOC = U16;
NET "out_put[6]" LOC = V19;
NET "out_put[7]" LOC = V18;
NET "out_put[9]" LOC = R15;
NET "out_put[8]" LOC = R16;

I programmed the fpga via JTAG and everything was ok it said in the ISE IMPACT that program succeeded but when I checked the IOs which I valued in the vhdl code the logic is incorrect I'm sure that the hardware and voltages on the board are correct what do you think? what is my problem?
could it be possible that there is a problem in the programmer and it doesn't program the .bit file correctly?

Regards
Matin
 

Re: fpga programmed successfully but it doesn't work correctley

Are you sure you programmed the proper bitfile? How are verifying the outputs-this is a bga, isn't it?
 
Re: fpga programmed successfully but it doesn't work correctley

Hi
I'm sure I load the correct file. it doesn't work yet, I checked all the things over and over again but I could not understand what is wrong :( it programmed successfully but when I want to check the GPIOs by voltmeter the outputs are not correct :(
I attached my simple project please check it if you can and tell me what is my problem?
Regards
Matin

View attachment test_io.rar
 

Re: fpga programmed successfully but it doesn't work correctley

1) how are you looking at pins on a bga?
2) are your power supply voltages correct?
3) if you're going to be playing with FPGAs you're going to need more than a voltmeter.
4) have you looked at your pinFile? Any messages from synthesis or PAR that might give you a clue?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top