Forum Discussion

AndyN's avatar
AndyN
Icon for Occasional Contributor rankOccasional Contributor
7 years ago
Solved

Verilog if statement with a signed signal

This feels like it should be a stupid question but does quartus do something strange when compiling if statements using signed signals? As an example, I have some code in the following form: typedef...
  • AndyN's avatar
    7 years ago

    So after digging through the LRM, it looks like Quartus is actually doing the correct thing per the spec (however I maintain that Modelsim is doing the correct thing per common sense). File it away as a nasty gotcha I guess....