I got error when passing a parameterised class in system verilog instance
up vote
-3
down vote
favorite
i tried to make an instance of this module it gave me the following error (unexpected '#', expecting class.).
why ?
what is the solution?
here is the module,instance and the error in this link
verilog system-verilog modelsim
add a comment |
up vote
-3
down vote
favorite
i tried to make an instance of this module it gave me the following error (unexpected '#', expecting class.).
why ?
what is the solution?
here is the module,instance and the error in this link
verilog system-verilog modelsim
Please, error messages are there for a reason. it points you to the file and to the line number. you should have been able to spot the syntax issue immediately.
– Serge
Nov 21 at 20:50
add a comment |
up vote
-3
down vote
favorite
up vote
-3
down vote
favorite
i tried to make an instance of this module it gave me the following error (unexpected '#', expecting class.).
why ?
what is the solution?
here is the module,instance and the error in this link
verilog system-verilog modelsim
i tried to make an instance of this module it gave me the following error (unexpected '#', expecting class.).
why ?
what is the solution?
here is the module,instance and the error in this link
verilog system-verilog modelsim
verilog system-verilog modelsim
asked Nov 21 at 15:06
Yehia Farouk
1
1
Please, error messages are there for a reason. it points you to the file and to the line number. you should have been able to spot the syntax issue immediately.
– Serge
Nov 21 at 20:50
add a comment |
Please, error messages are there for a reason. it points you to the file and to the line number. you should have been able to spot the syntax issue immediately.
– Serge
Nov 21 at 20:50
Please, error messages are there for a reason. it points you to the file and to the line number. you should have been able to spot the syntax issue immediately.
– Serge
Nov 21 at 20:50
Please, error messages are there for a reason. it points you to the file and to the line number. you should have been able to spot the syntax issue immediately.
– Serge
Nov 21 at 20:50
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
You used #include
instead of `include
add a comment |
up vote
0
down vote
In pulp_2.v file, change #include
by 'include
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You used #include
instead of `include
add a comment |
up vote
0
down vote
You used #include
instead of `include
add a comment |
up vote
0
down vote
up vote
0
down vote
You used #include
instead of `include
You used #include
instead of `include
answered Nov 21 at 15:11
dave_59
19.2k21437
19.2k21437
add a comment |
add a comment |
up vote
0
down vote
In pulp_2.v file, change #include
by 'include
add a comment |
up vote
0
down vote
In pulp_2.v file, change #include
by 'include
add a comment |
up vote
0
down vote
up vote
0
down vote
In pulp_2.v file, change #include
by 'include
In pulp_2.v file, change #include
by 'include
answered Nov 22 at 15:07
El_Gahaf
84
84
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53414945%2fi-got-error-when-passing-a-parameterised-class-in-system-verilog-instance%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please, error messages are there for a reason. it points you to the file and to the line number. you should have been able to spot the syntax issue immediately.
– Serge
Nov 21 at 20:50