Error in Verilog - Calling Other Files in Same Project

Status
Not open for further replies.

testing test

Member level 3
Joined
Mar 3, 2010
Messages
65
Helped
5
Reputation
10
Reaction score
3
Trophy points
1,288
Activity points
1,656
Hello,

I am writing code for the main file of my project which makes use of other files within the same project. I am trying to call some files into my main project file with the following commands:

Code:
                Byte_Sub bs0(BS,Cipher_Text);
                Shift_Rows sr0(SR,BS);

The error coming up is

Code:
Undefined variable: Byte_Sub.
near "bs0". syntax error, unexpected "IDENTIFIER"
Undefined variable: Shift+Rows.

Please look into the issue and suggest any solutions.

Thank you.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…