I’m going through the tutorials to try getting my Spartan Edge Accelerator working. I’ve gotten it connected via JTAG, but I’ve run into a snag with the demo code. The instructions say:
Where are these files? Which folder do I find them in? Is there a repo I should have downloaded?
While I’m still hoping to get the simple tutorial sources you refer to in the wiki, here’s a very very simple example I put together. It turns off LED1/2 based on USER1/2.
This is my simple test.v module that seems to work fine: [code] `timescale 1ns / 1ps
module test(
input osc_clk,
input[4:5] gport_e, //buttons
output[6:7] gport_b //leds
);
reg clk;
always @(posedge osc_clk) begin
clk = ~clk;
end
reg [0:1] led_enable;
always @(posedge clk) begin
led_enable = gport_e;
end
assign gport_b = led_enable;