on-internet
← Community

How to fix Vivado synthesis syntax error at reg declaration?

Stack Overflow ·

I want to synthesize this code, but it keeps telling me that there is error at: reg button_old, button_raise; Is there anyone who knows what mistakes I have in the coding? We are doing project using nexys 4. We are able to simulate the code but are unable to synthesize it, so we are not able to proceed to the next steps. `timescale 1ns / 1ps module Player (input clk, input rst,input button, input [29:0] set, input button_p1, input button_p2, output [3:0]oscore1, output [3:0]oscore2, output LED_ON, output answer, output [3:0]seg1, output [3:0]seg2) reg button_old, button_raise; reg number; reg

Comments

Sign in or sign up to comment and upvote.

No comments yet.