quartus/makefile: fails ausgebessert
[hwmod.git] / quartus / project_gen.tcl
index 584c7364188bb9ac6480df3e11a7535fa4e771e6..242d42b499b014d7f3e5a7a3d38f6e5759079e9c 100644 (file)
@@ -83,6 +83,20 @@ if {$make_assignments} {
        #gen ip-core
        set_global_assignment -name VHDL_FILE ../../src/math_pkg.vhd
 
+       #debouncing
+       set_global_assignment -name VHDL_FILE ../../src/debouncing/counter.vhd
+       set_global_assignment -name VHDL_FILE ../../src/debouncing/counter_beh.vhd
+       set_global_assignment -name VHDL_FILE ../../src/debouncing/debounce.vhd
+       set_global_assignment -name VHDL_FILE ../../src/debouncing/debounce_fsm.vhd
+       set_global_assignment -name VHDL_FILE ../../src/debouncing/debounce_fsm_beh.vhd
+       set_global_assignment -name VHDL_FILE ../../src/debouncing/debounce_pkg.vhd
+       set_global_assignment -name VHDL_FILE ../../src/debouncing/debounce_struct.vhd
+       set_global_assignment -name VHDL_FILE ../../src/debouncing/event_counter.vhd
+       set_global_assignment -name VHDL_FILE ../../src/debouncing/event_counter_beh.vhd
+       set_global_assignment -name VHDL_FILE ../../src/debouncing/event_counter_pkg.vhd
+       set_global_assignment -name VHDL_FILE ../../src/debouncing/sync.vhd
+       set_global_assignment -name VHDL_FILE ../../src/debouncing/sync_beh.vhd
+       set_global_assignment -name VHDL_FILE ../../src/debouncing/sync_pkg.vhd
 
        #pin mapping/system
        set_location_assignment PIN_N3 -to sys_clk
@@ -106,6 +120,8 @@ if {$make_assignments} {
 
        set_global_assignment -name FMAX_REQUIREMENT "33.33 MHz" -section_id sys_clk
        set_instance_assignment -name CLOCK_SETTINGS sys_clk -to sys_clk
+       #warning fix fuer pll
+       set_global_assignment -name ENABLE_CLOCK_LATENCY ON
 
        set_global_assignment -name LL_ROOT_REGION ON -section_id "Root Region"
        set_global_assignment -name LL_MEMBER_STATE LOCKED -section_id "Root Region"