I have this code written in verilog for a counter but my program xilinx ise
14.1 finds 2 errors:ERROR:Xst:899 - "numarator9.v" line 45: The logic for does not match a known FF or Latch template. The description style you are using to describe a register or latch is not supported in the current software release.
ERROR:Xst:899 - "numarator9.v" line 44: The logic for does not match a known FF or Latch template. The description style you are using to describe a register or latch is not supported in the current software release.
Can someone help me and tell me what's wrong about my code?
module counter9 ( clock , reset , enable , counter_out, carry_out, preset ); input clock ; input reset ; input enable ; input [3:0] preset; output [3:0] counter_out ; output carry_out; wire clock ; wire reset ; wire enable ; wire [3:0] preset; reg [3:0] counter_out ; reg carry_out; reg a; always @ (posedge clock or negedge reset) begin : COUNTER if (enable == 1'b1) begin a