-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
packet_filter: Moved and updated testbench
Signed-off-by: Istvan-Zsolt Szekely <[email protected]>
- Loading branch information
1 parent
2eb5c94
commit 48f66af
Showing
10 changed files
with
69 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
source ../../../scripts/adi_sim.tcl | ||
source ../../../../scripts/adi_env.tcl | ||
source $ad_hdl_dir/projects/scripts/adi_board.tcl | ||
|
||
if {$argc < 1} { | ||
puts "Expecting at least one argument that specifies the test configuration" | ||
exit 1 | ||
} else { | ||
set cfg_file [lindex $argv 0] | ||
} | ||
|
||
# Read config file | ||
source "cfgs/${cfg_file}" | ||
|
||
global ad_project_params | ||
|
||
# Set the project name | ||
set project_name [file rootname $cfg_file] | ||
|
||
# Create the project | ||
adi_sim_project_xilinx $project_name "xcvu9p-flga2104-2L-e" | ||
|
||
# Add test files to the project | ||
adi_sim_project_files [list \ | ||
"../../../library/utilities/utils.svh" \ | ||
"../../../library/utilities/logger_pkg.sv" \ | ||
"../../../library/regmaps/reg_accessor.sv" \ | ||
"../../../library/vip/amd/m_axis_sequencer.sv" \ | ||
"../../../library/vip/amd/s_axis_sequencer.sv" \ | ||
"../../../library/vip/amd/m_axi_sequencer.sv" \ | ||
"../../../library/vip/amd/s_axi_sequencer.sv" \ | ||
"../../../library/regmaps/adi_peripheral_pkg.sv" \ | ||
"../../../library/regmaps/adi_regmap_pkg.sv" \ | ||
"../../../library/utilities/test_harness_env.sv" \ | ||
"../../../library/drivers/common/mailbox.sv" \ | ||
"../../../library/drivers/common/x_monitor.sv" \ | ||
"../../../library/drivers/common/scoreboard.sv" \ | ||
"../../../library/drivers/common/filter.sv" \ | ||
"../../../library/drivers/common/interfaces.svh" \ | ||
"../../../library/drivers/common/watchdog.sv" \ | ||
"environment.sv" \ | ||
"tests/test_program.sv" \ | ||
"system_tb.sv" \ | ||
] | ||
|
||
#set a default test program | ||
adi_sim_add_define "TEST_PROGRAM=test_program" | ||
|
||
adi_sim_generate $project_name |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.