4bit adder. Hierarchy design.


File name

ADDER4_func_call.nsl

Function

4bit adder. Hierarchy design.

I/O signal

A_in[4]=Add parameter input A.
B_in[4]=Add parameter input B.
Q_out[4]=Result.

Specification

This code shown example of hierarchy module design.

An ‘Adder4′ module provide add(sum) operation.
It calculates and provide a result to ‘Q_out’ from ‘A_in’ plus ‘B_in’.

An ‘ADDER4_func_call’ module concatenate lower ‘Adder4′ module.

PAGE TOP