mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 05:07:21 -04:00
[Xcelium support] Remove void from DPI definition (#1856)
This commit is contained in:
parent
62bdf11594
commit
de2e254cd4
4 changed files with 4 additions and 4 deletions
|
@ -27,7 +27,7 @@ import uvm_pkg::*;
|
|||
`define READ_ELF_T
|
||||
import "DPI-C" function void read_elf(input string filename);
|
||||
import "DPI-C" function byte get_section(output longint address, output longint len);
|
||||
import "DPI-C" context function void read_section_sv(input longint address, inout byte buffer[]);
|
||||
import "DPI-C" context function read_section_sv(input longint address, inout byte buffer[]);
|
||||
`endif
|
||||
|
||||
module ariane_tb;
|
||||
|
|
|
@ -16,7 +16,7 @@ import "DPI-C" function byte read_symbol (input string symbol_name, inout longin
|
|||
`define READ_ELF_T
|
||||
import "DPI-C" function void read_elf(input string filename);
|
||||
import "DPI-C" function byte get_section(output longint address, output longint len);
|
||||
import "DPI-C" context function void read_section_sv(input longint address, inout byte buffer[]);
|
||||
import "DPI-C" context function read_section_sv(input longint address, inout byte buffer[]);
|
||||
`endif
|
||||
|
||||
|
||||
|
|
2
verif/env/uvme/uvme_cva6_pkg.sv
vendored
2
verif/env/uvme/uvme_cva6_pkg.sv
vendored
|
@ -55,7 +55,7 @@ package uvme_cva6_pkg;
|
|||
import uvma_isacov_pkg::*;
|
||||
import "DPI-C" function void read_elf(input string filename);
|
||||
import "DPI-C" function byte get_section(output longint address, output longint len);
|
||||
import "DPI-C" context function void read_section_sv(input longint address, inout byte buffer[]);
|
||||
import "DPI-C" context function read_section_sv(input longint address, inout byte buffer[]);
|
||||
|
||||
// Default legal opcode and funct7 for RV32I instructions
|
||||
bit [6:0] legal_i_opcode[$] = '{7'b0000011,
|
||||
|
|
|
@ -35,7 +35,7 @@ import uvm_pkg::*;
|
|||
import "DPI-C" function void read_elf(input string filename);
|
||||
import "DPI-C" function byte read_symbol(input string symbol_name, inout longint unsigned address);
|
||||
import "DPI-C" function byte get_section(output longint address, output longint len);
|
||||
import "DPI-C" context function void read_section_sv(input longint address, inout byte buffer[]);
|
||||
import "DPI-C" context function read_section_sv(input longint address, inout byte buffer[]);
|
||||
`endif
|
||||
|
||||
module cva6_tb_wrapper import uvmt_cva6_pkg::*; #(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue