Continue to Site

# Selecting different include files in verilog

Status
Not open for further replies.

#### shakti_pattnaik

##### Newbie level 5

Few queries:
1) I've 3 different INCLUDE files and 3 different TASKS, one particular task maps to one particular include file. How can be select the tasks with their respective include files in one verilog file.

2) Can the include file be defined inside a task so that once we call the task the include file also gets called.

#### thiagu_comp

##### Member level 1
include verilog

1 --> There is no need to refer to which include file has the specific task. If the file containing the task in included before calling the task, that is enough.
2 --> It depends on what is written inside the file which is included. Syntactically, it is not wrong.

Points: 2