HierarchyFilesModulesSignalsTasksFunctionsHelp
/* -*-Verilog-*-
*******************************************************************************
*
* File:         count_millennia.v
* RCS:          $Header: $
* Description:  
* Author:       Costas Calamvokis
* Language:     Verilog
* Package:      N/A
* Status:       Experimental (Do Not Distribute)
*
* Copyright (c) 1998 Costas Calamvokis, all rights reserved.
*
*******************************************************************************
*/

[Up: top m1]
module count_millenniaIndex(
    clk,
    reset,
    millennium);

input clk;
input reset;
output [3:0] millennium;

wire tick_millennium;

/******************************************************

    This is a parameterizable counter

 ******************************************************/

count_to_x #(10,    // number to count to 
             4)     // width of output
 m1 (
    .clk(clk),
    .reset(reset),
    .enable(tick_millennium),
    .out(millennium));

/******************************************************

    This divides by lots and provides a pulse
    once every millennium

 ******************************************************/

pulse_per_millennium d1 (
    .clk(clk),
    .reset(reset),
    .out(tick_millennium));


endmodule



/*
 *  Click on this link to go back to v2html home page: 
 *    http:../../../v2html.html
 */    

HierarchyFilesModulesSignalsTasksFunctionsHelp

This page: Maintained by: v2html730@burbleland.com
Created:Thu Mar 24 20:07:08 2011
From: ../verilog/count_millennia.v

Verilog converted to html by v2html 7.30.1.3 (written by Costas Calamvokis).Help