Added the SPDX License on source code
diff --git a/chisel/Buraq-mini/RV32i/build.sbt b/chisel/Buraq-mini/RV32i/build.sbt
index 6934b03..e77c7b0 100644
--- a/chisel/Buraq-mini/RV32i/build.sbt
+++ b/chisel/Buraq-mini/RV32i/build.sbt
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 def scalacOptionsVersion(scalaVersion: String): Seq[String] = {
   Seq() ++ {
     // If we're building with Scala > 2.11, enable the compile option
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/common/ALU_operations_Sel.scala b/chisel/Buraq-mini/RV32i/src/main/scala/common/ALU_operations_Sel.scala
index cfdb39c..796b82b 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/common/ALU_operations_Sel.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/common/ALU_operations_Sel.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package common
 
 
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/Alu.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/Alu.scala
index a87c361..7994f11 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/Alu.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/Alu.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/AluControl.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/AluControl.scala
index dd9f25e..efcba37 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/AluControl.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/AluControl.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/BranchLogic.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/BranchLogic.scala
index 26b1a3a..00741bb 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/BranchLogic.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/BranchLogic.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/Control.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/Control.scala
index 3cef65a..04f9b27 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/Control.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/Control.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/ControlDecode.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/ControlDecode.scala
index e5572de..5196023 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/ControlDecode.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/ControlDecode.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/Core.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/Core.scala
index 72a5558..1fc7075 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/Core.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/Core.scala
@@ -1,18 +1,17 @@
-/**
- * Copyright 2020 Muhammad Hadir Khan
- *
- * 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
- *
- *      https://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-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/CsrControlUnit.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/CsrControlUnit.scala
index 9bd1e67..e81ae3d 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/CsrControlUnit.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/CsrControlUnit.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package main.scala.core
 import chisel3._
 
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/Decode.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/Decode.scala
index c7c34e5..e6bfbb4 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/Decode.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/Decode.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/DecodeForwardUnit.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/DecodeForwardUnit.scala
index 9724c5f..98f5b6c 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/DecodeForwardUnit.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/DecodeForwardUnit.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/EX_MEM.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/EX_MEM.scala
index b01c752..a2c84d3 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/EX_MEM.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/EX_MEM.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/Execute.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/Execute.scala
index eaf63de..3fa5b60 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/Execute.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/Execute.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/Fetch.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/Fetch.scala
index 35dee9f..47e8fb5 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/Fetch.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/Fetch.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/Fetch_fifo.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/Fetch_fifo.scala
index 707e9d4..3dce1a2 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/Fetch_fifo.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/Fetch_fifo.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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 chisel3._
 import chisel3.util._
 //port chisel3.experimental._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/Foo.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/Foo.scala
index 3dc7892..435d769 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/Foo.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/Foo.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/ForwardUnit.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/ForwardUnit.scala
index 8127ac9..0fb6290 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/ForwardUnit.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/ForwardUnit.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/ForwardUnitMem.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/ForwardUnitMem.scala
index f1f620c..a2cefe7 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/ForwardUnitMem.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/ForwardUnitMem.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/HazardDetection.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/HazardDetection.scala
index 488bf3a..4f43a8f 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/HazardDetection.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/HazardDetection.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/ID_EX.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/ID_EX.scala
index bbeaaa1..1ad1873 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/ID_EX.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/ID_EX.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/ImmediateGeneration.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/ImmediateGeneration.scala
index ba505b8..5fbee8a 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/ImmediateGeneration.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/ImmediateGeneration.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/InstructionTypeDecode.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/InstructionTypeDecode.scala
index 98515f3..bbdb5ec 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/InstructionTypeDecode.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/InstructionTypeDecode.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/Jalr.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/Jalr.scala
index 6988bf0..d79279b 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/Jalr.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/Jalr.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/Load_unit.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/Load_unit.scala
index 10dfd92..261c01f 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/Load_unit.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/Load_unit.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 import chisel3._
 import chisel3.util.Cat
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/MEM_WB.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/MEM_WB.scala
index f31cd1a..b8cab7b 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/MEM_WB.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/MEM_WB.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/MemoryStage.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/MemoryStage.scala
index 24e870d..0a8d5d0 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/MemoryStage.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/MemoryStage.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/Pc.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/Pc.scala
index 715973b..c664d83 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/Pc.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/Pc.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/RegisterFile.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/RegisterFile.scala
index 0a53a51..ce02703 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/RegisterFile.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/RegisterFile.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/Staller.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/Staller.scala
index 8b5b646..160e93f 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/Staller.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/Staller.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/Store_unit.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/Store_unit.scala
index 3fc09d7..b7dd971 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/Store_unit.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/Store_unit.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 import chisel3._
 import chisel3.util.Cat
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/StructuralDetector.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/StructuralDetector.scala
index 2b5a6ec..b77032f 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/StructuralDetector.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/StructuralDetector.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/WriteBack.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/WriteBack.scala
index 606f24e..8b4cdba 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/WriteBack.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/WriteBack.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package core
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/BrqCounter.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/BrqCounter.scala
index 2bf4b05..138fa26 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/BrqCounter.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/BrqCounter.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package main.scala.core.csrs
 
 import chisel3._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrAddressMap.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrAddressMap.scala
index a79f1d0..494aaa7 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrAddressMap.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrAddressMap.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package main.scala.core.csrs
 import chisel3._
 
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrBundles.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrBundles.scala
index 1179716..093dc33 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrBundles.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrBundles.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package main.scala.core.csrs
 import chisel3._
 import chisel3.experimental.ChiselEnum
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrExcCause.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrExcCause.scala
index 7ff3cc5..fba2be4 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrExcCause.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrExcCause.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package main.scala.core.csrs
 import chisel3._
 import chisel3.util._
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrPrimitive.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrPrimitive.scala
index d53d8b7..cd9c053 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrPrimitive.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrPrimitive.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package main.scala.core.csrs
 import chisel3._
 
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrRegFields.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrRegFields.scala
index 54dc3c9..83d6937 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrRegFields.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrRegFields.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package main.scala.core.csrs
 import chisel3._
 
diff --git a/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrRegisterFile.scala b/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrRegisterFile.scala
index 251c843..0d1d7e4 100644
--- a/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrRegisterFile.scala
+++ b/chisel/Buraq-mini/RV32i/src/main/scala/core/csrs/CsrRegisterFile.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package main.scala.core.csrs
 import chisel3._
 import chisel3.util.Cat
diff --git a/chisel/TileLink/build.sbt b/chisel/TileLink/build.sbt
index 2b2c062..867e057 100644
--- a/chisel/TileLink/build.sbt
+++ b/chisel/TileLink/build.sbt
@@ -1,5 +1,17 @@
-// See README.md for license details.
-
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 def scalacOptionsVersion(scalaVersion: String): Seq[String] = {
   Seq() ++ {
     // If we're building with Scala > 2.11, enable the compile option
diff --git a/chisel/TileLink/src/main/scala/merl/uit/tilelink/Arbiter.scala b/chisel/TileLink/src/main/scala/merl/uit/tilelink/Arbiter.scala
index 7b3f351..af83b07 100644
--- a/chisel/TileLink/src/main/scala/merl/uit/tilelink/Arbiter.scala
+++ b/chisel/TileLink/src/main/scala/merl/uit/tilelink/Arbiter.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package merl.uit.tilelink
 
 import chisel3._
diff --git a/chisel/TileLink/src/main/scala/merl/uit/tilelink/Config.scala b/chisel/TileLink/src/main/scala/merl/uit/tilelink/Config.scala
index 1c992d7..09aa72f 100644
--- a/chisel/TileLink/src/main/scala/merl/uit/tilelink/Config.scala
+++ b/chisel/TileLink/src/main/scala/merl/uit/tilelink/Config.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package merl.uit.tilelink
 
 import chisel3._
diff --git a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TLSocket1_N.scala b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TLSocket1_N.scala
index 524c56e..c875386 100644
--- a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TLSocket1_N.scala
+++ b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TLSocket1_N.scala
@@ -1,18 +1,17 @@
-/**
- * Copyright 2020 Muhammad Hadir Khan
- *
- * 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
- *
- *      https://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-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package merl.uit.tilelink
 
 import chisel3._
diff --git a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TLSocketM_1.scala b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TLSocketM_1.scala
index afbd73e..a51ef66 100644
--- a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TLSocketM_1.scala
+++ b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TLSocketM_1.scala
@@ -1,18 +1,17 @@
-/**
- * Copyright 2020 Muhammad Hadir Khan
- *
- * 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
- *
- *      https://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-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package merl.uit.tilelink
 
 import chisel3._
diff --git a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_A_Opcode.scala b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_A_Opcode.scala
index 130ae81..06aa8ed 100644
--- a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_A_Opcode.scala
+++ b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_A_Opcode.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package merl.uit.tilelink
 
 import chisel3._
diff --git a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_D2H.scala b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_D2H.scala
index 34610b9..40b11a4 100644
--- a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_D2H.scala
+++ b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_D2H.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package merl.uit.tilelink
 
 import chisel3._
diff --git a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_D_Opcode.scala b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_D_Opcode.scala
index 5f21105..2ffedd6 100644
--- a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_D_Opcode.scala
+++ b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_D_Opcode.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package merl.uit.tilelink
 
 import chisel3._
diff --git a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_Decoder.scala b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_Decoder.scala
index 06d8cfb..45d9ac1 100644
--- a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_Decoder.scala
+++ b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_Decoder.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package merl.uit.tilelink
 
 import chisel3._
diff --git a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_Err.scala b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_Err.scala
index c7a671c..a490812 100644
--- a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_Err.scala
+++ b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_Err.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package merl.uit.tilelink
 
 import chisel3._
diff --git a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_ErrResp.scala b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_ErrResp.scala
index 9c71216..825681b 100644
--- a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_ErrResp.scala
+++ b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_ErrResp.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package merl.uit.tilelink
 
 import chisel3._
diff --git a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_H2D.scala b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_H2D.scala
index 5db535a..c7bd476 100644
--- a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_H2D.scala
+++ b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_H2D.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package merl.uit.tilelink
 
 import chisel3._
diff --git a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_HostAdapter.scala b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_HostAdapter.scala
index 9554958..2f3f40f 100644
--- a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_HostAdapter.scala
+++ b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_HostAdapter.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package merl.uit.tilelink
 
 import chisel3._
diff --git a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_RegAdapter.scala b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_RegAdapter.scala
index a840587..448b957 100644
--- a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_RegAdapter.scala
+++ b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_RegAdapter.scala
@@ -1,18 +1,17 @@
-/**
- * Copyright 2020 Muhammad Hadir Khan
- *
- * 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
- *
- *      https://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-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package merl.uit.tilelink
 
 import chisel3._
diff --git a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_SramAdapter.scala b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_SramAdapter.scala
index b730b0a..dd704d4 100644
--- a/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_SramAdapter.scala
+++ b/chisel/TileLink/src/main/scala/merl/uit/tilelink/TL_SramAdapter.scala
@@ -1,18 +1,17 @@
-/**
- * Copyright 2020 Muhammad Hadir Khan
- *
- * 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
- *
- *      https://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-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package merl.uit.tilelink
 import chisel3._
 import chisel3.util.{Cat, Enum, Fill, log2Ceil}
diff --git a/chisel/build.sbt b/chisel/build.sbt
index c8a70aa..992749b 100644
--- a/chisel/build.sbt
+++ b/chisel/build.sbt
@@ -1,5 +1,17 @@
-// See README.md for license details.
-
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 def scalacOptionsVersion(scalaVersion: String): Seq[String] = {
   Seq() ++ {
     // If we're building with Scala > 2.11, enable the compile option
diff --git a/chisel/src/main/scala/flash_ctrl/FlashCtrlAddressMap.scala b/chisel/src/main/scala/flash_ctrl/FlashCtrlAddressMap.scala
index c0aab66..081d9bc 100644
--- a/chisel/src/main/scala/flash_ctrl/FlashCtrlAddressMap.scala
+++ b/chisel/src/main/scala/flash_ctrl/FlashCtrlAddressMap.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package flash_ctrl
 import chisel3._
 
diff --git a/chisel/src/main/scala/flash_ctrl/FlashCtrlRegBundle.scala b/chisel/src/main/scala/flash_ctrl/FlashCtrlRegBundle.scala
index f6cf1d2..c27de67 100644
--- a/chisel/src/main/scala/flash_ctrl/FlashCtrlRegBundle.scala
+++ b/chisel/src/main/scala/flash_ctrl/FlashCtrlRegBundle.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package flash_ctrl
 import chisel3._
 
diff --git a/chisel/src/main/scala/flash_ctrl/FlashCtrlRegTop.scala b/chisel/src/main/scala/flash_ctrl/FlashCtrlRegTop.scala
index 126d202..9992fca 100644
--- a/chisel/src/main/scala/flash_ctrl/FlashCtrlRegTop.scala
+++ b/chisel/src/main/scala/flash_ctrl/FlashCtrlRegTop.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package flash_ctrl
 import chisel3._
 import merl.uit.tilelink.{TLConfiguration, TLSocket1_N, TL_D2H, TL_H2D, TL_RegAdapter}
diff --git a/chisel/src/main/scala/gpio/Gpio.scala b/chisel/src/main/scala/gpio/Gpio.scala
index 602acaa..eb9c9b7 100644
--- a/chisel/src/main/scala/gpio/Gpio.scala
+++ b/chisel/src/main/scala/gpio/Gpio.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package gpio
 import chisel3._
 import chisel3.util.{Cat, Fill}
diff --git a/chisel/src/main/scala/gpio/GpioAddressMap.scala b/chisel/src/main/scala/gpio/GpioAddressMap.scala
index 44ff40a..2994da1 100644
--- a/chisel/src/main/scala/gpio/GpioAddressMap.scala
+++ b/chisel/src/main/scala/gpio/GpioAddressMap.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package gpio
 import chisel3._
 
diff --git a/chisel/src/main/scala/gpio/GpioId.scala b/chisel/src/main/scala/gpio/GpioId.scala
index e50019c..161effa 100644
--- a/chisel/src/main/scala/gpio/GpioId.scala
+++ b/chisel/src/main/scala/gpio/GpioId.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package gpio
 import chisel3.util._
 
diff --git a/chisel/src/main/scala/gpio/GpioRegBundle.scala b/chisel/src/main/scala/gpio/GpioRegBundle.scala
index 7e6e65b..3b2bec4 100644
--- a/chisel/src/main/scala/gpio/GpioRegBundle.scala
+++ b/chisel/src/main/scala/gpio/GpioRegBundle.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package gpio
 import chisel3._
 /**
diff --git a/chisel/src/main/scala/gpio/GpioRegTop.scala b/chisel/src/main/scala/gpio/GpioRegTop.scala
index e0f5db9..5d83172 100644
--- a/chisel/src/main/scala/gpio/GpioRegTop.scala
+++ b/chisel/src/main/scala/gpio/GpioRegTop.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package gpio
 import chisel3._
 import chisel3.util.{Cat, Fill}
diff --git a/chisel/src/main/scala/ibtida_soc/IbtidaConfig.scala b/chisel/src/main/scala/ibtida_soc/IbtidaConfig.scala
index d70e58b..3d12666 100644
--- a/chisel/src/main/scala/ibtida_soc/IbtidaConfig.scala
+++ b/chisel/src/main/scala/ibtida_soc/IbtidaConfig.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package ibtida_soc
 import chisel3._
 
diff --git a/chisel/src/main/scala/ibtida_soc/Ibtida_top.scala b/chisel/src/main/scala/ibtida_soc/Ibtida_top.scala
index e0effca..c6c3907 100644
--- a/chisel/src/main/scala/ibtida_soc/Ibtida_top.scala
+++ b/chisel/src/main/scala/ibtida_soc/Ibtida_top.scala
@@ -1,18 +1,17 @@
-/**
- * Copyright 2020 Muhammad Hadir Khan
- *
- * 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
- *
- *      https://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-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package ibtida_soc
 import Chisel.Fill
 import chisel3._
diff --git a/chisel/src/main/scala/ibtida_soc/Ibtida_top_dffram_cv.scala b/chisel/src/main/scala/ibtida_soc/Ibtida_top_dffram_cv.scala
index b2885d6..3e9d1b4 100644
--- a/chisel/src/main/scala/ibtida_soc/Ibtida_top_dffram_cv.scala
+++ b/chisel/src/main/scala/ibtida_soc/Ibtida_top_dffram_cv.scala
@@ -1,18 +1,17 @@
-/**
- * Copyright 2020 Muhammad Hadir Khan
- *
- * 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
- *
- *      https://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-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package ibtida_soc
 import chisel3._
 import merl.uit.tilelink.TLConfiguration
diff --git a/chisel/src/main/scala/primitives/DataMem.scala b/chisel/src/main/scala/primitives/DataMem.scala
index 94b49f8..98eb818 100644
--- a/chisel/src/main/scala/primitives/DataMem.scala
+++ b/chisel/src/main/scala/primitives/DataMem.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package primitives
 import chisel3._
 
diff --git a/chisel/src/main/scala/primitives/Fifo.scala b/chisel/src/main/scala/primitives/Fifo.scala
index 0fc7acf..f44b0bf 100644
--- a/chisel/src/main/scala/primitives/Fifo.scala
+++ b/chisel/src/main/scala/primitives/Fifo.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package primitives
 import chisel3._
 import chisel3.util.{Cat, log2Ceil, log2Up}
diff --git a/chisel/src/main/scala/primitives/FlopSynchronizer.scala b/chisel/src/main/scala/primitives/FlopSynchronizer.scala
index 5c5c6fb..32e0178 100644
--- a/chisel/src/main/scala/primitives/FlopSynchronizer.scala
+++ b/chisel/src/main/scala/primitives/FlopSynchronizer.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package primitives
 import chisel3._
 
diff --git a/chisel/src/main/scala/primitives/InstMem.scala b/chisel/src/main/scala/primitives/InstMem.scala
index 84c6215..b1c47b2 100644
--- a/chisel/src/main/scala/primitives/InstMem.scala
+++ b/chisel/src/main/scala/primitives/InstMem.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package primitives
 import chisel3._
 import scala.collection.script.Reset
diff --git a/chisel/src/main/scala/primitives/IntrHardware.scala b/chisel/src/main/scala/primitives/IntrHardware.scala
index f6b74f9..044c4ca 100644
--- a/chisel/src/main/scala/primitives/IntrHardware.scala
+++ b/chisel/src/main/scala/primitives/IntrHardware.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package primitives
 import chisel3._
 import chisel3.util.Fill
diff --git a/chisel/src/main/scala/primitives/SubReg.scala b/chisel/src/main/scala/primitives/SubReg.scala
index 86340e5..5d3e591 100644
--- a/chisel/src/main/scala/primitives/SubReg.scala
+++ b/chisel/src/main/scala/primitives/SubReg.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package primitives
 import chisel3._
 import chisel3.util.Fill
diff --git a/chisel/src/main/scala/primitives/SubRegExt.scala b/chisel/src/main/scala/primitives/SubRegExt.scala
index 2307d3b..b7de663 100644
--- a/chisel/src/main/scala/primitives/SubRegExt.scala
+++ b/chisel/src/main/scala/primitives/SubRegExt.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package primitives
 import chisel3._
 
diff --git a/chisel/src/main/scala/uart/Uart.scala b/chisel/src/main/scala/uart/Uart.scala
index 0418720..35e54a0 100644
--- a/chisel/src/main/scala/uart/Uart.scala
+++ b/chisel/src/main/scala/uart/Uart.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package uart
 import chisel3._
 import merl.uit.tilelink.{TLConfiguration, TL_D2H, TL_H2D}
diff --git a/chisel/src/main/scala/uart/UartAddressMap.scala b/chisel/src/main/scala/uart/UartAddressMap.scala
index 571e397..7a260bf 100644
--- a/chisel/src/main/scala/uart/UartAddressMap.scala
+++ b/chisel/src/main/scala/uart/UartAddressMap.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package uart
 import chisel3._
 
diff --git a/chisel/src/main/scala/uart/UartCore.scala b/chisel/src/main/scala/uart/UartCore.scala
index f367179..1d1b936 100644
--- a/chisel/src/main/scala/uart/UartCore.scala
+++ b/chisel/src/main/scala/uart/UartCore.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package uart
 import chisel3._
 import chisel3.util.{Cat, Enum}
diff --git a/chisel/src/main/scala/uart/UartRegBundle.scala b/chisel/src/main/scala/uart/UartRegBundle.scala
index 43088aa..230f625 100644
--- a/chisel/src/main/scala/uart/UartRegBundle.scala
+++ b/chisel/src/main/scala/uart/UartRegBundle.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package uart
 import chisel3._
 
diff --git a/chisel/src/main/scala/uart/UartRegTop.scala b/chisel/src/main/scala/uart/UartRegTop.scala
index 736f280..68550c7 100644
--- a/chisel/src/main/scala/uart/UartRegTop.scala
+++ b/chisel/src/main/scala/uart/UartRegTop.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package uart
 import chisel3._
 import chisel3.util.{Cat, Fill}
diff --git a/chisel/src/main/scala/uart/UartRx.scala b/chisel/src/main/scala/uart/UartRx.scala
index 4b661f3..b9c699b 100644
--- a/chisel/src/main/scala/uart/UartRx.scala
+++ b/chisel/src/main/scala/uart/UartRx.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package uart
 import chisel3._
 import chisel3.util.Cat
diff --git a/chisel/src/main/scala/uart/UartTx.scala b/chisel/src/main/scala/uart/UartTx.scala
index caa6df9..2aaf26b 100644
--- a/chisel/src/main/scala/uart/UartTx.scala
+++ b/chisel/src/main/scala/uart/UartTx.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package uart
 import chisel3._
 import chisel3.util.Cat
diff --git a/chisel/src/main/scala/uart0/Rx.scala b/chisel/src/main/scala/uart0/Rx.scala
index 08f2be4..60e6c96 100644
--- a/chisel/src/main/scala/uart0/Rx.scala
+++ b/chisel/src/main/scala/uart0/Rx.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package uart0
 
 import chisel3._
diff --git a/chisel/src/main/scala/uart0/UartController.scala b/chisel/src/main/scala/uart0/UartController.scala
index 12ad812..7c298f2 100644
--- a/chisel/src/main/scala/uart0/UartController.scala
+++ b/chisel/src/main/scala/uart0/UartController.scala
@@ -1,3 +1,17 @@
+// SPDX-FileCopyrightText: 2020 Muhammad Hadir Khan
+//
+// 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
 package uart0
 
 import chisel3._