Added functions.sv (required by netemulation)

Was required when tried to compile