- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After adding the Verilog HDL File (named "sam") and creating the program
When I compile
The following error appears.
“top-level design entity “sam” is undefined”
Settings → General "top-level entity" is "sam".
Even if I right-click "sam.V" in "Project Navigator" and select "Set as top-level entity" and compile, the same error occurs.
I would like to know how to solve this problem.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Inside your file sam.v, is there actually a definition for a module called sam?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ファイル sam.v 内というのがどの場所を示すのかわかっていないのですが、
プロジェクト及びプログラムの保存先は添付の画像通りの内容になります。
モジュールの定義があるか確認はどこを見れば良いでしょうか。
詳しく教えていただけると助かります。
以上、よろしくお願いいたします。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Navigate to the file sam.v. Open the file in a text editor. What is the content of the file? Please post it here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
He meant that the module name must match the file name. Please refer to the picture below for clarification.
Regards,
Richard Tan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe your inquiries are answered.
Now, I will transition this thread to community support. If you have any further questions or concerns, please don't hesitate to reach out.
Thank you and have a great day!
Best Regards,
Richard Tan
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page