setup.tcl

来自「-- 本模块的功能是验证实现和PC机进行基本的串口通信的功能。需要在 --PC」· TCL 代码 · 共 21 行

TCL
21
字号
#Setup.tcl 
# Setup pin setting for EP2C5_EP2C8 main board 
set_global_assignment -name RESERVE_ALL_UNUSED_PINS "AS INPUT TRI-STATED" 
set_global_assignment -name ENABLE_INIT_DONE_OUTPUT OFF 
set_location_assignment PIN_23 -to clk                                
set_location_assignment PIN_56 -to reset     

#led
set_location_assignment PIN_6 -to led\[0\] 

set_location_assignment PIN_5 -to led\[1\]
set_location_assignment PIN_3 -to led\[2\] 
set_location_assignment PIN_4 -to led\[3\]


#rxd
set_location_assignment PIN_145 -to uart_rxd
set_location_assignment PIN_146 -to uart_txd

set_location_assignment PIN_106 -to rxd_usb
set_location_assignment PIN_107 -to txd_usb

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?