24/12/221第第55章章引脚锁定引脚锁定壹.直接锁定1Assignments/pins可以直接按照,输入—输出—双向口的顺序锁定应交二直接锁定2Assignments/Editor方法基本相同24/12/2222.TCL脚本锁定一File/new/otherFiles二TCLScriptFile三键入引脚及对应的fpga脚如文件名保存为setup.tcl24/12/223#Setup.tcl#Setuppinsettingset_location_assignmentPIN_153–toclkset_location_assignmentPIN_13–todata_in[0]set_location_assignmentPIN_14–todata_in[1]set_location_assignmentPIN_15–todata_in[2]set_location_assignmentPIN_7–toled_out[0]set_location_assignmentPIN_8–toled_out[1]set_location_assignmentPIN_11–toled_out[2]set_location_assignmentPIN_12–toled_out[3]set_location_assignmentPIN_59–toled_out[4]set_location_assignmentPIN_60–toled_out[5]set_location_assignmentPIN_75–toled_out[6]set_location_assignmentPIN_76–toled_out[7]set_location_assignmentPIN_73–tooLed_s[0]set_location_assignmentPIN_68–tooLed_s[1]set_location_assignmentPIN_67–tooLed_s[2]set_location_assignmentPIN_66–tooLed_s[3]如文件名保存为setup.tcl24/12/224保存好后运行Tools/TCLscripts选择setup文件点击RUN即可