alambda

Pro LogicStart MegaWing UCF wrong

Recommended Posts

I wasn't sure whether to post this here or under Wings.

I just got the Papilio Pro a couple of days ago and started to go through its basic functionality today. I thought that some of my settings were seriously wrong and blamed everything from Xilinx to Linux. It took me hours to figure out that the pin assignments for switches and LEDs were wrong in the given UCF. The file as it stands now claims

 

 

NET LED(7)         LOC="P114" | IOSTANDARD=LVTTL;                                # C8

 

NET LED(6)         LOC="P115" | IOSTANDARD=LVTTL;                                # C1
NET LED(5)         LOC="P116" | IOSTANDARD=LVTTL;                                # C2
NET LED(4)         LOC="P117" | IOSTANDARD=LVTTL;                                # C3
NET LED(3)         LOC="P118" | IOSTANDARD=LVTTL;                                # C4
NET LED(2)         LOC="P119" | IOSTANDARD=LVTTL;                                # C5
NET LED(1)         LOC="P120" | IOSTANDARD=LVTTL;                                # C6
NET LED(0)         LOC="P121" | IOSTANDARD=LVTTL;                                # C7
NET SWITCH(7)      LOC="P123" | IOSTANDARD=LVTTL;                                # C8
NET SWITCH(6)      LOC="P124" | IOSTANDARD=LVTTL;                                # C9
NET SWITCH(5)      LOC="P126" | IOSTANDARD=LVTTL;                                # C10
NET SWITCH(4)      LOC="P127" | IOSTANDARD=LVTTL;                                # C11
NET SWITCH(3)      LOC="P131" | IOSTANDARD=LVTTL;                                # C12
NET SWITCH(2)      LOC="P132" | IOSTANDARD=LVTTL;                                # C13
NET SWITCH(1)      LOC="P133" | IOSTANDARD=LVTTL;                                # C14
NET SWITCH(0)      LOC="P134" | IOSTANDARD=LVTTL;                                # C15
 
According to my tests it should be 

 

 
NET LED(0)      LOC="P123" | IOSTANDARD=LVTTL; 
NET LED(1)      LOC="P124" | IOSTANDARD=LVTTL; 
NET LED(2)      LOC="P126" | IOSTANDARD=LVTTL;  
NET LED(3)      LOC="P127" | IOSTANDARD=LVTTL; 
NET LED(4)      LOC="P131" | IOSTANDARD=LVTTL; 
NET LED(5)      LOC="P132" | IOSTANDARD=LVTTL; 
NET LED(6)      LOC="P133" | IOSTANDARD=LVTTL;  
NET LED(7)      LOC="P134" | IOSTANDARD=LVTTL;  
NET SWITCH(0)         LOC="P114" | IOSTANDARD=LVTTL;     
NET SWITCH(1)         LOC="P115" | IOSTANDARD=LVTTL;  
NET SWITCH(2)         LOC="P116" | IOSTANDARD=LVTTL;  
NET SWITCH(3)         LOC="P117" | IOSTANDARD=LVTTL;    
NET SWITCH(4)         LOC="P118" | IOSTANDARD=LVTTL; 
NET SWITCH(5)         LOC="P119" | IOSTANDARD=LVTTL; 
NET SWITCH(6)         LOC="P120" | IOSTANDARD=LVTTL; 
NET SWITCH(7)         LOC="P121" | IOSTANDARD=LVTTL; 
 
I reversed the 0->7 to 7->0 to resemble the numbering on the PCB (it goes the opposite way if you think about MSBs). I don't know which is the convention on Papilio One boards.

 

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