hib1 Posted September 11, 2014 Report Share Posted September 11, 2014 I am just starting out with a papilio pro and have no background in HDL. I have the e-book"introducing the Spartan 3e and VHDL". I have the LED wing from gadget factory with 4 LEDS and pushbuttons.How can I get the pinouts (software and hardware) for the papilio wing connectors? where can I get a quick check sample code (bitfile and source) to run this board (besides the e-book). Quote Link to comment Share on other sites More sharing options...
hamster Posted September 11, 2014 Report Share Posted September 11, 2014 Hi HIb1, Just match the labels on the WIng's silk screen with the pinouts at http://papilio.cc/index.php?n=Playground.PapilioPinouts If you like I can build a quick test bitfile for you.... Quote Link to comment Share on other sites More sharing options...
hib1 Posted September 11, 2014 Author Report Share Posted September 11, 2014 I matched the labels as best I could but they seem to be reversed. the wing points in, over the papilio board when I follow the labels. it does blink when I load a bitfile for LEDs (not the led wing), when I reverse the installation of the wing so that pin 81 is at the top (near A and B silkscreen of the pailio board. i don't know which is the right way fro wings to face (over the main board or out and away). is it possible hat the silkscreen is wrong? Back to you second offer. yes, please send the bitfile and any source code. Howard Quote Link to comment Share on other sites More sharing options...
hamster Posted September 11, 2014 Report Share Posted September 11, 2014 Hi Hib, Attached is a little starter project, and the bit file Plug the btn/led wing into the AH slot - the top right, hanging out to the side, if the text on the PCB is the correct way up. Here is the UCF file used:#----------------------------------------#- Constraints for Papilio Pro #- with btn/led wing in the AH socket #-#----------------------------------------NET "clk32" LOC="P94" | PERIOD=31.125ns; NET "LED<1>" LOC="P98" ; # A14NET "LED<2>" LOC="P88" ; # A12NET "LED<3>" LOC="P83" ; # A10NET "LED<4>" LOC="P79" ; # A8 NET "BTN<1>" LOC="P100" ; # A15NET "BTN<2>" LOC="P93" ; # A13NET "BTN<3>" LOC="P85" ; # A11NET "BTN<4>" LOC="P81" ; # A9pro_btn_led.zippro_btn_led.bit Quote Link to comment Share on other sites More sharing options...
hib1 Posted September 12, 2014 Author Report Share Posted September 12, 2014 Thanks for this test program and the source code. It works on my system. I hope it will help me learn vhdl . Howard Quote Link to comment Share on other sites More sharing options...
Howard1 Posted September 13, 2014 Report Share Posted September 13, 2014 I have your ebook and want to implement as much of it as I can with my hardware, in order learn learn vhdl on the papilio. my hardware is Papilio proLed/ button wingArcade mega wing I realize that the hardware in your book is quite different than mine.Would it be simpler to learn vhdl on the papilio if I bought a logic start megawing and used your code without modification on my papilio pro? Or is using the pro going to cause incompatibility? Quote Link to comment Share on other sites More sharing options...
hamster Posted September 14, 2014 Report Share Posted September 14, 2014 Hi Howard1, You should be fine - you might just have to work a little bit harder cross-referencing schematics and pinouts, and be a bit more inventive with your own design projects. In general the constraints file will need updating, but everything else should be the same. Once you get one switch to light one LED (even if it is the onboard LED on the Papilio Pro) you can then work from there to test all the other inputs and outputs defined and tested. Mike Quote Link to comment Share on other sites More sharing options...
hib1 Posted September 22, 2014 Author Report Share Posted September 22, 2014 Hello Mike, I created "Chapter 6 Your first project" on my Papilio Pro using your E-book. I was unable to get this e-book project to perform. I noticed in your book the UCF is # Constraints for Papilio OneNET switch_1 LOC = "P3" | IOSTANDARD=LVTTL;NET switch_0 LOC = "P4" | IOSTANDARD=LVTTL;NET LED_1 LOC = "P16" | IOSTANDARD=LVTTL;NET LED_0 LOC = "P17" | IOSTANDARD=LVTTL; However there is different notation in the UCF you sent me for the Papilio Pro project "Pro_button_led" that you sent me and that you included earlier in this thread: NET "LED<1>" LOC="P98" ; # A14NET "LED<2>" LOC="P88" ; # A12 NET "BTN<1>" LOC="P100" ; # A15NET "BTN<2>" LOC="P93" ; # A13 I also changed LED<1> to LED <0> and LED<2> to LED<1>and the same changes for buttons 1 and 2. I still no had no success. What is the difference between the UCF notation with < > symbols vs. the notation with " " symbols?Also, it appears that "IOSTANDARD=LVTTL" is not required. If you could tell me what the correct UCF is for this lesson I would appreciate it. Then I can proceed to other lessons in your book, once I learn this item. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.