Welcome, Guest |
You have to register before you can post on our site.
|
Latest Threads |
Unable to compile and run...
Forum: PULP General questions
Last Post: kgf
03-17-2025, 06:29 AM
» Replies: 1
» Views: 66
|
__builtin_pulp
Forum: PULP General questions
Last Post: yoss
02-18-2025, 04:31 PM
» Replies: 0
» Views: 207
|
XpulpNN march
Forum: PULP General questions
Last Post: yoss
02-06-2025, 12:47 PM
» Replies: 2
» Views: 517
|
Help with llvm/clang comp...
Forum: PULP General questions
Last Post: ThomasMuyal
01-23-2025, 10:10 PM
» Replies: 2
» Views: 984
|
Doubts regarding I2S mode...
Forum: PULP General questions
Last Post: Zyb
01-09-2025, 11:56 AM
» Replies: 0
» Views: 327
|
Multi Core PULP first tim...
Forum: PULP General questions
Last Post: kgf
01-02-2025, 02:23 PM
» Replies: 1
» Views: 1,158
|
Which SDK to be used to c...
Forum: PULP General questions
Last Post: lisamartin
12-23-2024, 02:34 AM
» Replies: 2
» Views: 2,488
|
Pulpissimo Support Group ...
Forum: PULP General questions
Last Post: Roogadget
12-04-2024, 11:19 AM
» Replies: 0
» Views: 410
|
Pulp - make build
Forum: PULP General questions
Last Post: Francis Ortega
11-29-2024, 09:02 AM
» Replies: 2
» Views: 1,009
|
some questions about pulp...
Forum: PULP General questions
Last Post: jsen_che11
11-28-2024, 03:54 AM
» Replies: 3
» Views: 1,177
|
|
|
xilinx memories in pulpissimo L2 |
Posted by: skor - 06-10-2019, 06:47 AM - Forum: PULP General questions
- Replies (1)
|
 |
Hi,
In Pulpissimo in l2_ram_multi_bank.sv there is hooks for xilinx memories:
`ifdef PULP_FPGA_EMUL
logic [NB_BANKS-1:0][7:0] wea;
genvar i,j;
generate
for(i=0; i<NB_BANKS; i++)
begin : CUTS
for(j=0; j<8; j++)
assign wea[i][j] = ~mem_slave[i].csn & ~mem_slave[i].wen & mem_slave[i].be[j];
xilinx_l2_mem_8192x64 l2_mem_i (
.clka ( clk_i ),
.rsta ( ~rst_ni ),
.ena ( ~mem_slave[i].csn ),
.wea ( wea[i] ),
.addra ( mem_slave[i].add[MEM_ADDR_WIDTH-1:0] ),
.dina ( mem_slave[i].wdata ),
.douta ( mem_slave[i].rdata )
);
end
endgenerate
Have you tested this is working?
Regards, skor
|
|
|
Using HAL headers in HERO project |
Posted by: tmilkovic - 06-03-2019, 11:46 AM - Forum: PULP General questions
- No Replies
|
 |
Hi!
I would like to use eu_evt_maskWaitAndClr() HAL function to put the RISC-V core to sleep until my HWPE signals an event (job done). I am using HERO-SDK.
I tried including eu_v3.h header in my code (between #pragma omp declare target and #pragma omp end declare target), but compiler gives me fatal error: eu_v3.h: No such file or directory. Is it even posible to use headers from pulp-sdk inside hero-sdk project?
Best regards,
Tomislav
|
|
|
Pulpissimo synthesis error |
Posted by: MikkeN - 05-23-2019, 11:25 AM - Forum: PULP General questions
- No Replies
|
 |
Hi,
I got following error when synthesising (dc_shell L2016-03) Pulpissimo:
Information: Building the design 'pulp_soc' instantiated from design 'soc_domain_0_1_32_64_32_6_4_6_8_4_8_8' with
the parameters "CORE_TYPE=0,USE_FPU=1,AXI_ADDR_WIDTH=32,AXI_DATA_IN_WIDTH=64,AXI_DATA_OUT_WIDTH=32,AXI_ID_IN_WIDTH=6,AXI_ID_OUT_WIDTH=4,AXI_USER_WIDTH=6,EVNT_WIDTH=8,BUFFER_WIDTH=8". (HDL-193)
Error: ../pulpissimo/ips/pulp_soc/rtl/pulp_soc/pulp_soc.sv:269: Syntax error at or near token 'FC_Core_MHARTID': arrays do not have named members. (VER-294)
*** Presto compilation terminated with 2 errors. ***
MikkeN
|
|
|
Porting Ariane to KC705 |
Posted by: AnonymousWeasel - 05-22-2019, 04:09 PM - Forum: PULP General questions
- Replies (1)
|
 |
Hello,
I'm currently porting the Ariane core to the KC705 board, as it is using the same FPGA as the Genesys II this should be a feasible task to do. So far I adapted the constraint file to match the KC705 board and also changed the part and board variables in the Makefile. The KC705 has different amounts of switches and LEDs so I reduced the number where necessary. Also the cpu_reset is inverted on the KC705. In the fpga/scripts/write_cfgmem.tcl I changed the SPI memory size parameter to 128 (as provided by the KC705).
The KC705 doesn't have an FTDI chip like the Genesys II. Therefore, the KC705 lacks the necessary configurable JTAG pins that are connected to the dmi_jtag module. For now I temporarily worked around that by wiring it up to a BSCANE2 module and hardwiring the trst to 1. In the future I plan on using a second JTAG that I connect to some GPIO pins to wire them up to the module.
I also built the ariane-sdk using the provided makefile and put it on an SD card.
The bitstream is sent to the KC705 just fine. I added some additional logic to to make sure the clock and reset are working by wiring them up to the LEDs, so this part seems to be just fine.
I checked the bootrom and according to the main.c in fpga/src/bootrom/src/ it is supposed to 'print_uart("Hello World!\r\n");' in the beginning of the bootrom. However, I don't receive this output (or any other) on my terminal.
I'm using the `screen /dev/ttyUSB0 115200` command from the github readme. I made sure to use the correct ttyUSB by dis- and reconnecting the separate UART cable on the KC705 while checking the /dev folder.
Are there any additional files/settings I need to adjust? Any idea how to get this to work or how to debug it?
Also: During the `make fpga` an ariane.xpr vivado project file is created in the fpga folder. If I open this file it is empty, is this supposed to be the case? I wanted to add some ILA cores to further debug my issue, but without a working project this gets more tedious.
Thank you.
Edit: typos
|
|
|
Pulpissimo Synthesis content |
Posted by: MikkeN - 05-16-2019, 10:42 AM - Forum: PULP General questions
- Replies (3)
|
 |
Hi,
I have reviewed Pulpissimo code. There is couple of issues (I try to synthesize it):
1. In pulp_soc.sv (line 861) is instatiation of module jtag_tap_top. However this module is not found. Instead there is module tap_top,
should it be instantiated?
2. In soc_clk_rst_gen.sv there is three instatiations of gf22_FLL
Comment says that it is not supported by FPGA
Is this really synthesizable code?
There is comments regarding that it is behavioral coding.
Best Regards,
MikkeN
|
|
|
FPGA build |
Posted by: Akim - 05-15-2019, 11:00 AM - Forum: PULP General questions
- Replies (2)
|
 |
Hello,
I found that you have added more instructions (below) how to build and use virtual platform with Pulpissimo.
Thaks for that, I got virtual platform working and run Hello test on it.
Is there similar instructions for FPGA build? Is there somewhere build-fpga like build-gvsoc etc.?
"Building and using the virtual platform
Once the RTL platform is installed, the following commands can be executed to install and use the virtual platform:
Code: git clone https://github.com/pulp-platform/pulp-builder.git
cd pulp-builder
git checkout b3b255b0f653fce950cf730972c8ad07b1be7bf0
source configs/pulpissimo.sh
./scripts/build-gvsoc
source sdk-setup.sh
source configs/gvsoc.sh
cd ..
Then tests can be compiled and run as for the RTL platform. "
Best Regards,
Akim
|
|
|
How to do post-synthesis simulation of PULPino after generating netlist using DC |
Posted by: zhouqiang - 05-09-2019, 02:19 PM - Forum: PULP General questions
- Replies (2)
|
 |
Hello,
We want to tape out PULPino using SMIC 0.13um technology, and now we have finished DC and got netlist of PULPino, we have generated a 32KB SRAM macro ,the ROM macro and their function mode verilog file. Next, we are going to use the netlist, the RAM and ROM to do a post-synthesis simulation of PULPino. Can someone tell me how to perform post-synthesis simulation of PULPino? Especially, how to test the functions of SRAM and ROM to determine if they are working properly?
|
|
|
|