1
0
mirror of https://github.com/olofk/serv.git synced 2026-01-26 11:41:51 +00:00

Add support for DE0 Nano

This commit is contained in:
Olof Kindgren
2020-09-29 17:57:26 +02:00
parent ee6a86705d
commit ed9b774eba
6 changed files with 108 additions and 0 deletions

8
data/de0_nano.sdc Normal file
View File

@@ -0,0 +1,8 @@
# Main system clock (50 Mhz)
create_clock -name "clk" -period 20.000ns [get_ports {i_clk}]
# Automatically constrain PLL and other generated clocks
derive_pll_clocks -create_base_clocks
# Automatically calculate clock uncertainty to jitter and other effects.
derive_clock_uncertainty

11
data/de0_nano.tcl Normal file
View File

@@ -0,0 +1,11 @@
set_location_assignment PIN_R8 -to i_clk
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to i_clk
set_location_assignment PIN_A15 -to q
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to q
set_location_assignment PIN_D11 -to uart_txd
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to uart_txd
set_location_assignment PIN_J15 -to i_rst_n
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to i_rst_n