From f9d23f6d3cd22713e75fba55caac1cb8a9adc5af Mon Sep 17 00:00:00 2001 From: M0stafaRady Date: Thu, 10 Aug 2023 12:27:24 +0300 Subject: [PATCH] add the SPDX-FileCopyrightText to cocotb files --- verilog/dv/cocotb/cocotb_tests.py | 16 +++++++++++++++ .../counter_tests/counter_la/counter_la.c | 16 +++++++++++++++ .../counter_tests/counter_la/counter_la.py | 16 +++++++++++++++ .../counter_tests/counter_la/counter_la.yaml | 15 ++++++++++++++ .../counter_la_clk/counter_la_clk.c | 15 ++++++++++++++ .../counter_la_clk/counter_la_clk.yaml | 15 ++++++++++++++ .../counter_la_reset/counter_la_reset.c | 15 ++++++++++++++ .../counter_la_reset/counter_la_reset.py | 16 +++++++++++++++ .../counter_la_reset/counter_la_reset.yaml | 17 +++++++++++++++- .../cocotb/counter_tests/counter_tests.yaml | 20 ++++++++++++++++++- .../counter_tests/counter_tests_gl.yaml | 20 ++++++++++++++++++- .../counter_tests/counter_wb/counter_wb.c | 18 +++++++++++++++++ .../counter_tests/counter_wb/counter_wb.py | 20 +++++++++++++++++++ .../counter_tests/counter_wb/counter_wb.yaml | 19 +++++++++++++++++- verilog/dv/cocotb/design_info.yaml | 17 ++++++++++++++++ verilog/dv/cocotb/gpio_test/gpio_test.c | 19 ++++++++++++++++++ verilog/dv/cocotb/gpio_test/gpio_test.py | 18 +++++++++++++++++ verilog/dv/cocotb/hello_world/hello_world.c | 18 +++++++++++++++++ verilog/dv/cocotb/hello_world/hello_world.py | 18 +++++++++++++++++ .../dv/cocotb/hello_world/hello_world.yaml | 20 ++++++++++++++++++- .../hello_world_uart/hello_world_uart.c | 18 +++++++++++++++++ .../hello_world_uart/hello_world_uart.py | 18 +++++++++++++++++ .../hello_world_uart/hello_world_uart.yaml | 19 +++++++++++++++++- verilog/dv/setup-cocotb.py | 16 +++++++++++++++ 24 files changed, 413 insertions(+), 6 deletions(-) diff --git a/verilog/dv/cocotb/cocotb_tests.py b/verilog/dv/cocotb/cocotb_tests.py index 4c676ec58..e33d52d89 100644 --- a/verilog/dv/cocotb/cocotb_tests.py +++ b/verilog/dv/cocotb/cocotb_tests.py @@ -1,3 +1,19 @@ +# SPDX-FileCopyrightText: 2023 Efabless Corporation + +# 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. + +# SPDX-License-Identifier: Apache-2.0 + from hello_world.hello_world import hello_world from hello_world_uart.hello_world_uart import hello_world_uart from counter_tests.counter_wb.counter_wb import counter_wb diff --git a/verilog/dv/cocotb/counter_tests/counter_la/counter_la.c b/verilog/dv/cocotb/counter_tests/counter_la/counter_la.c index 2bcab5b89..f43164dc6 100644 --- a/verilog/dv/cocotb/counter_tests/counter_la/counter_la.c +++ b/verilog/dv/cocotb/counter_tests/counter_la/counter_la.c @@ -1,3 +1,19 @@ +// SPDX-FileCopyrightText: 2023 Efabless Corporation + +// 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. + +// SPDX-License-Identifier: Apache-2.0 + #include void main(){ diff --git a/verilog/dv/cocotb/counter_tests/counter_la/counter_la.py b/verilog/dv/cocotb/counter_tests/counter_la/counter_la.py index 485eb8dd9..ce78c95c8 100644 --- a/verilog/dv/cocotb/counter_tests/counter_la/counter_la.py +++ b/verilog/dv/cocotb/counter_tests/counter_la/counter_la.py @@ -1,3 +1,19 @@ +# SPDX-FileCopyrightText: 2023 Efabless Corporation + +# 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. + +# SPDX-License-Identifier: Apache-2.0 + from caravel_cocotb.caravel_interfaces import test_configure from caravel_cocotb.caravel_interfaces import report_test import cocotb diff --git a/verilog/dv/cocotb/counter_tests/counter_la/counter_la.yaml b/verilog/dv/cocotb/counter_tests/counter_la/counter_la.yaml index ad7732660..ab86628c2 100644 --- a/verilog/dv/cocotb/counter_tests/counter_la/counter_la.yaml +++ b/verilog/dv/cocotb/counter_tests/counter_la/counter_la.yaml @@ -1,4 +1,19 @@ --- +# SPDX-FileCopyrightText: 2023 Efabless Corporation + +# 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. + +# SPDX-License-Identifier: Apache-2.0 # Yalm file contain general design information that would mostly need to be updated in the first run only Tests: diff --git a/verilog/dv/cocotb/counter_tests/counter_la_clk/counter_la_clk.c b/verilog/dv/cocotb/counter_tests/counter_la_clk/counter_la_clk.c index 3b7be61a8..2991ec3bb 100644 --- a/verilog/dv/cocotb/counter_tests/counter_la_clk/counter_la_clk.c +++ b/verilog/dv/cocotb/counter_tests/counter_la_clk/counter_la_clk.c @@ -1,3 +1,18 @@ +// SPDX-FileCopyrightText: 2023 Efabless Corporation + +// 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. + +// SPDX-License-Identifier: Apache-2.0 #include void main(){ diff --git a/verilog/dv/cocotb/counter_tests/counter_la_clk/counter_la_clk.yaml b/verilog/dv/cocotb/counter_tests/counter_la_clk/counter_la_clk.yaml index 9efc3831c..2c2278f60 100644 --- a/verilog/dv/cocotb/counter_tests/counter_la_clk/counter_la_clk.yaml +++ b/verilog/dv/cocotb/counter_tests/counter_la_clk/counter_la_clk.yaml @@ -1,4 +1,19 @@ --- +# SPDX-FileCopyrightText: 2023 Efabless Corporation + +# 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. + +# SPDX-License-Identifier: Apache-2.0 # Yalm file contain general design information that would mostly need to be updated in the first run only Tests: - {name: counter_la_clk, sim: RTL} diff --git a/verilog/dv/cocotb/counter_tests/counter_la_reset/counter_la_reset.c b/verilog/dv/cocotb/counter_tests/counter_la_reset/counter_la_reset.c index 220aa0724..7a58c3cf4 100644 --- a/verilog/dv/cocotb/counter_tests/counter_la_reset/counter_la_reset.c +++ b/verilog/dv/cocotb/counter_tests/counter_la_reset/counter_la_reset.c @@ -1,3 +1,18 @@ +// SPDX-FileCopyrightText: 2023 Efabless Corporation + +// 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. + +// SPDX-License-Identifier: Apache-2.0 #include void main(){ diff --git a/verilog/dv/cocotb/counter_tests/counter_la_reset/counter_la_reset.py b/verilog/dv/cocotb/counter_tests/counter_la_reset/counter_la_reset.py index 5ec0a0b97..cfe8a5838 100644 --- a/verilog/dv/cocotb/counter_tests/counter_la_reset/counter_la_reset.py +++ b/verilog/dv/cocotb/counter_tests/counter_la_reset/counter_la_reset.py @@ -1,3 +1,19 @@ +# SPDX-FileCopyrightText: 2023 Efabless Corporation + +# 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. + +# SPDX-License-Identifier: Apache-2.0 + from caravel_cocotb.caravel_interfaces import test_configure from caravel_cocotb.caravel_interfaces import report_test import cocotb diff --git a/verilog/dv/cocotb/counter_tests/counter_la_reset/counter_la_reset.yaml b/verilog/dv/cocotb/counter_tests/counter_la_reset/counter_la_reset.yaml index 08be1c56b..38110352b 100644 --- a/verilog/dv/cocotb/counter_tests/counter_la_reset/counter_la_reset.yaml +++ b/verilog/dv/cocotb/counter_tests/counter_la_reset/counter_la_reset.yaml @@ -1,4 +1,19 @@ ---- +# SPDX-FileCopyrightText: 2023 Efabless Corporation + +# 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. + +# SPDX-License-Identifier: Apache-2.0 + # Yalm file contain general design information that would mostly need to be updated in the first run only Tests: - {name: counter_la_reset, sim: RTL} diff --git a/verilog/dv/cocotb/counter_tests/counter_tests.yaml b/verilog/dv/cocotb/counter_tests/counter_tests.yaml index 9ef25837f..13da5c21f 100644 --- a/verilog/dv/cocotb/counter_tests/counter_tests.yaml +++ b/verilog/dv/cocotb/counter_tests/counter_tests.yaml @@ -1,4 +1,22 @@ ---- +# SPDX-FileCopyrightText: 2023 Efabless Corporation + +# 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. + +# SPDX-License-Identifier: Apache-2.0 + + + + # yaml file contain general design information that would mostly need to be updated in the first run only includes: - counter_la/counter_la.yaml diff --git a/verilog/dv/cocotb/counter_tests/counter_tests_gl.yaml b/verilog/dv/cocotb/counter_tests/counter_tests_gl.yaml index 4019756d0..8b00b9323 100644 --- a/verilog/dv/cocotb/counter_tests/counter_tests_gl.yaml +++ b/verilog/dv/cocotb/counter_tests/counter_tests_gl.yaml @@ -1,4 +1,22 @@ ---- +# SPDX-FileCopyrightText: 2023 Efabless Corporation + +# 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. + +# SPDX-License-Identifier: Apache-2.0 + + + + # yaml file contain general design information that would mostly need to be updated in the first run only Tests: - {name: counter_wb, sim: GL} diff --git a/verilog/dv/cocotb/counter_tests/counter_wb/counter_wb.c b/verilog/dv/cocotb/counter_tests/counter_wb/counter_wb.c index 536527ebc..280c7e21b 100644 --- a/verilog/dv/cocotb/counter_tests/counter_wb/counter_wb.c +++ b/verilog/dv/cocotb/counter_tests/counter_wb/counter_wb.c @@ -1,3 +1,21 @@ +// SPDX-FileCopyrightText: 2023 Efabless Corporation + +// 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. + +// SPDX-License-Identifier: Apache-2.0 + + + #include void main(){ diff --git a/verilog/dv/cocotb/counter_tests/counter_wb/counter_wb.py b/verilog/dv/cocotb/counter_tests/counter_wb/counter_wb.py index 636adeba0..f2efa5865 100644 --- a/verilog/dv/cocotb/counter_tests/counter_wb/counter_wb.py +++ b/verilog/dv/cocotb/counter_tests/counter_wb/counter_wb.py @@ -1,3 +1,23 @@ +# SPDX-FileCopyrightText: 2023 Efabless Corporation + +# 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. + +# SPDX-License-Identifier: Apache-2.0 + + + + + from caravel_cocotb.caravel_interfaces import test_configure from caravel_cocotb.caravel_interfaces import report_test import cocotb diff --git a/verilog/dv/cocotb/counter_tests/counter_wb/counter_wb.yaml b/verilog/dv/cocotb/counter_tests/counter_wb/counter_wb.yaml index 705fba77d..894e0a338 100644 --- a/verilog/dv/cocotb/counter_tests/counter_wb/counter_wb.yaml +++ b/verilog/dv/cocotb/counter_tests/counter_wb/counter_wb.yaml @@ -1,4 +1,21 @@ ---- +# SPDX-FileCopyrightText: 2023 Efabless Corporation + +# 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. + +# SPDX-License-Identifier: Apache-2.0 + + + # Yalm file contain general design information that would mostly need to be updated in the first run only Tests: - {name: counter_wb, sim: RTL} diff --git a/verilog/dv/cocotb/design_info.yaml b/verilog/dv/cocotb/design_info.yaml index b4abb868f..e4ff57bde 100644 --- a/verilog/dv/cocotb/design_info.yaml +++ b/verilog/dv/cocotb/design_info.yaml @@ -1,3 +1,20 @@ +# SPDX-FileCopyrightText: 2023 Efabless Corporation + +# 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. + +# SPDX-License-Identifier: Apache-2.0 + + # yaml file contain general design information that would mostly need to be updated in the first run only #eg CARAVEL_ROOT: "/usr/Desktop/caravel_project/caravel/" diff --git a/verilog/dv/cocotb/gpio_test/gpio_test.c b/verilog/dv/cocotb/gpio_test/gpio_test.c index 0f0f073d1..4f7bd6a1f 100644 --- a/verilog/dv/cocotb/gpio_test/gpio_test.c +++ b/verilog/dv/cocotb/gpio_test/gpio_test.c @@ -1,3 +1,22 @@ +// SPDX-FileCopyrightText: 2023 Efabless Corporation + +// 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. + +// SPDX-License-Identifier: Apache-2.0 + + + + #include // include required APIs void main(){ // Enable managment gpio as output to use as indicator for finishing configuration diff --git a/verilog/dv/cocotb/gpio_test/gpio_test.py b/verilog/dv/cocotb/gpio_test/gpio_test.py index 7ca15952c..d0d46abb1 100644 --- a/verilog/dv/cocotb/gpio_test/gpio_test.py +++ b/verilog/dv/cocotb/gpio_test/gpio_test.py @@ -1,3 +1,21 @@ +# SPDX-FileCopyrightText: 2023 Efabless Corporation + +# 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. + +# SPDX-License-Identifier: Apache-2.0 + + + from caravel_cocotb.caravel_interfaces import * # import python APIs import cocotb diff --git a/verilog/dv/cocotb/hello_world/hello_world.c b/verilog/dv/cocotb/hello_world/hello_world.c index c6526b824..68d1a30af 100644 --- a/verilog/dv/cocotb/hello_world/hello_world.c +++ b/verilog/dv/cocotb/hello_world/hello_world.c @@ -1,3 +1,21 @@ +// SPDX-FileCopyrightText: 2023 Efabless Corporation + +// 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. + +// SPDX-License-Identifier: Apache-2.0 + + + #include void main(){ return; diff --git a/verilog/dv/cocotb/hello_world/hello_world.py b/verilog/dv/cocotb/hello_world/hello_world.py index 3618d49c0..63cae38fe 100644 --- a/verilog/dv/cocotb/hello_world/hello_world.py +++ b/verilog/dv/cocotb/hello_world/hello_world.py @@ -1,3 +1,21 @@ +# SPDX-FileCopyrightText: 2023 Efabless Corporation + +# 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. + +# SPDX-License-Identifier: Apache-2.0 + + + from caravel_cocotb.caravel_interfaces import test_configure from caravel_cocotb.caravel_interfaces import report_test import cocotb diff --git a/verilog/dv/cocotb/hello_world/hello_world.yaml b/verilog/dv/cocotb/hello_world/hello_world.yaml index bd6165dc2..2d81a3593 100644 --- a/verilog/dv/cocotb/hello_world/hello_world.yaml +++ b/verilog/dv/cocotb/hello_world/hello_world.yaml @@ -1,4 +1,22 @@ ---- +# --- +# SPDX-FileCopyrightText: 2023 Efabless Corporation + +# 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. + +# SPDX-License-Identifier: Apache-2.0 + + + # Yalm file contain general design information that would mostly need to be updated in the first run only # example ## tests: [debug,clock_redirect] diff --git a/verilog/dv/cocotb/hello_world_uart/hello_world_uart.c b/verilog/dv/cocotb/hello_world_uart/hello_world_uart.c index 098a6d7da..4d370580c 100644 --- a/verilog/dv/cocotb/hello_world_uart/hello_world_uart.c +++ b/verilog/dv/cocotb/hello_world_uart/hello_world_uart.c @@ -1,3 +1,21 @@ +// SPDX-FileCopyrightText: 2023 Efabless Corporation + +// 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. + +// SPDX-License-Identifier: Apache-2.0 + + + #include void main(){ diff --git a/verilog/dv/cocotb/hello_world_uart/hello_world_uart.py b/verilog/dv/cocotb/hello_world_uart/hello_world_uart.py index 66ab6d88b..baabca1d9 100644 --- a/verilog/dv/cocotb/hello_world_uart/hello_world_uart.py +++ b/verilog/dv/cocotb/hello_world_uart/hello_world_uart.py @@ -1,3 +1,21 @@ +# SPDX-FileCopyrightText: 2023 Efabless Corporation + +# 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. + +# SPDX-License-Identifier: Apache-2.0 + + + from caravel_cocotb.caravel_interfaces import test_configure from caravel_cocotb.caravel_interfaces import report_test import cocotb diff --git a/verilog/dv/cocotb/hello_world_uart/hello_world_uart.yaml b/verilog/dv/cocotb/hello_world_uart/hello_world_uart.yaml index 37d5fd1c2..b231d9b40 100644 --- a/verilog/dv/cocotb/hello_world_uart/hello_world_uart.yaml +++ b/verilog/dv/cocotb/hello_world_uart/hello_world_uart.yaml @@ -1,4 +1,21 @@ ---- +# SPDX-FileCopyrightText: 2023 Efabless Corporation + +# 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. + +# SPDX-License-Identifier: Apache-2.0 + + + # Yalm file contain general design information that would mostly need to be updated in the first run only Tests: diff --git a/verilog/dv/setup-cocotb.py b/verilog/dv/setup-cocotb.py index cb35e2cfb..79941e783 100644 --- a/verilog/dv/setup-cocotb.py +++ b/verilog/dv/setup-cocotb.py @@ -1,3 +1,19 @@ +# SPDX-FileCopyrightText: 2023 Efabless Corporation + +# 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. + +# SPDX-License-Identifier: Apache-2.0 + import click import yaml