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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 474
» Latest member: testoboostpluse
» Forum threads: 135
» Forum posts: 460

Full Statistics

Latest Threads
32bit data loading
Forum: PULP General questions
Last Post: RiscV
3 hours ago
» Replies: 0
» Views: 12
udma memory to memory dat...
Forum: PULP General questions
Last Post: RiscV
06-30-2020, 04:15 AM
» Replies: 2
» Views: 74
Running programs on Zedbo...
Forum: PULP General questions
Last Post: Raj
06-29-2020, 02:33 PM
» Replies: 2
» Views: 94
Data relocation when usin...
Forum: PULP General questions
Last Post: LPLA
06-29-2020, 02:20 PM
» Replies: 4
» Views: 364
Questions regarding Runti...
Forum: PULP General questions
Last Post: heavySea
06-29-2020, 01:00 PM
» Replies: 2
» Views: 153
Target options for PULP R...
Forum: PULP General questions
Last Post: mehrdad
06-06-2020, 12:44 AM
» Replies: 2
» Views: 474
Some questions about the ...
Forum: PULP General questions
Last Post: Olivier
06-04-2020, 03:38 PM
» Replies: 0
» Views: 258
Pulpissimo prepare standa...
Forum: PULP General questions
Last Post: bluewww
06-03-2020, 03:08 PM
» Replies: 3
» Views: 843
The status of Ariane ARA ...
Forum: PULP General questions
Last Post: kgf
05-26-2020, 08:51 AM
» Replies: 1
» Views: 432
how to manipulating of GP...
Forum: PULP General questions
Last Post: bbr49
05-08-2020, 08:13 AM
» Replies: 4
» Views: 2,830

 
  [HERO] Userland application debugging
Posted by: lukamac - 05-07-2019, 09:58 AM - Forum: PULP General questions - Replies (1)

Hi,

Is there a way to debug userland applications that are running on the target (board)?

Print this item

  problem when generating boot rom using boot_code.sv
Posted by: zhouqiang - 05-07-2019, 08:53 AM - Forum: PULP General questions - Replies (5)

hello,
When doing DC synthesis for the PULPino system, I tried to generate a 512B boot ROM using the contents of boot_code.sv, but I found that the data size in boot_code.sv is 548×32, which is obviously not 512B. How can I solve this problem?

Print this item

  error when using DC to synthesis pulpino
Posted by: zhouqiang - 05-05-2019, 03:21 PM - Forum: PULP General questions - Replies (1)

I tried to use DC to synthesize pulpino, but the following error occurred:


Error: ../input_data/control_tp.sv:34: Unable to open file `fpu_defs_div_sqrt_tp.pvk': in search_path {/home/ichip/Desktop/PULPino_scripts/DC/tmp . /eda/synopsys/syn_vH-2013.03/libraries/ Syn /eda/synopsys/syn_vH-2013.03/minpower/syn /eda/synopsys/syn_vH-2013.03/dw/syn_ver /eda/synopsys/syn_vH-2013.03/dw/sim_ver}. (VER-292)

I opened control_tp.sv and found line 34 is:

Import fpu_defs_div_sqrt_tp::*;

It seems that this sentence caused DC to make a mistake. Can someone help me to see what this sentence means? How should I solve this error? In addition, when using DC to synthesis pulpino, what should be noted?

Print this item

  [HWPE] Microcode
Posted by: lukamac - 05-04-2019, 01:23 PM - Forum: PULP General questions - Replies (4)

Hello,

I found a word document describing the HWPE Interface Specification, Rev 1.2, written in January 2018. by Francesco Conti.
I would like to use the microcode capabilities of the HWPE so I read there, since in the online Interface specification I couldn't find anything about it.
In this document, there was a mention of a Pythong script ucode_compile.py that should be able to compile some high-level code for the microcode processor.
Unfortunately, I could not find it so I have a few questions now.

Is the Microcode processor in the HWPE usable?
Is there somewhere such a "compiler" for microcode?
If it should be hardcoded, is there a specification of the instruction encoding? I found very little information about this in the document.

Thank you in advance!

Print this item

  Error when building Pulpissimo
Posted by: MikkeN - 05-03-2019, 09:27 AM - Forum: PULP General questions - Replies (2)

Hi,

something has changed in Pulpissimo build.
Before (Instructions in Pulpissimo readme)

#building PULPISSIMO design
cd ..
git clone --recursive https://github.com/pulp-platform/pulpissimo.git
cd pulpissimo
git clone https://github.com/pulp-platform/pulp-builder.git
cd pulp-builder
git checkout 43e25418bc9590360456ddb97bd29ffb1a6a05e7
source configs/pulpissimo.sh
./scripts/clean
./scripts/update-runtime
./scripts/build-runtime
source sdk-setup.sh
source configs/rtl.sh
cd ..

./update-ips
------- THIS WAS WORKING

Instructions now:

#building PULPISSIMO design
cd ..
git clone --recursive https://github.com/pulp-platform/pulpissimo.git
cd pulpissimo
git clone https://github.com/pulp-platform/pulp-builder.git
cd pulp-builder
git checkout b3b255b0f653fce950cf730972c8ad07b1be7bf0
source configs/pulpissimo.sh
./scripts/clean
./scripts/update-runtime
./scripts/build-runtime
source sdk-setup.sh
source configs/rtl.sh
cd ..

./update-ips

------ Changed line bolded

ERROR:

drivers/i2s/i2s-v2.c: In function '__rt_i2s_open':
drivers/i2s/i2s-v2.c:131:3: error: implicit declaration of function 'udma_i2s_pdm_setup_set'; did you mean 'udma_i2s_i2s_pdm_setup_set'? [-Werror=implicit-function-declaration]
   udma_i2s_pdm_setup_set(
   ^~~~~~~~~~~~~~~~~~~~~~
   udma_i2s_i2s_pdm_setup_set
drivers/i2s/i2s-v2.c:133:5: error: implicit declaration of function 'UDMA_I2S_PDM_SETUP_WORDS'; did you mean 'UDMA_I2S_I2S_PDM_SETUP_OFFSET'? [-Werror=implicit-function-declaration]
     UDMA_I2S_PDM_SETUP_WORDS(shift)                              |
     ^~~~~~~~~~~~~~~~~~~~~~~~
     UDMA_I2S_I2S_PDM_SETUP_OFFSET
drivers/i2s/i2s-v2.c:134:5: error: implicit declaration of function 'UDMA_I2S_PDM_SETUP_DECIMATION'; did you mean 'UDMA_I2S_I2S_PDM_SETUP_PDM_DECIMATION'? [-Werror=implicit-function-declaration]
     UDMA_I2S_PDM_SETUP_DECIMATION((1<<i2s->decimation_log2)-1)   |
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     UDMA_I2S_I2S_PDM_SETUP_PDM_DECIMATION
drivers/i2s/i2s-v2.c:135:5: error: implicit declaration of function 'UDMA_I2S_PDM_SETUP_MODE'; did you mean 'UDMA_I2S_I2S_PDM_SETUP_PDM_MODE'? [-Werror=implicit-function-declaration]
     UDMA_I2S_PDM_SETUP_MODE(0)                                   |
     ^~~~~~~~~~~~~~~~~~~~~~~
     UDMA_I2S_I2S_PDM_SETUP_PDM_MODE
drivers/i2s/i2s-v2.c:136:5: error: implicit declaration of function 'UDMA_I2S_PDM_SETUP_EN'; did you mean 'UDMA_I2S_I2S_PDM_SETUP_PDM_EN'? [-Werror=implicit-function-declaration]
     UDMA_I2S_PDM_SETUP_EN(1)
     ^~~~~~~~~~~~~~~~~~~~~
     UDMA_I2S_I2S_PDM_SETUP_PDM_EN
drivers/i2s/i2s-v2.c: In function '__rt_i2s_resume':
drivers/i2s/i2s-v2.c:190:3: error: implicit declaration of function 'udma_i2s_clkcfg_setup_set'; did you mean 'udma_i2s_i2s_clkcfg_setup_set'? [-Werror=implicit-function-declaration]
   udma_i2s_clkcfg_setup_set(
   ^~~~~~~~~~~~~~~~~~~~~~~~~
   udma_i2s_i2s_clkcfg_setup_set
drivers/i2s/i2s-v2.c:192:5: error: implicit declaration of function 'UDMA_I2S_CLKCFG_SETUP_SLAVE_CLK_DIV'; did you mean 'UDMA_I2S_I2S_CLKCFG_SETUP_SLAVE_CLK_DIV'? [-Werror=implicit-function-declaration]
     UDMA_I2S_CLKCFG_SETUP_SLAVE_CLK_DIV(hw_div & 0xff) |
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     UDMA_I2S_I2S_CLKCFG_SETUP_SLAVE_CLK_DIV
drivers/i2s/i2s-v2.c:193:5: error: implicit declaration of function 'UDMA_I2S_CLKCFG_SETUP_COMMON_CLK_DIV'; did you mean 'UDMA_I2S_I2S_CLKCFG_SETUP_COMMON_CLK_DIV'? [-Werror=implicit-function-declaration]
     UDMA_I2S_CLKCFG_SETUP_COMMON_CLK_DIV(hw_div >> 8)  |
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     UDMA_I2S_I2S_CLKCFG_SETUP_COMMON_CLK_DIV
drivers/i2s/i2s-v2.c:194:5: error: implicit declaration of function 'UDMA_I2S_CLKCFG_SETUP_SLAVE_CLK_EN'; did you mean 'UDMA_I2S_I2S_CLKCFG_SETUP_SLAVE_CLK_EN'? [-Werror=implicit-function-declaration]
     UDMA_I2S_CLKCFG_SETUP_SLAVE_CLK_EN(1)              |
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     UDMA_I2S_I2S_CLKCFG_SETUP_SLAVE_CLK_EN
drivers/i2s/i2s-v2.c:195:5: error: implicit declaration of function 'UDMA_I2S_CLKCFG_SETUP_PDM_CLK_EN'; did you mean 'UDMA_I2S_I2S_CLKCFG_SETUP_PDM_CLK_EN'? [-Werror=implicit-function-declaration]
     UDMA_I2S_CLKCFG_SETUP_PDM_CLK_EN(1)                |
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     UDMA_I2S_I2S_CLKCFG_SETUP_PDM_CLK_EN
drivers/i2s/i2s-v2.c:196:5: error: implicit declaration of function 'UDMA_I2S_CLKCFG_SETUP_SLAVE_NUM'; did you mean 'UDMA_I2S_I2S_CLKCFG_SETUP_SLAVE_NUM'? [-Werror=implicit-function-declaration]
     UDMA_I2S_CLKCFG_SETUP_SLAVE_NUM(1)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     UDMA_I2S_I2S_CLKCFG_SETUP_SLAVE_NUM
drivers/i2s/i2s-v2.c:199:3: error: implicit declaration of function 'udma_i2s_slave_setup_set'; did you mean 'udma_i2s_i2s_pdm_setup_set'? [-Werror=implicit-function-declaration]
   udma_i2s_slave_setup_set(
   ^~~~~~~~~~~~~~~~~~~~~~~~
   udma_i2s_i2s_pdm_setup_set
drivers/i2s/i2s-v2.c:201:5: error: implicit declaration of function 'UDMA_I2S_SLAVE_SETUP_WORDS'; did you mean 'UDMA_I2S_I2S_SLV_SETUP_OFFSET'? [-Werror=implicit-function-declaration]
     UDMA_I2S_SLAVE_SETUP_WORDS(1)                      |
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
     UDMA_I2S_I2S_SLV_SETUP_OFFSET
drivers/i2s/i2s-v2.c:202:5: error: implicit declaration of function 'UDMA_I2S_SLAVE_SETUP_BITS'; did you mean 'UDMA_I2S_I2S_SLV_SETUP_OFFSET'? [-Werror=implicit-function-declaration]
     UDMA_I2S_SLAVE_SETUP_BITS(16)                      |
     ^~~~~~~~~~~~~~~~~~~~~~~~~
     UDMA_I2S_I2S_SLV_SETUP_OFFSET
drivers/i2s/i2s-v2.c:203:5: error: implicit declaration of function 'UDMA_I2S_SLAVE_SETUP_LSB'; did you mean 'UDMA_I2S_I2S_SLV_SETUP_OFFSET'? [-Werror=implicit-function-declaration]
     UDMA_I2S_SLAVE_SETUP_LSB(1)                        |
     ^~~~~~~~~~~~~~~~~~~~~~~~
     UDMA_I2S_I2S_SLV_SETUP_OFFSET
drivers/i2s/i2s-v2.c:204:5: error: implicit declaration of function 'UDMA_I2S_SLAVE_SETUP_TWO_CHANNELS'; did you mean 'UDMA_I2S_I2S_PDM_SETUP_PDM_EN_GETS'? [-Werror=implicit-function-declaration]
     UDMA_I2S_SLAVE_SETUP_TWO_CHANNELS(dev->dual)       |
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     UDMA_I2S_I2S_PDM_SETUP_PDM_EN_GETS
drivers/i2s/i2s-v2.c:205:5: error: implicit declaration of function 'UDMA_I2S_SLAVE_SETUP_EN'; did you mean 'UDMA_I2S_I2S_PDM_SETUP_PDM_EN'? [-Werror=implicit-function-declaration]
     UDMA_I2S_SLAVE_SETUP_EN(1)
     ^~~~~~~~~~~~~~~~~~~~~~~
     UDMA_I2S_I2S_PDM_SETUP_PDM_EN
cc1: all warnings being treated as errors

Print this item

  Lower number of cores on HERO
Posted by: lukamac - 05-02-2019, 08:57 AM - Forum: PULP General questions - Replies (3)

Hello,

I was wondering how to decrease the number of cores in a cluster. I have found where to do it for the hardware (bigpulp/fe/rtl/includes/pulp_soc_defines.sv) but I'm not sure if that is all that is needed to be done or should there be something changed elsewhere?
Is there anything that needs to be changed in the HERO SDK?

Thanks,
Luka

Print this item

  How to build SDK for PULPino?
Posted by: zhouqiang - 04-19-2019, 12:27 PM - Forum: PULP General questions - No Replies

hello,
I follow the steps at https://github.com/pulp-platform/pulp-sdk and want to create an SDK for PULPino. When I proceed to the "Target and platform selection" step, I want to find pulpino.sh in the config folder and source it, but I found that there is no such file. How should I build SDK for PULPino? Or does PULPino  need to build SDK?

Print this item

  match problem between Python3 and pip3
Posted by: zhouqiang - 04-18-2019, 12:26 PM - Forum: PULP General questions - Replies (1)

hello,

My Linux distribution is Ubuntu 18.04. I followed the commands $ pip --version and $ python3 --version to check if the Python3 and pip3 versions match. The result is:

Lee@lee:~$ pip --version
Pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)

Lee@lee:~$ python3 --version
Python 3.6.7

The results obtained seem to imply that the two versions do not match, but I have run the following commands to make them match:

$ sudo python3 -m pip install --upgrade pip
$ sudo python3 -m pip install artifactory twisted prettytable sqlalchemy pyelftools openpyxl xlsxwriter pyyaml numpy configparser pyvcd

What is wrong with it?

PS: When I run pip3 --version, the result is:
Pip 19.0.3 from /usr/local/lib/python3.6/dist-packages/pip (python 3.6)

Print this item

  pulp-soc-defines.sv
Posted by: MikkeN - 04-18-2019, 08:17 AM - Forum: PULP General questions - No Replies

Hi,

there is no too much documentation in pulp-soc-defines.sv file. So could you clarify next statement:

// PE selection (only for non-FPGA - otherwise selected via PULP_CORE env variable)
// -> define RISCV for RISC-V processor
//`define RISCV

//PARAMETRES
`define NB_CLUSTERS   1
`define NB_CORES      8
`define NB_DMAS       4
`define NB_MPERIPHS   1
`define NB_SPERIPHS   8

-> Does this mean that in normal configuration there is 8 cores if?

Print this item

  problem when testing gcc
Posted by: zhouqiang - 04-18-2019, 07:22 AM - Forum: PULP General questions - Replies (2)

When I tested gcc according to the "test suit" in the readme at https://github.com/pulp-platform/pulp-ri...-toolchain, after running the command "make check-gcc-newlib", it appeared  " /bin/sh: line 17: runtest: command not found",  is this problem serious? What is the reason, how to fix it?

Print this item