-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MVB_TCAM: [MAINTENANCE] refactor MVB_TCAM
Fix RW address width in fragmented mem mode. Refactor code to comply with the coding style. Remove duplicit code (add links to TCAM2 component).
- Loading branch information
Showing
16 changed files
with
58 additions
and
654 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
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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
# Modules.tcl: Local include tcl script | ||
# Copyright (C) 2023 CESNET z. s. p. o. | ||
# Author: Tomas Fukac <[email protected]> | ||
# Author(s): Tomas Fukac <[email protected]> | ||
# Tomas Hak <[email protected]> | ||
# | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
# set paths | ||
|
||
set SV_MVB_BASE "$OFM_PATH/comp/mvb_tools/ver" | ||
set SV_WB_BASE "$ENTITY_BASE/tbench/write_bus" | ||
set SV_TCAM2_BASE "$OFM_PATH/comp/base/mem/tcam2/ver" | ||
set SV_WB_BASE "$SV_TCAM2_BASE/tbench/write_bus" | ||
set SV_RB_BASE "$SV_TCAM2_BASE/tbench/read_bus" | ||
|
||
set COMPONENTS [list \ | ||
[ list "SV_MVB" $SV_MVB_BASE "FULL"] \ | ||
[ list "SV_WB" $SV_WB_BASE "FULL"] \ | ||
] | ||
lappend COMPONENTS [ list "SV_MVB" $SV_MVB_BASE "FULL" ] | ||
lappend COMPONENTS [ list "SV_WB" $SV_WB_BASE "FULL" ] | ||
lappend COMPONENTS [ list "SV_RB" $SV_RB_BASE "FULL" ] | ||
|
||
set MOD "$MOD $ENTITY_BASE/tbench/test_pkg.sv" | ||
set MOD "$MOD $ENTITY_BASE/tbench/dut.sv" | ||
set MOD "$MOD $ENTITY_BASE/tbench/test.sv" | ||
lappend MOD "$ENTITY_BASE/tbench/test_pkg.sv" | ||
lappend MOD "$ENTITY_BASE/tbench/dut.sv" | ||
lappend MOD "$SV_TCAM2_BASE/tbench/test.sv" |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,10 +1,12 @@ | ||
# signals_sig.fdo : Include file with signals | ||
# Copyright (C) 2023 CESNET z. s. p. o. | ||
# Author: Tomas Fukac <[email protected]> | ||
# Author(s): Tomas Fukac <[email protected]> | ||
# Tomas Hak <[email protected]> | ||
# | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
source "./signals.fdo" | ||
set SV_TCAM2_BASE "../../../../base/mem/tcam2/ver" | ||
source "$SV_TCAM2_BASE/signals.fdo" | ||
|
||
add wave -divider "TCAM" | ||
add_wave "-noupdate -color yellow -label RESET" /testbench/DUT_U/VHDL_DUT_U/RESET | ||
|
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
// dut.sv: Design under test | ||
// Copyright (C) 2023 CESNET z. s. p. o. | ||
// Author: Tomas Fukac <[email protected]> | ||
// Author(s): Tomas Fukac <[email protected]> | ||
// Tomas Hak <[email protected]> | ||
// | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
|
||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.