Xilinx ISE/Modelsim Users:
Overview and Help:
Xilinx ISE 9.1 Help
This code is slightly different from what is presented in class. In this code the bitcount.vhd module is generic (N, logN are generic) whereas in the lecture the bitcount.vhd module is fixed (N=8, logN=3). The testbench decides what final values N and logN should be. Right-click and select "Save Target As" to save to computer.
Counter