Skip to content

Commit

Permalink
Update usage of riscv_instr_gen_tb_top as in other cores: adapt it in…
Browse files Browse the repository at this point in the history
… corev-dv to import cva6-dependent packages
  • Loading branch information
CoralieAllioux committed Feb 21, 2024
1 parent 3cdc903 commit 394a1bf
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
2 changes: 1 addition & 1 deletion verif/env/corev-dv/cva6-files.f
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
${RISCV_DV_ROOT}/test/riscv_instr_test_pkg.sv
${CVA6_DV_ROOT}/cva6_signature_pkg.sv
${CVA6_DV_ROOT}/cva6_instr_test_pkg.sv
${RISCV_DV_ROOT}/test/riscv_instr_gen_tb_top.sv
${CVA6_DV_ROOT}/cva6_instr_gen_tb_top.sv
31 changes: 31 additions & 0 deletions verif/env/corev-dv/cva6_instr_gen_tb_top.sv
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

//-----------------------------------------------------------------------------
// Copy/Modify version of riscv-dv/tests/riscv_instr_gen_tb_top.sv to add the
// corev specific tests.
//-----------------------------------------------------------------------------
module cva6_instr_gen_tb_top;

import uvm_pkg::*;
import riscv_instr_test_pkg::*;
import cva6_instr_test_pkg::*;

initial begin
run_test();
end

endmodule

0 comments on commit 394a1bf

Please sign in to comment.