Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17255 Discussions

Error: Can't simulate mismatched node types

Altera_Forum
Honored Contributor II
3,396 Views

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.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
2,325 Views

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.
0 Kudos
Reply