Forum Discussion
Altera_Forum
Honored Contributor
14 years agosystem verilog typedef
helloo all
i need some help with the system verilog typedef construct. in c there is a usage of the typedef as " typedef void number (int, int)". here the example provides the type number for a function returning no value and taking two int arguments. is there is any similar structure in system verilog. i am searching for a straight conversion or some round about way in which i can implement the same functionality. thanks in advance1 Reply
- Altera_Forum
Honored Contributor
I do not believe you need to do this in Verilog or SystemVerilog. You can reference a function before it has been defined.