Jump to content
  • 0

Problem with XDC


Juan

Question

Hi, I'm just trying to make a led blinking but I am having problem with the XDC.

This is my code:

module blinking (clk, LED);

  input clk;
  output LED;

  reg [31:0] counter;
  reg LED_status;

  initial begin
    counter <= 32'b0;
    LED_status <= 1'b0;
  end

  always @ (posedge clk) 
    begin
      counter <= counter + 1'b1;
      if (counter > 100000000)
        begin
          LED_status <= !LED_status;
          counter <= 32'b0;
        end


    end

  assign LED = LED_status;

endmodule 

 

So, I think my XDC should be:

set_property LOC F14 [ get_ports clk]
set_property LOC AH13 [ get_ports LED]

But I'm getting these errors:

image.thumb.png.6bd0ecf36afcc179c0497413f4503732.png

What's the problem with my XDC file ?

Thanks in advance!

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...