on-internet
← Community

Why do I get this syntax error in ModelSim?

Stack Overflow ·

I get this error: ** Error: (vlog-13069) C:/Users/pc/Documents/ModelSim Proj/ram_system.v(60): near "(": syntax error, unexpected '(', expecting '''. in Modelsim using Verilog. I do not know where that error is because there is no "(" in the line. Can you help me to find the error and fix it? Here is the complete code: module RAM6116_system (); reg[1:0] state; reg[1:0] next_state; reg inc_adrs; reg inc_data; reg ld_data; reg en_data; reg Cs_b; reg clk; reg Oe_b; reg done; reg We_b; reg[7:0] Data; reg[7:0] Address; wire[7:0] IO; initial begin inc_adrs = 1'b0; inc_data = 1'b0; ld_data = 1'b0; en

Comments

Sign in or sign up to comment and upvote.

No comments yet.