Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 319
» Latest member: serumtrangda
» Forum threads: 98
» Forum posts: 345

Full Statistics

Latest Threads
UART test case
Forum: PULP General questions
Last Post: mahalakshmir.ma
Yesterday, 10:20 AM
» Replies: 1
» Views: 20
questasim test case faile...
Forum: PULP General questions
Last Post: mahalakshmir.ma
Yesterday, 04:03 AM
» Replies: 0
» Views: 12
Compiling and running app...
Forum: PULP General questions
Last Post: jmmarostegui
12-05-2019, 02:27 PM
» Replies: 2
» Views: 23
Problem installing PULP-S...
Forum: PULP General questions
Last Post: kgf
12-05-2019, 12:05 PM
» Replies: 4
» Views: 126
waves
Forum: PULP General questions
Last Post: kgf
11-29-2019, 10:40 AM
» Replies: 1
» Views: 64
HEX Files
Forum: PULP General questions
Last Post: mahalakshmir.ma
11-28-2019, 04:02 AM
» Replies: 5
» Views: 231
GDB Debugging with JTAG o...
Forum: PULP General questions
Last Post: jthoma
11-27-2019, 02:12 PM
» Replies: 4
» Views: 146
questasim
Forum: PULP General questions
Last Post: mahalakshmir.ma
11-26-2019, 07:01 AM
» Replies: 4
» Views: 206
PULPissimo Synthesis and ...
Forum: PULP General questions
Last Post: kgf
11-20-2019, 10:25 PM
» Replies: 1
» Views: 186
Library Files
Forum: PULP General questions
Last Post: mahalakshmir.ma
11-19-2019, 08:39 AM
» Replies: 6
» Views: 438

 
  PULPissimo RTL Simulation Building
Posted by: hithaishi_t - 10-21-2019, 06:28 AM - Forum: PULP General questions - Replies (5)

Hello All...

I have been trying to install PULPissimo. I have installed all the dependencies and now im working on building RTL simulation platform. For the command "make clean lib build opts" i'm getting the following errors 

/bin/bash: vlib: command not found
vcompile/build.mk:56: recipe for target '/root/pulp-sdk/pulpissimo/sim/modelsim_libs/L2_tcdm_hybrid_interco_lib' failed
make[2]: *** [/root/pulp-sdk/pulpissimo/sim/modelsim_libs/L2_tcdm_hybrid_interco_lib] Error 127
/root/pulp-sdk/pulpissimo/sim//vcompile/ips.mk:53: recipe for target 'lib' failed
make[1]: *** [lib] Error 2
Makefile:37: recipe for target 'lib' failed
make: *** [lib] Error 2


Can i know what to do next ?


Thanks and Regards
Hithaishi

Print this item

  Runtime Build Error
Posted by: shilpa_jay - 10-18-2019, 05:15 AM - Forum: PULP General questions - Replies (3)

Hello..
I have been trying to install PULPissimo and the GNU Compiler tool chain was  built successfully. in the PULP- Builder installation i have installed all the dependencies and the GVsoC build was built. But, in the "Runtime Build" process im facing an error for the command 

Code:
./scripts/build-runtime

the error occurred is


scons: done building targets.
make: Leaving directory '/root/pulpissimo/pulp-
builder/hal'
+ make -C pulp-rules all BUILD_DIR=/root/pulpissimo/pulp-builder/build/pulp-rules INSTALL_DIR=/root/pulpissimo/pulp-builder/install/ws TARGET_INSTALL_DIR=/root/pulpissimo/pulp-builder/install
make: Entering directory '/root/pulpissimo/pulp-builder/pulp-rules'
make: Nothing to be done for 'all'.
make: Leaving directory '/root/pulpissimo/pulp-builder/pulp-rules'
+ make -C pulp-rt header build install BUILD_DIR=/root/pulpissimo/pulp-builder/build/pulp-rt INSTALL_DIR=/root/pulpissimo/pulp-builder/install/ws TARGET_INSTALL_DIR=/root/pulpissimo/pulp-builder/install
make: Entering directory '/root/pulpissimo/pulp-builder/pulp-rt'
make: Nothing to be done for 'header'.
/opt/riscv/bin//bin/riscv32-unknown-elf-gcc  -march=rv32imcxgap8 -D__riscv__ -D__RT_USE_IO=1 -Os -g -fno-jump-tables -Werror -fno-tree-loop-distribute-patterns  -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wundef -fdata-sections -ffunction-sections -I/root/pulpissimo/pulp-builder/install/include/io -I/root/pulpissimo/pulp-builder/install/include -include /root/pulpissimo/pulp-builder/build/pulp-rt/gap_rev1/cl_config.h    -DLANGUAGE_ASSEMBLY -MMD -MP -c kernel/riscv/pe-eu-v3.S -o /root/pulpissimo/pulp-builder/build/pulp-rt/gap_rev1/rt/cl/kernel/riscv/pe-eu-v3.o
make: /opt/riscv/bin//bin/riscv32-unknown-elf-gcc: Command not found
/root/pulpissimo/pulp-builder/build/pulp-rt/gap_rev1/__rules.mk:65: recipe for target '/root/pulpissimo/pulp-builder/build/pulp-rt/gap_rev1/rt/cl/kernel/riscv/pe-eu-v3.o' failed
make: *** [/root/pulpissimo/pulp-builder/build/pulp-rt/gap_rev1/rt/cl/kernel/riscv/pe-eu-v3.o] Error 127
make: Leaving directory '/root/pulpissimo/pulp-builder/pulp-rt'

can i know how to overcome this error

Thanks and Regards
Shilpa

Print this item

  Query regarding PULPissimo Installation.
Posted by: shilpa_jay - 10-15-2019, 11:25 AM - Forum: PULP General questions - Replies (1)

Hello...
I'm Shilpa. As a part of my academic project I'm installing PULPissimo Platform for executing the RTL simulation. I found this platform very interesting and I was very keen to know about it in detail. But, during the installation process I'm facing certain errors which as a starter I'm unable to rectify. So, is there any basic procedures or guidance that can be provided.
Thank you

Print this item

  Pulpissimo memory map generation.
Posted by: Akim - 10-08-2019, 11:52 AM - Forum: PULP General questions - Replies (1)

Hello,

We have been trying to understand how the Pulpissimo memory map is generated.
Our purpose is to add our own modules (ultra low power memory) to it and we would need to understand it.

We found that memories are defined in l2_ram_multi_bank.sv, but how to add new memory to it?

Please, can you clarify file names that need to be modified to change Pulpissimo memory map?

Br,
Akim

Print this item

  Issues for pulp-sdk
Posted by: MarekPikula - 10-01-2019, 12:30 PM - Forum: PULP General questions - Replies (1)

I can see that there is no Issues panel in pulp-sdk project on GitHub. I have some things to discuss regarding Ibex integration and I guess it would be much better place for this than this forum. In my opinion reliable SDK is one of the most important parts of the entire system, so maybe it would be nice idea to enable it for others to easily file issues and ask questions?

Print this item

  New SoC configuration for SDK
Posted by: MarekPikula - 10-01-2019, 09:19 AM - Forum: PULP General questions - No Replies

Hi, is there somewhere a guide how to create new SoC configuration for pulp-sdk? I'm basing on PULPissimo and just copied some files in `pulp-configs` to create custom configuration. I wonder though if there is some kind of recommended way of doing this and if there is some sort of documentation anywhere. I've seen different scripts (`pulp_chip_gen`, `pulp_soc_gen`, …), but there is no description which does what and in what scenarios one should be used.

Print this item

  how to manipulating of GPIOs on Pulpissino platform
Posted by: mapletree - 09-23-2019, 02:46 PM - Forum: PULP General questions - Replies (2)

Hi,
I would like to do some manipulation of the user and general purchase I/Os of the pianissimo platform, for example to light up a user LED via pressing down a pushbutton.
I found the functions in the sdk runtime doc for configuring the gpio as a bus such as rt_gpio_init and rt_gpio_pin_configure etc, but I did not find any document mentioning the exact address/pin or registers that are corresponding to the LEDs or pushbuttons. I am wondering where to get the detailed info of such so that I can light up a user LED?

Thanks,
Mapletree

Print this item

  how to compile and run an application for Pulpissinio on FPGA
Posted by: mapletree - 09-12-2019, 03:47 PM - Forum: PULP General questions - Replies (5)

Hi,
I have generated a Pulpissimo platform bitstream for Xilinx ZCU102 board. Now I am at the stage to compile a "hello world" example to try on the FPGA. I am having two problems here:

1. On the pulpissimo web page, after the instructions on how to create the .c file that includes the baudrate and frequency of the UART and the main() function, it gives instructions on how to compile an application by issuing " make clean all" command, but there is no corresponding Makefile, therefore, I got an error " No targets specified and no makefile found". I did all these in pulp-builder home directory. My questions are: a). is there an existing Makefile that I can borrow to compile my hello.c for RISCV?  b).  If I need to create my own Makefile, do I need to include the boot code? if so where to get the boot code (the same code in sim/boot directory)? It will be nice if there is an example Makefile that I can start with.

2. When I tried to connect to the JTAG interface on the board(JTAG pins are allocated on PMOD) by issuing the openocd command, I got an error saying "embeddedConfusedtartup.tcl:21:Error: Unknown target type riscv". The command I issued: $openocd -f openocd-zcu102-digilent-jtag-hs2.cfg. The screenshot of the error massage and the openocd config file are attached.


Please help!

Thanks,
Mapletree



Attached Files Thumbnail(s)
   

.txt   openocd-zcu102-digilent-jtag-hs2.txt (Size: 667 bytes / Downloads: 1)
Print this item

  Detailed Documentation for PULPissimo
Posted by: AhmedZaky - 09-11-2019, 06:12 AM - Forum: PULP General questions - Replies (3)

Hi All, 

First of all thanks for sharing the PULPissimo source codes, however I have been looking for a somehow detailed documentation for PULPissimo but I couldn't found. 

Can anyone please point me to such a documentation if any ? 

Regards,

Print this item

  Changing pulpissimo memory layout
Posted by: anfevp - 08-27-2019, 09:45 AM - Forum: PULP General questions - No Replies

Hello everyone,

I would like to ask you how to change memory layout of pulpissimo

My problem is that I need to use code that uses big vectors. Then, when  I run the program in the virtual platform I got:

3699418377: 147973: [/sys/board/chip/soc/fc/warning                   ] Invalid access (offset: 0x1bfffcd8, size: 0x4, is_write: 1)

Which is a problem of stack overflow. I could move big vectors to other memory sections but this implies to modify the code, which i shouldn't. Also, sometimes I got problems with the code size. So in general I would like to know how to modify the memory to be able to execute the code without modifications.

The problem can be reproduced with the following code:

Code:
#include <stdio.h>
void writefnctext();
void printVector(char *vector1, unsigned int len);
void fillVector(char *vector1, unsigned int len);
int main()
{
    char vector1[4096]; // Does not work, gets an invalid access.
    printf("Hello !\n");
    fillVector(vector1, 4096);
    printVector(vector1, 4096);
    writefnctext();
    return 0;
}
void writefnctext(){
    printf("Function has been called successfully");

}
void fillVector(char *vector1, unsigned int len){
    for (unsigned int i=0;i<len; i++ ){
        vector1[i]=i;
    }
}
void printVector(char *vector1, unsigned int len){
    for (unsigned int i=0;i<len; i++ ){
        printf("%d ", (int) vector1[i]);
    }
    printf("\n");
}



Thanks in advance!!

Print this item