• 0
Sign in to follow this  
istemihan

BASYS2: Some help for the beginner

Question

I am a newbie, just bought BASYS2 digilent FPGA Board. I have background on 
microcontrollers. C/C++ is no problem for me. But I am having some 
trouble with FPGA. Actually, not with FPGA but with Compiler and ISE. As 
you can see in the attachment, I configured the FPGA chip. I am using 
BASYS2 board.

 

This is the implementation code:

---------------------

module myModule(A, B);
    input wire A;
    output wire B;
    assign B = !A;

endmodule

----------------------

And this is the ucf code:

-----------------------

# Onboard LEDs
NET "B" LOC = "M11";

NET "A" LOC = "C11";

------------------------



As boards technical sheet says, M11 is LED 1 and C11 is BTN 2. So I want 
LED to flash when I unpress the button. Do you see something wrong with 
the code? Because it aint working. If the code should have been working, 
what should I do? Am I skipping something?

As you see I aldready generated programming file and run. So what next?

Thanks.

1.png

2.png

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Everything looks great - so a silly question... are you sure you have a xc3s100e part on your board, and not the xc3s250e? (You can read the part # off the chip...)

There used to be (still is?) a -250 model..

Edited by hamster

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this