forked from openhwgroup/cv32e40p
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Aligned all RTL/BHV files headers with correct date, contributors and…
… Solderpad Hardware License v2.1 Signed-off-by: Pascal Gouedo <[email protected]>
- Loading branch information
Pascal Gouedo
committed
Mar 18, 2024
1 parent
bee163c
commit d2a216b
Showing
42 changed files
with
755 additions
and
785 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,27 @@ | ||
// Copyright 2024 OpenHW Group and Dolphin Design | ||
// Copyright 2020 Silicon Labs, Inc. | ||
// SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1 | ||
// | ||
// This file, and derivatives thereof are licensed under the | ||
// Solderpad License, Version 2.0 (the "License"). | ||
// Licensed under the Solderpad Hardware License v 2.1 (the "License"); | ||
// you may not use this file except in compliance with the License, or, | ||
// at your option, the Apache License version 2.0. | ||
// You may obtain a copy of the License at | ||
// | ||
// Use of this file means you agree to the terms and conditions | ||
// of the license and are in full compliance with the License. | ||
// | ||
// You may obtain a copy of the License at: | ||
// | ||
// https://solderpad.org/licenses/SHL-2.0/ | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// and hardware implementations thereof distributed under the License | ||
// is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS | ||
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED. | ||
// https://solderpad.org/licenses/SHL-2.1/ | ||
// | ||
// Unless required by applicable law or agreed to in writing, any work | ||
// 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. | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
// Engineer: Arjan Bink - [email protected] // | ||
// // | ||
// Design Name: cv32e40p_apu_tracer.sv (APU trace) // | ||
// Project Name: CV32E40P // | ||
// Language: SystemVerilog // | ||
// // | ||
// Description: Logs the following: // | ||
// // | ||
// - APU register file write address // | ||
// - APU register file write data // | ||
// // | ||
// Note: This code was here from cv32e40p_core.sv in order to // | ||
// remove the use of global defines in the RTL code. // | ||
// // | ||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
`ifdef CV32E40P_APU_TRACE | ||
|
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,39 +1,28 @@ | ||
// Copyright 2024 OpenHW Group and Dolphin Design | ||
// Copyright 2020 Silicon Labs, Inc. | ||
// SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1 | ||
// | ||
// This file, and derivatives thereof are licensed under the | ||
// Solderpad License, Version 2.0 (the "License"). | ||
// Licensed under the Solderpad Hardware License v 2.1 (the "License"); | ||
// you may not use this file except in compliance with the License, or, | ||
// at your option, the Apache License version 2.0. | ||
// You may obtain a copy of the License at | ||
// | ||
// Use of this file means you agree to the terms and conditions | ||
// of the license and are in full compliance with the License. | ||
// | ||
// You may obtain a copy of the License at: | ||
// | ||
// https://solderpad.org/licenses/SHL-2.0/ | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// and hardware implementations thereof distributed under the License | ||
// is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS | ||
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED. | ||
// https://solderpad.org/licenses/SHL-2.1/ | ||
// | ||
// Unless required by applicable law or agreed to in writing, any work | ||
// 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. | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
// Engineer: Arjan Bink - [email protected] // | ||
// // | ||
// Design Name: cv32e40p_core_log.sv (cv32e40p_core simulation log) // | ||
// Project Name: CV32E40P // | ||
// Language: SystemVerilog // | ||
// // | ||
// Description: Logs the following: // | ||
// // | ||
// - top level parameter settings // | ||
// - illegal instructions // | ||
// // | ||
// Note: This code was here from cv32e40p_core.sv and // | ||
// cv32e40p_controller.sv in order to remove the use of // | ||
// global defines in the RTL code. // | ||
// // | ||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
module cv32e40p_core_log #( | ||
|
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,23 +1,24 @@ | ||
// Copyright (c) 2020 OpenHW Group | ||
// Copyright 2024 OpenHW Group and Dolphin Design | ||
// SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1 | ||
// | ||
// Licensed under the Solderpad Hardware Licence, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// Licensed under the Solderpad Hardware License v 2.1 (the "License"); | ||
// you may not use this file except in compliance with the License, or, | ||
// at your option, the Apache License version 2.0. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://solderpad.org/licenses/ | ||
// https://solderpad.org/licenses/SHL-2.1/ | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// Unless required by applicable law or agreed to in writing, any work | ||
// 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. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 WITH SHL-2.0 | ||
|
||
// Tracer data structures and functions | ||
// | ||
// Contributors: Steve Richmond, Silicon Labs <[email protected]> | ||
// Pascal Gouedo, Dolphin Design <[email protected]> | ||
///////////////////////////////////////////////////////////////////////////// | ||
// Contributors: Steve Richmond, Silicon Labs <[email protected]> // | ||
// Pascal Gouedo, Dolphin Design <[email protected]> // | ||
// Description: Tracer data structures and functions // | ||
///////////////////////////////////////////////////////////////////////////// | ||
|
||
typedef struct { | ||
logic [5:0] addr; | ||
|
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,24 +1,25 @@ | ||
// Copyright (c) 2020 OpenHW Group | ||
// Copyright 2024 OpenHW Group and Dolphin Design | ||
// SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1 | ||
// | ||
// Licensed under the Solderpad Hardware Licence, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// Licensed under the Solderpad Hardware License v 2.1 (the "License"); | ||
// you may not use this file except in compliance with the License, or, | ||
// at your option, the Apache License version 2.0. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://solderpad.org/licenses/ | ||
// https://solderpad.org/licenses/SHL-2.1/ | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// Unless required by applicable law or agreed to in writing, any work | ||
// 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. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 WITH SHL-2.0 | ||
|
||
// CV32E40P RVFI interface | ||
// | ||
// Contributors: Davide Schiavone, OpenHW Group <[email protected]> | ||
// Halfdan Bechmann, Silicon Labs <[email protected]> | ||
// Yoann Pruvost, Dolphin Design <[email protected]> | ||
///////////////////////////////////////////////////////////////////////////////// | ||
// Contributors: Davide Schiavone, OpenHW Group <[email protected]> // | ||
// Halfdan Bechmann, Silicon Labs <[email protected]> // | ||
// Yoann Pruvost, Dolphin Design <[email protected]> // | ||
// Description: CV32E40P RVFI interface // | ||
///////////////////////////////////////////////////////////////////////////////// | ||
|
||
`include "cv32e40p_rvfi_pkg.sv" | ||
|
||
|
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,23 +1,24 @@ | ||
// Copyright (c) 2020 OpenHW Group | ||
// Copyright 2024 OpenHW Group and Dolphin Design | ||
// SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1 | ||
// | ||
// Licensed under the Solderpad Hardware Licence, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// Licensed under the Solderpad Hardware License v 2.1 (the "License"); | ||
// you may not use this file except in compliance with the License, or, | ||
// at your option, the Apache License version 2.0. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://solderpad.org/licenses/ | ||
// https://solderpad.org/licenses/SHL-2.1/ | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// Unless required by applicable law or agreed to in writing, any work | ||
// 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. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 WITH SHL-2.0 | ||
|
||
// CV32E40P RVFI interface | ||
// | ||
// Contributors: Halfdan Bechmann, Silicon Labs <[email protected]> | ||
// Yoann Pruvost, Dolphin Design <[email protected]> | ||
///////////////////////////////////////////////////////////////////////////////// | ||
// Contributors: Halfdan Bechmann, Silicon Labs <[email protected]> // | ||
// Yoann Pruvost, Dolphin Design <[email protected]> // | ||
// Description: CV32E40P RVFI interface tracer // | ||
///////////////////////////////////////////////////////////////////////////////// | ||
|
||
module cv32e40p_rvfi_trace | ||
import cv32e40p_pkg::*; | ||
|
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,23 +1,24 @@ | ||
// Copyright (c) 2020 OpenHW Group | ||
// Copyright 2024 OpenHW Group and Dolphin Design | ||
// SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1 | ||
// | ||
// Licensed under the Solderpad Hardware Licence, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// Licensed under the Solderpad Hardware License v 2.1 (the "License"); | ||
// you may not use this file except in compliance with the License, or, | ||
// at your option, the Apache License version 2.0. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://solderpad.org/licenses/ | ||
// https://solderpad.org/licenses/SHL-2.1/ | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// Unless required by applicable law or agreed to in writing, any work | ||
// 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. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 WITH SHL-2.0 | ||
|
||
// Wrapper for a cv32e40p, containing cv32e40p_top, and rvfi_tracer | ||
// | ||
// Contributors: Davide Schiavone, OpenHW Group <[email protected]> | ||
// Yoann Pruvost, Dolphin Design <[email protected]> | ||
///////////////////////////////////////////////////////////////////////////////////// | ||
// Contributors: Davide Schiavone, OpenHW Group <[email protected]> // | ||
// Yoann Pruvost, Dolphin Design <[email protected]> // | ||
// Description: Wrapper for a cv32e40p, containing cv32e40p_top, and rvfi_tracer // | ||
///////////////////////////////////////////////////////////////////////////////////// | ||
|
||
`ifdef CV32E40P_ASSERT_ON | ||
`include "cv32e40p_prefetch_controller_sva.sv" | ||
|
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,24 +1,25 @@ | ||
// Copyright (c) 2020 OpenHW Group | ||
// Copyright 2024 OpenHW Group and Dolphin Design | ||
// SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1 | ||
// | ||
// Licensed under the Solderpad Hardware Licence, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// Licensed under the Solderpad Hardware License v 2.1 (the "License"); | ||
// you may not use this file except in compliance with the License, or, | ||
// at your option, the Apache License version 2.0. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://solderpad.org/licenses/ | ||
// https://solderpad.org/licenses/SHL-2.1/ | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// Unless required by applicable law or agreed to in writing, any work | ||
// 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. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 WITH SHL-2.0 | ||
|
||
// Traces the executed instructions | ||
// | ||
// Contributors: Andreas Traber, ETHZ <[email protected]> | ||
// Davide Schiavone, OpenHW Group <[email protected]> | ||
// Pascal Gouedo, Dolphin Design <[email protected]> | ||
/////////////////////////////////////////////////////////////////////////////////////////// | ||
// Contributors: Andreas Traber, ETHZ <[email protected]> // | ||
// Davide Schiavone, OpenHW Group <[email protected]> // | ||
// Pascal Gouedo, Dolphin Design <[email protected]> // | ||
// Description: Traces the executed instructions // | ||
/////////////////////////////////////////////////////////////////////////////////////////// | ||
|
||
`ifdef CV32E40P_TRACE_EXECUTION | ||
|
||
|
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
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
Oops, something went wrong.