8bit binary counter ( 4bit counter x 2 instanciated )
< Function description >
- File name
- CNT8_instance.nsl
- Function
- 8bit synchronouse counter circuit.
- Asynchronous reset.
- Carry input
- Initial value load
- Count enable
- Carry output - I/O signal
- PARAM_in[8]=Initial value.
LOAD_in=Load request.
ENB_in=Count enable.
Q_out[8]=Data output. - Specification
- This code shown example of hierarcy module design using ‘#include’ syntax.
It contain two 4bit synchronous counter function to build a 8bit synchronous counter.
A ‘#include’ syntax concatenate 4bit counter function as lower module and a top module provide data pins and control signals.
This operation style is called an ‘Instanciate’. - Note
- See more information in ‘CNT4.nsl’ source code.



