makefile: coverage aktivieren wenn @ tilab
[hwmod.git] / quartus / project_gen.tcl
index 62d62a359b02894a3ffb849a3a53efb6d2a30cae..2f5df6d0a6fdf78788e458698897dce3288cb80a 100644 (file)
@@ -41,10 +41,13 @@ if {$make_assignments} {
        #include source files
        set_global_assignment -name TOP_LEVEL_ENTITY calc
        set_global_assignment -name VHDL_FILE ../../src/gen_pkg.vhd
-       set_global_assignment -name VHDL_FILE ../../src/calc.vhd
        set_global_assignment -name VHDL_FILE ../../src/alu.vhd
        set_global_assignment -name VHDL_FILE ../../src/parser.vhd
        set_global_assignment -name VHDL_FILE ../../src/scanner.vhd
+       set_global_assignment -name VHDL_FILE ../../src/display.vhd
+       set_global_assignment -name VHDL_FILE ../../src/sp_ram.vhd
+       set_global_assignment -name VHDL_FILE ../../src/history.vhd
+       set_global_assignment -name VHDL_FILE ../../src/calc.vhd
        set_global_assignment -name VHDL_FILE ../../src/vpll.vhd
        
        #vga ip-core
@@ -80,6 +83,23 @@ 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/debounce_tb.vhd
+       set_global_assignment -name VHDL_FILE ../../src/debouncing/debounce_top.vhd
+       set_global_assignment -name VHDL_FILE ../../src/debouncing/debounce_top_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
@@ -88,21 +108,23 @@ if {$make_assignments} {
        #vga
        set_location_assignment PIN_F1 -to hsync_n
        set_location_assignment PIN_F2 -to vsync_n
-       set_location_assignment E22 -to r[0]
-       set_location_assignment T4 -to r[1]
-       set_location_assignment T7 -to r[2]
-       set_location_assignment E23 -to g[0]
-       set_location_assignment T5 -to g[1]
-       set_location_assignment T24 -to g[2]
-       set_location_assignment E24 -to b[0]
-       set_location_assignment T6 -to b[1]
+       set_location_assignment PIN_E22 -to r[0]
+       set_location_assignment PIN_T4 -to r[1]
+       set_location_assignment PIN_T7 -to r[2]
+       set_location_assignment PIN_E23 -to g[0]
+       set_location_assignment PIN_T5 -to g[1]
+       set_location_assignment PIN_T24 -to g[2]
+       set_location_assignment PIN_E24 -to b[0]
+       set_location_assignment PIN_T6 -to b[1]
 
        #ps/2
-       set_location_assignment Y26 -to ps2_clk
-       set_location_assignment E21 -to ps2_data
+       set_location_assignment PIN_Y26 -to ps2_clk
+       set_location_assignment PIN_E21 -to ps2_data
 
        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"