No output depends on input (outputs stuck at VCC or GND) errors
I'm attempting to implement simple power sequencing logic in a MAX10 fpga.
There are four groups of power regulators that are enabled sequentially when the each regulator in the preceding group supplies a "good" signal.
I get warnings that my "PGOOD_*" inputs are not driving logic, and that my "ENABLE*" outputs are stuck at VCC or GND.
This doesn't make sense to me because these inputs are being sent into my "power_sequencer" submodule where they trigger state machine transitions. For specific states in this submodule outputs are activated that are routed back up to the top-level "ENABLE*" outputs.
When I look at the RTL viewer everything looks okay, but post fitting those inputs go nowhere. Why is my design being optimized away?
Weird. Other things I notice: you have 6 states, but you set S_FSM_ERROR as 'x (and only using 5 bits for the state). It should probably have a defined value. Also, even though you are manually doing one-hot encoding here, did you create a state machine encoding assignment in the Assignment Editor?