0
\$\begingroup\$

enter image description here

I am new to Quartus, and have been trying to test out my 32-bit ALU on Quartus 13.1. When I try the functional simulation, I get a string of Zs. The results for the individual components, like the fullAdder, display the results fine. What can I do to view the result(inout) in a hex representation?

Edit: There was an issue with the Quartus 13.1 edition. It works perfectly fine on the 16.1 edition.

\$\endgroup\$
2
  • \$\begingroup\$ My crystal ball is not supporting schematics/HDL view. \$\endgroup\$
    – Eugene Sh.
    Commented Feb 1, 2018 at 16:13
  • 1
    \$\begingroup\$ The Zs mean high impedance, so a bit is probably disconnected somewhere. \$\endgroup\$
    – Samuel
    Commented Feb 1, 2018 at 16:47

1 Answer 1

2
\$\begingroup\$

Without posting your HDL code, it's difficult to determine what exactly is the problem. However, something outputting Zs in simulation likely indicates that the output hasn't been assigned. For instance, when simulating this module:

module simple(input a,b, output o);
    wire o_internal;
    assign o_internal = a^b;
endmodule // simple

o has the value Z. So you probably want to go over your ALU and make sure that you are actually assigning to your output signal.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.