Add new AXI4-Stream UART IP and update .gitignore for Lab2 files

This commit is contained in:
2025-03-31 18:35:29 +02:00
parent 06afed32a3
commit cd5d1b8a0c
19 changed files with 4304 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
package require xilinx::board 1.0
namespace import ::xilinx::board::*
set instname [current_inst]
set f_xdc [add_ipfile -usedIn [list synthesis implementation board ] -force ${instname}_board.xdc]
puts_ipfile $f_xdc "#--------------------Physical Constraints-----------------\n"
if { [get_project_property BOARD] == "" } {
close_ipfile $f_xdc
return
}
set board_if [get_property PARAM_VALUE.UART_BOARD_INTERFACE]
if { $board_if ne "Custom"} {
board_add_port_constraints $f_xdc $board_if TxD UART_TX
board_add_port_constraints $f_xdc $board_if RxD UART_RX
}
close_ipfile $f_xdc