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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 161
» Latest member: Sean12book
» Forum threads: 63
» Forum posts: 215

Full Statistics

Latest Threads
Error When Running hwme e...
Forum: PULP General questions
Last Post: AhmedZaky
07-18-2019, 03:29 PM
» Replies: 4
» Views: 717
Pulpissimo bitstream gene...
Forum: PULP General questions
Last Post: AhmedZaky
07-18-2019, 03:27 PM
» Replies: 13
» Views: 485
Issue with running the hw...
Forum: PULP General questions
Last Post: AhmedZaky
07-18-2019, 03:24 PM
» Replies: 0
» Views: 16
Error on Macro 'DMI_JTAG_...
Forum: PULP General questions
Last Post: mapletree
06-21-2019, 05:09 PM
» Replies: 0
» Views: 200
Integrating NVDLA with PU...
Forum: PULP General questions
Last Post: AhmedZaky
06-13-2019, 04:17 PM
» Replies: 0
» Views: 267
which spike version for r...
Forum: PULP General questions
Last Post: etayke
06-11-2019, 02:52 PM
» Replies: 0
» Views: 219
xilinx memories in pulpis...
Forum: PULP General questions
Last Post: meggiman
06-10-2019, 09:02 AM
» Replies: 1
» Views: 345
Pulpissimo L2 memory acce...
Forum: PULP General questions
Last Post: skor
06-06-2019, 06:26 AM
» Replies: 4
» Views: 731
Porting Ariane to KC705
Forum: PULP General questions
Last Post: AnonymousWeasel
06-05-2019, 09:05 AM
» Replies: 1
» Views: 414
FPGA build
Forum: PULP General questions
Last Post: Akim
06-05-2019, 07:34 AM
» Replies: 2
» Views: 570

 
  hero-sdk for ZynqMP
Posted by: dave.mcewan - 12-21-2018, 03:57 PM - Forum: PULP General questions - Replies (7)

Hello again,

I'm trying to build hero-sdk, specifically hero-gcc-toolchain, for use on a ZCU102 and I'm running into some errors.
The first error is when compiling aeabi_lcsts.c:

Code:
hero-sdk/hero-gcc-toolchain/install/arm-linux-gnueabihf/libc/usr/include/asm/sigcontext.h:53:2: error: unknown type name '__uint128_t'

With some googling this *may* be related to CFLAGS with a -std=c11 instead of -std=gnu11. However the output from make says I'm already using gnu11:
Code:
arm-linux-gnueabihf-gcc ../sysdeps/arm/aeabi_lcsts.c -c -std=gnu11 -fgnu89-inline [... snip ...]


To retarget the host CPU architecture I've made the following changes in hero-sdk:
Code:
diff --git a/scripts/hero-z-7045-env.sh b/scripts/hero-z-7045-env.sh
index 0c7af43..31bba7d 100755
--- a/scripts/hero-z-7045-env.sh
+++ b/scripts/hero-z-7045-env.sh
@@ -36,11 +36,11 @@ export HERO_TARGET_PATH_DRIVER="${HERO_TARGET_PATH}/drivers"
 export HERO_TARGET_PATH_LIB="${HERO_TARGET_PATH}/libs"
 
 # Host-side platform config
-export PLATFORM="2"
-export BOARD="zc706"
+export PLATFORM="5"
+export BOARD="zcu102"
 
 # Host-side user-space config
-export ARCH="arm"
+export ARCH="arm64"
 export CROSS_COMPILE="arm-linux-gnueabihf-"
 export HERO_LIBPULP_DIR=`realpath hero-support/libpulp`
And in hero-gcc-toolchain:
Code:
diff --git a/scripts/hero_arm_toolchain_env.sh b/scripts/hero_arm_toolchain_env.sh
index 6cedabe..67a3760 100755
--- a/scripts/hero_arm_toolchain_env.sh
+++ b/scripts/hero_arm_toolchain_env.sh
@@ -19,7 +19,7 @@
 
 HERO_HOST_TARGET=arm-linux-gnueabihf
 HERO_BUILD_TARGET=x86_64-linux-gnu
-HERO_HOST_LINUX_ARCH=arm
+HERO_HOST_LINUX_ARCH=arm64
 HERO_HOST_GLIBC=glibc-2.26
 HERO_HOST_FPU_CONFIG="--with-fpu=neon-fp16 --with-float=hard"

 

Build platform is Ubuntu 16.04.
If I leave scripts/hero-z-7045-env.sh so that it's configured for ZC706 with ARM7 host cores then all parts of the hero-sdk build process complete successfully.

Since there appears to be some code related to ZynqMP in the makefiles, is there somebody here who has successfully built for this target?

Print this item

  Busybox Version
Posted by: Muhammad Usman - 12-20-2018, 07:21 PM - Forum: PULP General questions - Replies (1)

Hi,

Can you help me resolve this Busybox version issue?


Code:
cd buildroot && make ARCH=arm CROSS_COMPILE=arm-xilinx-linux-gnueabi- -j4
make[1]: Entering directory '/home/usman/risc-v/pulpino_2015-4/pulpino/fpga/sw/buildroot'
>>> toolchain-external undefined Extracting
>>> toolchain-external undefined Patching
>>> toolchain-external undefined Configuring
Incorrect selection of kernel headers: expected 3.16.x, got 3.19.x
package/pkg-generic.mk:146: recipe for target '/home/usman/risc-v/pulpino_2015-4/pulpino/fpga/sw/buildroot/output/build/toolchain-external-undefined/.stamp_configured' failed

Print this item

  PULP vs ARM
Posted by: Mixermachine - 12-19-2018, 01:31 PM - Forum: PULP General questions - Replies (2)

Hello there,

I currently collect information for my bachelor thesis and want to compare popular RISC-V implementations.
You have a nice graphic 
[Image: pulp_family4.png]

Does there exist a documentation or has somebody knowledge about how the RISC-V cores match to for example ARM cores.
For example:

RI5CY <-> ARM cortex M0
or
PULPino <-> ARM cortex M0

Greetings from Munich,

Aaron

Edit:
The people over at Si-Five compare their cores here for example https://www.sifive.com/core-designer (scroll to the bottom)

Print this item

  Compilation error
Posted by: kkarthik976 - 12-18-2018, 05:19 AM - Forum: PULP General questions - Replies (1)

I am getting the error at the time of compilation when iI use -march=RV64.
Even i tried with the rv32 or rv64 also.

Regards
Karthik

Print this item

Brick PULPino on Vivado 2018.1
Posted by: Muhammad Usman - 12-14-2018, 03:48 PM - Forum: PULP General questions - Replies (1)

I have been trying to migrate PULPino project to Vivado 2018.1 workflow. I have been successfully able to compile hardware-software project to obtain files in sd_image. Setting up and booting the SD Card sets up Programmable Logic (as indicated by blue light). Linux is NOT booting. Please help me identify and fix the problem.

Print this item

  hero-sdk build process
Posted by: dave.mcewan - 12-12-2018, 07:22 PM - Forum: PULP General questions - Replies (5)

Hello,

I'm building the hero-sdk as per the github instructions but it's failing at the pulp-sdk stage.
Actually I'm trying on 2 systems, Debian 9.2 and Ubuntu 16.04.
Both have the same result and symptoms.
It looks like some files which should be copied from ./pulp-sdk/json-tools to ./pulp-sdk/build/sdk/json-tools are missing. I.E there's no Makefile so make doesn't know what to do.
Anybody on here have an idea what's going wrong?



Code:
$ ./hero-z-7045-builder -p
Configuring HERO SDK at: /home/user0/hero-sdk
Your PATH is correctly set. Skipping installation.
Your LD_LIBRARY_PATH is correctly set. Skipping installation.
Warning: Cannot set compiler and linker flags for libgomp plugin and mkoffload. Missing environment variables PULP_SDK_INSTALL and/or HERO_SUPPORT_DIR!
Your PATH is correctly set. Skipping installation.
Your LD_LIBRARY_PATH is correctly set. Skipping installation.
Configuring HERO SDK at: /home/user0/hero-sdk
Your PATH is correctly set. Skipping installation.
Your PATH is correctly set. Skipping installation.
Your LD_LIBRARY_PATH is correctly set. Skipping installation.
Your LD_LIBRARY_PATH is correctly set. Skipping installation.
Warning: Cannot set compiler and linker flags for libgomp plugin and mkoffload. Missing environment variables PULP_SDK_INSTALL and/or HERO_SUPPORT_DIR!
Your PATH is correctly set. Skipping installation.
Your LD_LIBRARY_PATH is correctly set. Skipping installation.
Configuring Pulp project at /home/user0/hero-sdk/pulp-sdk

sdk:json-tools:build: make all install
#### Building in /home/user0/hero-sdk/pulp-sdk/build/sdk/json-tools
#### Release type is RelWithDebInfo
#### Installing to /home/user0/hero-sdk/pulp-sdk/pkg/sdk/dev/install/ws
( cd /home/user0/hero-sdk/pulp-sdk/build/sdk/json-tools ; make all  VERBOSE=0 )
make[1]: Entering directory '/home/user0/hero-sdk/pulp-sdk/build/sdk/json-tools'
make[1]: *** No rule to make target 'all'. Stop.
make[1]: Leaving directory '/home/user0/hero-sdk/pulp-sdk/build/sdk/json-tools'
Makefile:46: recipe for target 'all' failed
make: *** [all] Error 2
Reached EOF with exit status 2
FATAL ERROR: the command 'build' has failed


And on STDERR:

Code:
No LSB modules are available.
No LSB modules are available.

Print this item

  About Bug Fix for RI5CY Core
Posted by: Dongsheng Wu - 12-11-2018, 02:43 AM - Forum: PULP General questions - Replies (2)

Hi,

I noticed that Google IPU team reported serveral bugs about RI5CY core in the RISC-V Workshop this MAY. I am wondering whether PULP team has yet fixed them in the Github release.

Hope for your response.

----- Details about the bugs -----
Bugs found in:
○ Multiplier
○ LSU

Bugs reported in page 12 of  Google's Reports on the evaluation of RI5CY
RISC-V Workshop website: RISC-V Workshop in Barcelona Proceedings
RTL Core for RI5CY Github release

Print this item

  UVM testbench for PULPINO
Posted by: mnafea - 12-10-2018, 02:57 PM - Forum: PULP General questions - Replies (3)

I'd like to ask is there any UVM environment created for PULPINO SOC, or even for one of the following cores:
  1- RI5CY
  2- Zero-riscy

Thanks  Smile

Print this item

  I2C on Pulpissimo
Posted by: magseet - 12-03-2018, 09:41 PM - Forum: PULP General questions - Replies (5)

Hi,
I'm trying to use the I2C controller to communicate with my own I2C peripheral. First, I was trying to build the tb by including the I2C EEPROM (I've followed the README instructions). The problem is that, when using the example program for I2C, the RTL simulation gets stuck at the first write operation. Moreover, SDA and SCL signals never toggle during RTL simulation.

Do you have an example program I can use to make I2C work? I guess I need to make some initialization..

Print this item

  PULP Memories Address Maps
Posted by: Bassma - 11-24-2018, 04:26 PM - Forum: PULP General questions - Replies (1)

Hi, 

I'm trying to preload the program in L2 cache but i'm unable to trace which addresses goes into which memory
so far what i got tracing is the hello world example:

/tb_pulp/i_dut/soc_domain_i/pulp_soc_i/l2_ram_i/bank_sram24k_scm8k_pri0_i/cut_0/MEM
addresses in stimuli file from 1C000000 - 1C001030 go in this memory

/tb_pulp/i_dut/soc_domain_i/pulp_soc_i/l2_ram_i/bank_sram_pri1_i/MEM
 address in stimuli file from 1C008000 - 1C00AF80 go in this memory

but i have no idea where the rest goes. 
Question 1: is the mapping mentioned anywhere in the hdl files?
Question 2: I've not been able to build the documents in ipstools due to python libraries errors is there a pdf or a latex version i can get anywhere else online?

Thanks,
Bassma

Print this item