10-22-2013 04:05 AM
10-22-2013 04:18 AM
Sure thing. Write your code, show us your simulation and schematics, and let us know what problems you need help fixing.
-- Bob Elkind
10-22-2013 10:15 PM
and don't forget to mention the type of FPGA board you are working with.
Have a nice synthesis
10-23-2013 12:32 AM
10-23-2013 02:17 AM
true to some degree.
But the world has changed since then.
While in ye good ol' days some students tried to "inherit" "templates" of e.g. lab reports from their senior fellow students, there was only one way to deal with new projects. Going to the library and looking for books and articles covering that topic and giving some idea on how to approach the problem.
And if the project was something generic there was a good chance to find a full applicable solution in some book.
All of this remained local, private and more or less unseen.
Now the common way of retrieving informations is by searching the net, but why bother searching for yourself when someone else on the net can tell you directly.
If we forget about anonymousness, this is like shouting your request from the rooftop of some building.
Only that the range of such an action was quite limited then, now you can do this worldwide.
So the chance to actually get a reply is much higher.
Still that is not the guarantee that one gets the expected replies as we see in this thread. :-)
While in former times the book would not complain if some student uses a solution found in it, now we have the chance to teach these students a little lesson improving some of their skills, even non-technical ones.
So why not being nice and looking at the OPs request with some magnifying glass:
He wants to know about pins and code neccessary to interface some 4x4 keypad to a Spartan 3e FPGA.
Well, why not. <evil grin> Here it comes:
All IOBs can be used and the necessary interfacing code is the UCF file similar to this example:
NET "kp4_in<0>" LOC = "L13" | IOSTANDARD = LVTTL | PULLUP ;
NET "kp4_in<1>" LOC = "L14" | IOSTANDARD = LVTTL | PULLUP ;
NET "kp4_in<2>" LOC = "H18" | IOSTANDARD = LVTTL | PULLUP ;
NET "kp4_in<3>" LOC = "N17" | IOSTANDARD = LVTTL | PULLUP ;
NET "kp4_out<0>" LOC = "F12" | IOSTANDARD = LVTTL | SLEW = SLOW | DRIVE = 8 ;
NET "kp4_out<1>" LOC = "E12" | IOSTANDARD = LVTTL | SLEW = SLOW | DRIVE = 8 ;
NET "kp4_out<2>" LOC = "E11" | IOSTANDARD = LVTTL | SLEW = SLOW | DRIVE = 8 ;
NET "kp4_out<3>" LOC = "F11" | IOSTANDARD = LVTTL | SLEW = SLOW | DRIVE = 8 ;
The above information can be found on the net easily.
What do you think, can the student learn something from this answer?
Can it be helpful or is this already considerable as cheating?
We are now living in a world connecting people from (almost) all over the world with each other.
So maybe we need to use this media to give the young ones an idea how to use it properly.
10-23-2013 09:10 AM
10-23-2013 11:55 PM
that's a statement I can fully agree to.
Only thing that can be questioned is the motivation of the student to act this way.
Is it just selfish laziness, or have such students been trained to act dependent?
We have students from many countries here and it is strange to see how the different cultural induced patterns of behavior sometimes contradicts our expectations.
Therefore I'm always glad when Bob (eteam1) explains such beginners how to approach a problem and how to deal with the forum.
(e.g. to ask specific questions AFTER having done some own investigation and coding trials etc.)
So rather than being annoyed in some way we should try to teach these people our way of dealing with problems/assignments.
A real student (meaning someone openminded and willing to learn) will use this chance to evolve, while a selfish lazy guy will simply be repelled.
We will see which group the OP belongs to. ;-)
10-24-2013 04:14 AM
10-24-2013 07:56 AM
There is a single Spartan-3E board, so you need to check the schematics or user guide for the board that you have to determine the pin locatoins.
10-24-2013 09:39 AM
Can u help me by just saying which pins are used for 4x4 matrix keypad interfacing as already mentioned on spartan 3e fpga board.so that i can write my code.
You can choose any pins you want, subject to whatever the board designer brought out to some sort of header/connector to which you can attach your keypad.
10-24-2013 10:09 AM