Welcome, Guest |
You have to register before you can post on our site.
|
Latest Threads |
Role of gapy, list of per...
Forum: PULP General questions
Last Post: yoss
04-25-2025, 01:41 PM
» Replies: 7
» Views: 11,440
|
Pulp - make build
Forum: PULP General questions
Last Post: tomkathy
04-09-2025, 07:58 AM
» Replies: 4
» Views: 1,516
|
Cheshire with two cores
Forum: PULP General questions
Last Post: antp
04-07-2025, 10:35 AM
» Replies: 4
» Views: 1,265
|
missing package in pulp-s...
Forum: PULP General questions
Last Post: yoss
03-27-2025, 04:07 PM
» Replies: 0
» Views: 271
|
Unable to compile and run...
Forum: PULP General questions
Last Post: victorgervasio
03-25-2025, 09:30 AM
» Replies: 2
» Views: 577
|
__builtin_pulp
Forum: PULP General questions
Last Post: yoss
02-18-2025, 04:31 PM
» Replies: 0
» Views: 391
|
XpulpNN march
Forum: PULP General questions
Last Post: yoss
02-06-2025, 12:47 PM
» Replies: 2
» Views: 896
|
Help with llvm/clang comp...
Forum: PULP General questions
Last Post: ThomasMuyal
01-23-2025, 10:10 PM
» Replies: 2
» Views: 1,381
|
Doubts regarding I2S mode...
Forum: PULP General questions
Last Post: Zyb
01-09-2025, 11:56 AM
» Replies: 0
» Views: 532
|
Multi Core PULP first tim...
Forum: PULP General questions
Last Post: kgf
01-02-2025, 02:23 PM
» Replies: 1
» Views: 1,498
|
|
|
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
|
|
|
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
|
|
|
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)
|
|
|
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?
|
|
|
Errors encountered when compiling the toolchain |
Posted by: zhouqiang - 04-17-2019, 02:07 PM - Forum: PULP General questions
- Replies (2)
|
 |
hello,
When I compiled the toolchain according to the steps in https://github.com/pulp-platform/pulp-ri...-toolchain, I encountered the following error:
/tmp/ccIifWI0.s: Assembler messages:
/tmp/ccIifWI0.s:4963: Error: unrecognized opcode `lwu a1,.LANCHOR0 2'
/tmp/ccIifWI0.s:5179: Error: unrecognized opcode `lwu a5,.LANCHOR0'
/tmp/ccIifWI0.s:5258: Error: unrecognized opcode `lwu a4,.LANCHOR0 2'
/tmp/ccIifWI0.s:5905: Error: unrecognized opcode `lwu a2,.LANCHOR0 2'
/tmp/ccIifWI0.s:5997: Error: unrecognized opcode `lwu a3,.LANCHOR0 2'
/home/lee/Downloads/pulp-riscv-gnu-toolchain/riscv-gcc/libgcc/static-object.mk:17: recipe for target 'unwind-dw2.o' failed
Make[2]: *** [unwind-dw2.o] Error 1
Make[2]: Leaving directory '/home/lee/Downloads/pulp-riscv-gnu-toolchain/build-gcc-linux-stage1/riscv32-unknown-linux-gnu/libgcc'
Makefile:11207: recipe for target 'all-target-libgcc' failed
Make[1]: *** [all-target-libgcc] Error 2
Make[1]: Leaving directory '/home/lee/Downloads/pulp-riscv-gnu-toolchain/build-gcc-linux-stage1'
Makefile:150: recipe for target 'stamps/build-gcc-linux-stage1' failed
Make: *** [stamps/build-gcc-linux-stage1] Error 2
Since I am going to install the cross complier to /home/lee/Downloads/complier, so I run the commands below :
1./configure --prefix=/home/lee/Downloads/complier --with-arch=rv32g --with-abi=ilp32d
2.make linux
Is the install path chosen like this? Why is there such an error? How can I resolve these errors?
|
|
|
Error When Running hwme example |
Posted by: AhmedZaky - 04-16-2019, 04:55 AM - Forum: PULP General questions
- Replies (3)
|
 |
Hi,
I am currently trying to use PULPissimo and the hello example runs fine, however when I try to run hwme example I got this error:
" [/sys/board/chip/soc/fc/warning ] Invalid access (offset: 0x1a10c004, size: 0x4, is_write: 0)"
Also Modelsim gui doesn't open when I use this command for hello example " make clean all run gui=1 "
Can anyone passed this help in figuring out what's the problem ?
Thanks in advance.
|
|
|
RISC-V GNU Compiler Toolchain: Build Error |
Posted by: AhmedZaky - 04-15-2019, 09:24 AM - Forum: PULP General questions
- Replies (4)
|
 |
Hi,
I am trying to build the "RISC-V GNU Compiler Toolchain" as a step for building the SDK for PULPissimio platform. When I try to execute the following command :
Code: ./configure --prefix=/opt/riscv
make linux
I got this error:
/tmp/cczwQOyT.s: Assembler messages:
/tmp/cczwQOyT.s:5044: Error: unrecognized opcode `ldu a1,.LANCHOR0+2'
/tmp/cczwQOyT.s:5279: Error: unrecognized opcode `ldu a5,.LANCHOR0'
/tmp/cczwQOyT.s:5357: Error: unrecognized opcode `ldu a4,.LANCHOR0+2'
/tmp/cczwQOyT.s:6002: Error: unrecognized opcode `ldu a2,.LANCHOR0+2'
/tmp/cczwQOyT.s:6094: Error: unrecognized opcode `ldu a3,.LANCHOR0+2'
/home/ahmed/pulp-riscv-gnu-toolchain/riscv-gcc/libgcc/static-object.mk:17: recipe for target 'unwind-dw2.o' failed
make[2]: *** [unwind-dw2.o] Error 1
make[2]: Leaving directory '/home/ahmed/pulp-riscv-gnu-toolchain/build-gcc-linux-stage1/riscv64-unknown-linux-gnu/libgcc'
Makefile:11207: recipe for target 'all-target-libgcc' failed
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory '/home/ahmed/pulp-riscv-gnu-toolchain/build-gcc-linux-stage1'
Makefile:150: recipe for target 'stamps/build-gcc-linux-stage1' failed
make: *** [stamps/build-gcc-linux-stage1] Error 2
I searched for a similar error but I found no solution for this. Hopefully someone will be able to help me solving this error as I am new linux user.
Thanks in advance !
|
|
|
What do I need to do before a taping out of PULPino? |
Posted by: zhouqiang - 04-14-2019, 12:35 PM - Forum: PULP General questions
- Replies (5)
|
 |
Hello,
I am a student a complete novice in SOC design. Our tutor wants to implement a RISCV chip design on the extra area of the MPW. If I want to tape out PULPino, what should I verify first?
As far as I know, PULPino is a very mature project, and it has been taped out in different processes, so my current idea is:
1. Perform a Verilog simulation test. The assembly code of the instruction is compiled into a binary file to be read by Verilog's readmemh function, and then all instructions are tested one by one until all instructions pass the test. This part of the test should only involve the operation of the instruction set in the RISCY core.
2. Perform FPGA prototype verification on PULPino SOC. The purpose of this process is to download the SOC's Verilog code to the FPGA and then run the program on the FPGA. It may be necessary to use GDB and OpenOCD for debugging.
Is my idea correct? Does the PULPino project support the above two verifications? Can you give me some advice? And what should be noted in the tool chain, environment, SDK, etc.?
Thanks
zhouqiang
|
|
|
|