The following warnings occurred: | |||||||||||||||
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.3.12 (Linux)
|
Pulpissimo bitstream generation. - Printable Version +- PULP Community (https://pulp-platform.org/community) +-- Forum: PULP's Community forum (https://pulp-platform.org/community/forumdisplay.php?fid=1) +--- Forum: PULP General questions (https://pulp-platform.org/community/forumdisplay.php?fid=2) +--- Thread: Pulpissimo bitstream generation. (/showthread.php?tid=108) Pages:
1
2
|
RE: Pulpissimo bitstream generation. - meggiman - 07-16-2019 (07-16-2019, 02:22 AM)gideros Wrote: Hi meggi, Hi gideros, In theory it should work straight out of the box if you connect the currently dangling ports in the toplevel pulpissimo.sv. You find the address of the AXI plug in ips/pulp_soc/rtl/pulp_soc/soc_interconnect.sv on line 260 and 261 (base address: 0x1000_0000, end_address: 0x1040_0000). For reference you should have a look at https://github.com/pulp-platform/pulp. In this project PULPissimo is connected to an 8 core cluster connected on the AXI plug. This should give you an idea on how to connect your 3rd party module. Most of our own accelerators we developed so far were integrated by directly connecting them to the TCDM bus to get direct access to the shared memory. Greetings, Manuel RE: Pulpissimo bitstream generation. - AhmedZaky - 07-17-2019 (07-15-2019, 03:19 PM)meggiman Wrote:(07-15-2019, 08:28 AM)AhmedZaky Wrote: Hey, Hey Thanks for your reply, I already applied the patch manually to the source file of openocd and it works. Noe wen I try to either run the example the FPGA or trying to debug I got the following errors: 1- When I am trying to run the example directly without debugging using the " make run" command: "/pulp-sdk/pkg/sdk/dev/install/ws/python/runner/fpga/pulpissimo/elf_run.gdb:1: Error in sourced command file: localhost:3333: Connection timed out" 2- when I try to use the debugger by running three terminals at the same time " openocd, GDB and screen / minicom" I face the following issue: - Minicom: I receive nothing from minicom, and I am assigning the right USB port hopefully. - Screen: I receive odd characters instead of the real message. Could you please help on that ? What might be the problem ? Thanks so much ! RE: Pulpissimo bitstream generation. - meggiman - 07-17-2019 (07-17-2019, 10:36 AM)AhmedZaky Wrote:Unless you connected the second micro-USB cable for the UART to the wrong connector on the Genesys2 board the most likely reason is that you set the wrong frequency (or even forgot to specify it at all) for the core and peripheral clock in your application which results in a different baudrate (see FPGA section in README). The default frequency currently mentioned in the README relates to the most recent version of PULPissimo. Depending at which commit you generated the bitstream the frequency might be a different one since I only recently changed them to higher values (the mentioned 40 MHz and 20 MHz). You can either pull the latest commits on the FPGA branch and regenerate the bitstream or check the timing summary in vivado to figure out which frequencies are actually used with your current bitstream. In any case you must set the frequency in your application since at the moment the SDK does not assume any reasonable defaults (most likely we will change that in the future).(07-15-2019, 03:19 PM)meggiman Wrote:(07-15-2019, 08:28 AM)AhmedZaky Wrote: Hey, Regarding the 'make run' target: The runner script for the FPGA is still unstable and occasionally does not work due to timing problems when starting the OpenOCD server, gdb and the minicom session. For the moment I recommend to use OpenOCD and gdb manually as documented in the first part of the README. This approach so far worked reliably for me and has the additional benefit that you can debug your application or even the runtime initialization before entering main() with gdb. RE: Pulpissimo bitstream generation. - zealshah29 - 03-28-2024 (07-15-2019, 11:02 AM)naprpo Wrote:Hi napropo, could you let me know that what was the issue that you were facing with sdk build and how did you solve it? Because I am stuck on the same step, i.e, "continuing" on gdb terminal, and haven't been able to figure out any fixes so far. Thanks.(07-15-2019, 08:14 AM)meggiman Wrote: Hi naprpo, |