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: 435

 
  Pulpissimo configuration issues and other bugs
Posted by: MikkeN - 08-23-2019, 11:36 AM - Forum: PULP General questions - Replies (4)

Hi,

we have synthesized Pulpissimo with Vivado (2018.3) to FPGA and with Design Compiler (2018) to silicon technology.
Now Pulpissimo code has been changed so, that Design Compiler can't synthesize it anymore.
Vivado synthesize it without issues.

Module LZC gives syntax error from this statement:
assign cnt_o   = NUM_LEVELS > unsigned'(0) ? index_nodes[0] : $clog2(WIDTH)'(0);

Also there is number of bus with conflicts which are quite painful to correct by user.

Can you make code cleaning and check that it passes Design Compiler?
I am also worried about quality of results in FPGA, because Vivado has not seen issues which exist.

Print this item

  PULPino JTAG access
Posted by: MarekPikula - 08-22-2019, 02:15 PM - Forum: PULP General questions - No Replies

Hi,
Currently I'm testing PULPino core on Altera DE10-Nano board. I want to use provided JTAG interface with Digilent HS-2 cable. There seem to be no documentation about connecting PULPino to OpenOCD anywhere so I thought to use slightly modified version of OpenOCD config from PULPissimo project as supposedly the debug interface is pretty much the same. Is it a valid assumption? So far I didn't get too far. In the attachment you can find my current OpenOCD config (I'm using your patched version based on PULPissimo README) and a log.
Is there some working solution so that it's possible to use PULPino with JTAG?

Greetings,
Marek



Attached Files
.txt   hs2-pulpino.cfg.txt (Size: 894 bytes / Downloads: 6)
.txt   openocd-log.txt (Size: 23.61 KB / Downloads: 7)
Print this item

  REG_FCBOOT and REG_FCFETCH
Posted by: skor - 08-15-2019, 09:35 AM - Forum: PULP General questions - No Replies

Hello,

What are the two registers REG_FCBOOT and REG_FCFETCH meant for? They are in Soc_control area. Basically in RTL code is said that they are not used, so because I would like to add a new register to soc_control area I was planning to use either of these . 
I would anyway like to make sure that I am not blocking anything that might be usefull later.


Regards,

skor

Print this item

  RHEL8 repo sync's
Posted by: leepayne - 08-15-2019, 09:03 AM - Forum: PULP General questions - Replies (1)

Hi,

We are using PULP 2.18  on a CentOS 7.6 server and currently synchronize a number of CentOS / RHEL 7 repositories. I have been trying to setup a new RHEL8  repo but seem to be getting "forbidden 403" errors.

I followed the below "how to" link which includes obtaining the required CACert/Cert/Key files from an existing registered RHEL8 server using Subscription manager but am having no joy. Could you please advise if i'm missing something? 

https://projectlinux.com/advancedpulp.php

Command used to create REPO...

pulp-admin rpm repo create --repo-id rhel-x86_64-server-8 --feed https://cdn.redhat.com/content/dist/rhel.../baseos/os --feed-ca-cert /root/repoconfig/certs/redhat-uep.pem --feed-cert /root/repoconfig/certs/8517629927282862959.pem --feed-key /root/repoconfig/certs/8517629927282862959-key.pem --generate-sqlite true --serve-http true --serve-https true --relative-url rhel/8/rhel-x86_64-server-8 --checksum-type sha256

Logfile output..

Aug 15 10:00:13 plonindcms13 pulp: celery.worker.strategy:INFO: Received task: pulp.server.async.tasks._queue_reserved_task[3323b96c-cf9d-44bc-a5d9-f569933def1a]
Aug 15 10:00:13 plonindcms13 pulp: celery.worker.strategy:INFO: Received task: pulp.server.managers.repo.sync.sync[01839758-4b21-4d0a-bb63-e597fc4ad768]
Aug 15 10:00:13 plonindcms13 pulp: celery.app.trace:INFO: [3323b96c] Task pulp.server.async.tasks._queue_reserved_task[3323b96c-cf9d-44bc-a5d9-f569933def1a] succeeded in 0.0160555019975s: None
Aug 15 10:00:13 plonindcms13 pulp: celery.worker.strategy:INFO: Received task: pulp.server.async.tasks._release_resource[384c7b91-0cc9-49c4-bc3b-a4c557841cf6]
Aug 15 10:00:13 plonindcms13 pulp: pulp_rpm.plugins.importers.yum.sync:INFO: [01839758] Downloading metadata from https://cdn.redhat.com/content/dist/rhel...baseos/os/.
Aug 15 10:00:13 plonindcms13 pulp: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (1): cdn.redhat.com
Aug 15 10:00:13 plonindcms13 pulp: nectar.downloaders.threaded:INFO: Download failed: Download of https://cdn.redhat.com/content/dist/rhel...repomd.xml failed with code 403: Forbidden
Aug 15 10:00:14 plonindcms13 pulp: requests.packages.urllib3.connectionpool:INFO: [01839758] Starting new HTTPS connection (1): cdn.redhat.com
Aug 15 10:00:14 plonindcms13 pulp: nectar.downloaders.threaded:INFO: [01839758] Download failed: Download of https://cdn.redhat.com/content/dist/rhel.../baseos/os failed with code 403: Forbidden
Aug 15 10:00:14 plonindcms13 pulp: pulp_rpm.plugins.importers.yum.sync:INFO: [01839758] Downloading metadata from https://cdn.redhat.com/content/dist/rhel...baseos/os/.
Aug 15 10:00:14 plonindcms13 pulp: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (1): cdn.redhat.com
Aug 15 10:00:15 plonindcms13 pulp: nectar.downloaders.threaded:INFO: Download failed: Download of https://cdn.redhat.com/content/dist/rhel...repomd.xml failed with code 403: Forbidden
Aug 15 10:00:15 plonindcms13 pulp: requests.packages.urllib3.connectionpool:INFO: [01839758] Starting new HTTPS connection (1): cdn.redhat.com
Aug 15 10:00:16 plonindcms13 pulp: nectar.downloaders.threaded:INFO: [01839758] Download failed: Download of https://cdn.redhat.com/content/dist/rhel.../baseos/os failed with code 403: Forbidden
Aug 15 10:00:16 plonindcms13 pulp: pulp_rpm.plugins.importers.yum.sync:INFO: [01839758] Downloading metadata from https://cdn.redhat.com/content/dist/rhel...baseos/os/.
Aug 15 10:00:16 plonindcms13 pulp: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (1): cdn.redhat.com
Aug 15 10:00:16 plonindcms13 pulp: nectar.downloaders.threaded:INFO: Download failed: Download of https://cdn.redhat.com/content/dist/rhel...repomd.xml failed with code 403: Forbidden
Aug 15 10:00:17 plonindcms13 pulp: requests.packages.urllib3.connectionpool:INFO: [01839758] Starting new HTTPS connection (1): cdn.redhat.com
Aug 15 10:00:17 plonindcms13 pulp: nectar.downloaders.threaded:INFO: [01839758] Download failed: Download of https://cdn.redhat.com/content/dist/rhel.../baseos/os failed with code 403: Forbidden
Aug 15 10:00:17 plonindcms13 pulp: pulp_rpm.plugins.importers.yum.sync:INFO: [01839758] Downloading metadata from https://cdn.redhat.com/content/dist/rhel...baseos/os/.
Aug 15 10:00:17 plonindcms13 pulp: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (1): cdn.redhat.com
Aug 15 10:00:18 plonindcms13 pulp: nectar.downloaders.threaded:INFO: Download failed: Download of https://cdn.redhat.com/content/dist/rhel...repomd.xml failed with code 403: Forbidden
Aug 15 10:00:18 plonindcms13 pulp: pulp_rpm.plugins.importers.yum.sync:INFO: [01839758] Downloading additional units.
Aug 15 10:00:18 plonindcms13 pulp: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (1): cdn.redhat.com
Aug 15 10:00:18 plonindcms13 pulp: nectar.downloaders.threaded:INFO: Download failed: Download of https://cdn.redhat.com/content/dist/rhel.../.treeinfo failed with code 403: Forbidden
Aug 15 10:00:19 plonindcms13 pulp: requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS connection (1): cdn.redhat.com
Aug 15 10:00:19 plonindcms13 pulp: nectar.downloaders.threaded:INFO: Download failed: Download of https://cdn.redhat.com/content/dist/rhel...s/treeinfo failed with code 403: Forbidden
Aug 15 10:00:20 plonindcms13 pulp: pulp.server.async.tasks:INFO: [01839758] Task failed : [01839758-4b21-4d0a-bb63-e597fc4ad768] : Error retrieving metadata: Forbidden
Aug 15 10:00:20 plonindcms13 pulp: celery.app.trace:INFO: [01839758] Task pulp.server.managers.repo.sync.sync[01839758-4b21-4d0a-bb63-e597fc4ad768] raised expected: PulpCodedException()
Aug 15 10:00:20 plonindcms13 pulp: celery.app.trace:INFO: [384c7b91] Task pulp.server.async.tasks._release_resource[384c7b91-0cc9-49c4-bc3b-a4c557841cf6] succeeded in 0.00132100598421s: None

Thanks
Lee


Apologies, I run the following and all seems to be working, Now sure if it was the following command or I was using the wrong URL but all working now.

subscription-manager refresh

Print this item

  File reading from host example
Posted by: ivanfv - 08-09-2019, 02:33 PM - Forum: PULP General questions - No Replies

Hello,

I'm trying to develop an application that loads some data from a file that is stored on the host computer. I found an example of doing this in the pulp-rt-examples/bridge/file, so I would like to simulate this in the GVSOC platform and pulp config file, but I'm not sure if I'm doing this in the correct way.

When I start running the example (make all clean run under pulp-rt-examples/bridge/file) I get this message from the console:
Proxy listening on port 37539

So what I do is to start a plpbridge on another terminal like this, which ends after 2 seconds or something like that:
plpbridge --config=pulp@config_file=chips/pulp/pulp.json reqloop --binary=./test

And in the first terminal, I get this new message:
Proxy: Client connected!


The thing is that after that, nothing else happens, the code seems to be frozen and nothing happens. Am I missing something?

Thanks a lot,
Ivan.

Print this item

  Issue with running the hwme example on pulpissimo
Posted by: AhmedZaky - 07-18-2019, 03:24 PM - Forum: PULP General questions - Replies (2)

Hey, 


I am facing an issue with running the hwme example on pulpissimo both in bare metal code and FPGA. I had an earlier versions of RTL, SDK and I managed to run the example successfully on the platform. Now the code never reach the end of the code and print the number of errors. 

Are you aware with such a problem, what could be the source of this error ? I thinks there is a problem in plp_hwme_enable() function, it never passes this line. 

Thanks for your support !

Print this item

  Pulpissimo bitstream generation.
Posted by: naprpo - 06-27-2019, 12:43 PM - Forum: PULP General questions - Replies (12)

Hello,

I got the following errors during bitstream generation for genesys2 board.

Code:
open_run: Time (s): cpu = 00:00:12 ; elapsed = 00:00:19 . Memory (MB): peak = 7121.617 ; gain = 0.000 ; free physical = 3356 ; free virtual = 8201
# exec mkdir -p reports/
# exec rm -rf reports/*
# check_timing                                                              -file reports/${project}.check_timing.rpt
# report_timing -max_paths 100 -nworst 100 -delay_type max -sort_by slack   -file reports/${project}.timing_WORST_100.rpt
INFO: [Timing 38-91] UpdateTimingParams: Speed grade: -2, Delay Type: max.
INFO: [Timing 38-191] Multithreading enabled for timing update using a maximum of 4 CPUs
INFO: [Timing 38-78] ReportTimingParams: -max_paths 100 -nworst 100 -delay_type max -sort_by slack.
# report_timing -nworst 1 -delay_type max -sort_by group                    -file reports/${project}.timing.rpt
INFO: [Timing 38-91] UpdateTimingParams: Speed grade: -2, Delay Type: max.
INFO: [Timing 38-191] Multithreading enabled for timing update using a maximum of 4 CPUs
INFO: [Timing 38-78] ReportTimingParams: -max_paths 1 -nworst 1 -delay_type max -sort_by group.
# report_utilization -hierarchical                                          -file reports/${project}.utilization.rpt
INFO: [Common 17-206] Exiting Vivado at Thu Jun 27 15:20:28 2019...
make[1]: Leaving directory `********/pulpissimo/fpga/pulpissimo-genesys2'
cp pulpissimo-genesys2/pulpissimo.runs/impl_1/xilinx_pulpissimo.bit pulpissimo_genesys2.bit
cp: cannot stat ‘pulpissimo-genesys2/pulpissimo.runs/impl_1/xilinx_pulpissimo.bit’: No such file or directory
make: *** [genesys2] Error 1

Even the console shows error, the .bit file is generated. I loaded the .bit file to genesys2 board and try to read and write in the memory with the plpbridge. Which didn't work.

Code:
$ plpbridge --chip=pulpissimo --cable=ftdi@digilent write --addr=0x1c000000 --size=32 --value=0x12345678
Found ftdi device i:0x403:0x6010:0
Connecting to ftdi device i:0x403:0x6010:0
$ plpbridge --chip=pulpissimo --cable=ftdi@digilent read --addr=0x1c000000 --size=32
Found ftdi device i:0x403:0x6010:0
Connecting to ftdi device i:0x403:0x6010:0
ft2232: did not get a start bit from the AXI module in 1s
1c000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1c000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00



I also tried to communicate with RISC-V debug module with openOCD. Got the following output.

Code:
Open On-Chip Debugger 0.10.0+dev-00619-g91faf1a (2019-06-27-13:52)
Licensed under GNU GPL v2
For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
adapter speed: 1000 kHz
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
  TapName             Enabled  IdCode     Expected   IrLen IrCap IrMask
-- ------------------- -------- ---------- ---------- ----- ----- ------
0 riscv.unknown0         Y     0x00000000 0x10102001     5 0x01  0x03
1 riscv.cpu              Y     0x00000000 0x249511c3     5 0x01  0x03
Info : clock speed 1000 kHz
Info : JTAG tap: riscv.unknown0 tap/device found: 0x10102001 (mfg: 0x000 (<invalid>), part: 0x0102, ver: 0x1)
Info : JTAG tap: riscv.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
Info : datacount=2 progbufsize=8
Info : Examined RISC-V core; found 32 harts
Info :  hart 0: currently disabled
Info :  hart 1: currently disabled
Info :  hart 2: currently disabled
Info :  hart 3: currently disabled
Info :  hart 4: currently disabled
Info :  hart 5: currently disabled
Info :  hart 6: currently disabled
Info :  hart 7: currently disabled
Info :  hart 8: currently disabled
Info :  hart 9: currently disabled
Info :  hart 10: currently disabled
Info :  hart 11: currently disabled
Info :  hart 12: currently disabled
Info :  hart 13: currently disabled
Info :  hart 14: currently disabled
Info :  hart 15: currently disabled
Info :  hart 16: currently disabled
Info :  hart 17: currently disabled
Info :  hart 18: currently disabled
Info :  hart 19: currently disabled
Info :  hart 20: currently disabled
Info :  hart 21: currently disabled
Info :  hart 22: currently disabled
Info :  hart 23: currently disabled
Info :  hart 24: currently disabled
Info :  hart 25: currently disabled
Info :  hart 26: currently disabled
Info :  hart 27: currently disabled
Info :  hart 28: currently disabled
Info :  hart 29: currently disabled
Info :  hart 30: currently disabled
Info :  hart 31: currently disabled
openocd: src/target/riscv/riscv.c:2522: riscv_set_current_hartid: Assertion `riscv_hart_enabled(target, hartid)' failed.
Aborted (core dumped)
Could you please point out what am i missing here ?
Regards,
naprpo

Print this item

  Error on Macro 'DMI_JTAG_IDCODE is not defined when built pulp RTL simulation pfm
Posted by: mapletree - 06-21-2019, 05:09 PM - Forum: PULP General questions - No Replies

Hi,
I am trying to build the pulp RTL simulaltion platform following the instructions provided on the github page:
https://github.com/pulp-platform/pulp.

At the steps:

Code:
source setup/vsim.sh
cd sim/
make clean lib build opt

I got the following error:
** Error: ../ips/pulp_soc/rtl/pulp_soc/pulp_soc.sv(800): (vlog-2163) Macro 'DMI_JTAG_IDCODE is not defined.

Does anyone ever get the same problem? is there a solution to fix it?

Thanks!

I replaced the pulp_soc_defines.sv with the one coming with pulpissimo platform that includes the definition of the DMI_JTAG_IDCODE, then the error is gone.

Print this item

  Integrating NVDLA with PULPissimo
Posted by: AhmedZaky - 06-13-2019, 04:17 PM - Forum: PULP General questions - No Replies

Hey All, 

I am trying to integrate NVDLA accelerator into PULPissimo platform through AXI4 interface. Has anyone done it before ? What's the limitations in terms of both hardware and software integration ? 

Thanks !

Print this item

  which spike version for ri5cy?
Posted by: etayke - 06-11-2019, 02:52 PM - Forum: PULP General questions - No Replies

Hi,

we are using the ri5cy core, pulpinov1 branch, and wanted to understand which spike (isa simulator) repository should be taken.

i have found this:
https://github.com/pulp-platform/riscv-isa-sim
1. is there a specific branch matching the pulpinov1 design version
2. does it have any specific ri5cy compliance, special flags or any other?
3. am i supposed to take any patch to make it match ri5scy, as the toolchain?

for the toolchain, we are taking this :
https://github.com/pulp-platform/ri5cy_gnu_toolchain
which i understand patches the original pulp platform toolchain to match the ri5cy.

would appreciate any help on this topic.

thanks,
Itay K.

Print this item