Altera_Forum
Honored Contributor
11 years agoPin "x" is stuck at GND
This should be really simple. I'm new at this. Why do I get a compile message, "output stuck at ground"? I just want to generate a stretched pulse when I get a nWR low edge.
module Extend_nWR ( input clk, input nWR, output xWR ); reg temp; always @ ( negedge nWR ) begin temp = 1'b1; # 4 temp = 1'b0; end assign xWR = temp; endmodule