


You need to look at the documentation for your board. OK, like many things FPGA related, there's more to it than meets the eye. What the heck does the timescale line do for me? I understand googling it yields time unit / time precision, but does that only dictate how i can build delays into the system and the precision with which I can control those delays? e.g., #10 is ten time units delay.but i can do #10.01 if my precision is set correctly?Īny issues creating a blinking LED with a simple AND gate like in the code above? e.g., clock goes high and switch is high, then led goes high? 't imescale 100ms / 1ms module enable_flash( input clk, input switch, output led ) Īm I wrong that the clock signal will always be 100MHz and then I need to manipulate it in my sources (.v) file? v file, but then going into the constraints file, I think that Artix-7 is going to feed a 100MHz clock in no matter what timescale i choose. Initially, I thought I could create the clock signal just by editing the 'timescale line at the top of my. Essentially, I want to generate a simple blinking LED at a perceptible freq (say, 10Hz / 100ms). I realize I have a gap in knowledge with what im trying to do. If it isn't obvious already, I'm new to FPGA.moving on.
