- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day, I design ALU (arithmetic and logic unit) in the language of Verilog HDL. When I try to simulate the circuit though I get these errors:
--- Quote Start --- Warning: Wrong node type for node "result[0]" in vector source file. Design node is of type Output, but signal in vector source file is of type Input. Error: Can't simulate mismatched node types Warning: Wrong node type for node "result[1]" in vector source file. Design node is of type Output, but signal in vector source file is of type Input. Error: Can't simulate mismatched node types Warning: Wrong node type for node "result[2]" in vector source file. Design node is of type Output, but signal in vector source file is of type Input. Error: Can't simulate mismatched node types Warning: Wrong node type for node "result[3]" in vector source file. Design node is of type Output, but signal in vector source file is of type Input. Error: Can't simulate mismatched node types Warning: Wrong node type for node "result[4]" in vector source file. Design node is of type Output, but signal in vector source file is of type Input. Error: Can't simulate mismatched node types Warning: Wrong node type for node "result[5]" in vector source file. Design node is of type Output, but signal in vector source file is of type Input. Error: Can't simulate mismatched node types Warning: Wrong node type for node "result[6]" in vector source file. Design node is of type Output, but signal in vector source file is of type Input. Error: Can't simulate mismatched node types Warning: Wrong node type for node "result[7]" in vector source file. Design node is of type Output, but signal in vector source file is of type Input. Error: Can't simulate mismatched node types Warning: Wrong node type for node "flagZ" in vector source file. Design node is of type Output, but signal in vector source file is of type Input. Error: Can't simulate mismatched node types Warning: Wrong node type for node "flagO" in vector source file. Design node is of type Output, but signal in vector source file is of type Input. Error: Can't simulate mismatched node types Warning: Wrong node type for node "flagN" in vector source file. Design node is of type Output, but signal in vector source file is of type Input. Error: Can't simulate mismatched node types Error: Quartus II 64-Bit Simulator was unsuccessful. 11 errors, 11 warnings --- Quote End --- What am I doing wrong here? P.S. I live in Russia, and does not know very well English. Forgive my ignorance.Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't think so there is any problem in your source code.I think problem is in your test bench. So please provide your test bench.
I found one typo error in your source line 271.It should be z = (res == 0) ? 1 : 0 instead of z = (res=0) ? 1 : 0.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page