PROJECT := pci_7seg
 
-all: xst ngdbuild map par trace prom mcs final
+all: xst ngdbuild map par trace prom final
 
 log:
        time make all &>build.log
        rm -rf _ngo xst 
        rm -rf build.log
        rm -rf $(PROJECT).unroutes *.xml
+
+load:
+       impact -batch xc3s1500.batch
 
 
 entity heartbeat is
 generic (
-       divider : integer := 33000000
+       divider : std_logic_vector(31 downto 0) := X"01F78A40"
 );
 
 port (
                counter := counter + 1;
                if counter = divider then
                        state := not state;
+                       counter := (others => '0');
                end if;
        end if;
 end if;