Upload
varun-chauhan
View
216
Download
0
Embed Size (px)
Citation preview
8/17/2019 Example for Task and Functions
1/4
//Example 1//
//Example for task for inputs ,outputsand external references//
// Example for the eect of task port size//
//Example for accessing the task local variable from outside the task//
8/17/2019 Example for Task and Functions
2/4
//Example for task local and module
items with the same names//
//Example for re-entrant tasks//
//Example for read cycle task//
8/17/2019 Example for Task and Functions
3/4
Examples for unctions!
//Example to count bits function//
//"mplementation of mux using function//
8/17/2019 Example for Task and Functions
4/4
//Example for function divide , returning two # bit values//
//Example for functions with integers//