Alchitry Forums
Alchitry Au - IP and such.. - Printable Version

+- Alchitry Forums (https://forum.alchitry.com)
+-- Forum: Alchitry (https://forum.alchitry.com/forum-1.html)
+--- Forum: General Questions (https://forum.alchitry.com/forum-2.html)
+--- Thread: Alchitry Au - IP and such.. (/thread-81.html)



Alchitry Au - IP and such.. - john.tilghman@protonmail.com - 01-06-2020

Is it possible to create/use a soft core processor on the Au ?

And would this need Lucid or Vivado ?

Also are there PWM and such available ?

I am trying to create a motor controller for a robot.

Thanks,
JT


RE: Alchitry Au - IP and such.. - prebys - 01-08-2020

(01-06-2020, 07:49 PM)john.tilghman@protonmail.com Wrote: Is it possible to create/use a soft core processor on the Au ?

And would this need Lucid or Vivado ?

Also are there PWM and such available ?

I am trying to create a motor controller for a robot.

Thanks,
JT

As I understand your question, there are two ways to do what you want:
1.  Work entirely in Vivado to build the project, then use the Alchitry loader to download it to the board (since the Au is not recognized by the Vivado hardware manager).  You can find the Alchitry loader here: https://alchitry.com/pages/alchitry-loader
2.  Build your core using the "Wizard" in Vivado, then import the resulting  files into your Alchitry labs project.  I haven't done this with CORE, but I have an example using the XADC wizard here:  https://eprebys.faculty.ucdavis.edu/alchitry-notes/

Note that Vivado doesn't support Lucid, so if you want to write in Lucid, you need option 2.

-Eric


RE: Alchitry Au - IP and such.. - GENERATE_BITSTREAM - 01-09-2020

(01-08-2020, 09:49 PM)prebys Wrote:
(01-06-2020, 07:49 PM)john.tilghman@protonmail.com Wrote: Is it possible to create/use a soft core processor on the Au ?

And would this need Lucid or Vivado ?

Also are there PWM and such available ?

I am trying to create a motor controller for a robot.

Thanks,
JT

As I understand your question, there are two ways to do what you want:
1.  Work entirely in Vivado to build the project, then use the Alchitry loader to download it to the board (since the Au is not recognized by the Vivado hardware manager).  You can find the Alchitry loader here: https://alchitry.com/pages/alchitry-loader
2.  Build your core using the "Wizard" in Vivado, then import the resulting  files into your Alchitry labs project.  I haven't done this with CORE, but I have an example using the XADC wizard here:  https://eprebys.faculty.ucdavis.edu/alchitry-notes/

Note that Vivado doesn't support Lucid, so if you want to write in Lucid, you need option 2.

-Eric

Is it possible to make and then use board files for the Alchitry Au for Vivado? There was an attempt here: https://forum.alchitry.com/thread-69.html though the original poster never commented back about their experience with it.

Why is the Alchitry Au not recognized by the Vivado hardware manager?


RE: Alchitry Au - IP and such.. - prebys - 01-09-2020

(01-09-2020, 03:07 AM)GENERATE_BITSTREAM Wrote:
(01-08-2020, 09:49 PM)prebys Wrote:
(01-06-2020, 07:49 PM)john.tilghman@protonmail.com Wrote: Is it possible to create/use a soft core processor on the Au ?

And would this need Lucid or Vivado ?

Also are there PWM and such available ?

I am trying to create a motor controller for a robot.

Thanks,
JT

As I understand your question, there are two ways to do what you want:
1.  Work entirely in Vivado to build the project, then use the Alchitry loader to download it to the board (since the Au is not recognized by the Vivado hardware manager).  You can find the Alchitry loader here: https://alchitry.com/pages/alchitry-loader
2.  Build your core using the "Wizard" in Vivado, then import the resulting  files into your Alchitry labs project.  I haven't done this with CORE, but I have an example using the XADC wizard here:  https://eprebys.faculty.ucdavis.edu/alchitry-notes/

Note that Vivado doesn't support Lucid, so if you want to write in Lucid, you need option 2.

-Eric

Is it possible to make and then use board files for the Alchitry Au for Vivado? There was an attempt here: https://forum.alchitry.com/thread-69.html though the original poster never commented back about their experience with it.

Why is the Alchitry Au not recognized by the Vivado hardware manager?

I haven't personally used the board files.  As for why this board doesn't work with the Hardware Manager, you'll have to ask the Alchitry people about that. 

For the record, I've found their loader *much* more robust than the Xilinx Hardware Manager.  I used to use an officially supported Digilent board for an electronics class I teach, and the hardware manager was an endless headache.  It would frequently just stop working for no apparent reason, and we'd have to uninstall and reinstall the drivers.  It also had a lot of problems working from the Windows VM on my Mac.  We switched to this board with their loader, and so far there are no problems.


RE: Alchitry Au - IP and such.. - MichaelTuckwell - 01-10-2020

PWM works great.
To make the PWM wave in the Au using Verilog.
Follow the online tutorial at https://alchitry.com/blogs/tutorials/pulse-width-modulation
and copy the led_wave.v module from the tutorial as a new Verilog Source in Alchitry Labs.
Modify the au_top.v to instantiate the led_wave module and build the project.
(Note: I added the Io's io_leds to a new Constrainsts file called io_led.acf)

module au_top(
input clk, // 100Mhz clock
input rst_n, // reset button (active low)
output [7:0] led, // 8 user controllable LEDs
input usb_rx, // USB->Serial input
output usb_tx, // USB->Serial output
output [23:0] io_led // LEDs on IO Shield
);

wire rst;

// The reset conditioner is used to synchronize the reset signal to the FPGA
// clock. This ensures the entire FPGA comes out of reset at the same time.
reset_conditioner reset_conditioner(
.clk(clk),
.in(!rst_n),
.out(rst)
);

led_wave wave (
.rst(rst),
.clk(clk),
.led(led)
);

assign io_led = 24'h000000; // turn LEDs off

assign usb_tx = usb_rx; // echo the serial data

endmodule