Forum Discussion
Altera_Forum
Honored Contributor
16 years agoproblem of LCD controller
hi, i would convert a verilog code to vhdl code , //code verilog always@(posedge iCLK or negedge iRST_N) begin if(!iRST_N) begin LUT_INDEX <= 0; ...
Altera_Forum
Honored Contributor
16 years agoAs I said, negedge doesn't actually mean an edge sensitive condition in this place. VHDL is more exact in this respect.
There may be many reasons why the LCD controller code is not working. You didn't show the relevant parts of it. If you have a known working Verilog controller code, you don't need to translate it to VHDL. You can instantiate it as a component in your VHDL design