Skip to content

Commit

Permalink
This PR moves project to Apache 2.0 LICENSE (#64)
Browse files Browse the repository at this point in the history
All source files have been changed to use
SPDX license: https://spdx.org/licenses/
Also changed build.sbt and build.sc
  • Loading branch information
chick authored Sep 29, 2020
1 parent 18d1505 commit 074a208
Show file tree
Hide file tree
Showing 28 changed files with 35 additions and 359 deletions.
7 changes: 7 additions & 0 deletions LICENSE.apache → LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,10 @@
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

------------------------------------------------------------------------
Note:
Individual files contain the following tag instead of the full license text.

// SPDX-License-Identifier: Apache-2.0

26 changes: 0 additions & 26 deletions LICENSE.bsd

This file was deleted.

3 changes: 0 additions & 3 deletions LICENSE.txt

This file was deleted.

2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0

name := "firrtl-diagrammer"

resolvers ++= Seq(
Expand Down
2 changes: 2 additions & 0 deletions build.sc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0

import ammonite.ops._
import ammonite.ops.ImplicitWd._
import mill._
Expand Down
16 changes: 1 addition & 15 deletions src/main/scala/dotvisualizer/FirrtlDiagrammer.scala
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
/*
Copyright 2020 The Regents of the University of California (Regents)
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 dotvisualizer

Expand Down
16 changes: 1 addition & 15 deletions src/main/scala/dotvisualizer/Scope.scala
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
/*
Copyright 2020 The Regents of the University of California (Regents)
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 dotvisualizer

Expand Down
16 changes: 1 addition & 15 deletions src/main/scala/dotvisualizer/ToLoFirrtl.scala
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
/*
Copyright 2020 The Regents of the University of California (Regents)
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 dotvisualizer

Expand Down
2 changes: 2 additions & 0 deletions src/main/scala/dotvisualizer/dotnodes/DotNode.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0

package dotvisualizer.dotnodes

import scala.collection.mutable.ArrayBuffer
Expand Down
16 changes: 1 addition & 15 deletions src/main/scala/dotvisualizer/dotnodes/LiteralNode.scala
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
/*
Copyright 2020 The Regents of the University of California (Regents)
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 dotvisualizer.dotnodes

Expand Down
16 changes: 1 addition & 15 deletions src/main/scala/dotvisualizer/dotnodes/MemNode.scala
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
/*
Copyright 2020 The Regents of the University of California (Regents)
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 dotvisualizer.dotnodes

Expand Down
16 changes: 1 addition & 15 deletions src/main/scala/dotvisualizer/dotnodes/ModuleNode.scala
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
/*
Copyright 2020 The Regents of the University of California (Regents)
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 dotvisualizer.dotnodes

Expand Down
16 changes: 1 addition & 15 deletions src/main/scala/dotvisualizer/dotnodes/MuxNode.scala
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
/*
Copyright 2020 The Regents of the University of California (Regents)
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 dotvisualizer.dotnodes

Expand Down
16 changes: 1 addition & 15 deletions src/main/scala/dotvisualizer/dotnodes/NodeNode.scala
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
/*
Copyright 2020 The Regents of the University of California (Regents)
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 dotvisualizer.dotnodes

Expand Down
16 changes: 1 addition & 15 deletions src/main/scala/dotvisualizer/dotnodes/PortNode.scala
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
/*
Copyright 2020 The Regents of the University of California (Regents)
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 dotvisualizer.dotnodes

Expand Down
16 changes: 1 addition & 15 deletions src/main/scala/dotvisualizer/dotnodes/PrimOpNode.scala
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
/*
Copyright 2020 The Regents of the University of California (Regents)
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 dotvisualizer.dotnodes

Expand Down
16 changes: 1 addition & 15 deletions src/main/scala/dotvisualizer/dotnodes/PrintfNode.scala
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
/*
Copyright 2020 The Regents of the University of California (Regents)
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 dotvisualizer.dotnodes

Expand Down
16 changes: 1 addition & 15 deletions src/main/scala/dotvisualizer/dotnodes/RegisterNode.scala
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
/*
Copyright 2020 The Regents of the University of California (Regents)
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 dotvisualizer.dotnodes

Expand Down
16 changes: 1 addition & 15 deletions src/main/scala/dotvisualizer/dotnodes/ValidIfNode.scala
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
/*
Copyright 2020 The Regents of the University of California (Regents)
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 dotvisualizer.dotnodes

Expand Down
16 changes: 1 addition & 15 deletions src/main/scala/dotvisualizer/transforms/MakeDiagramGroup.scala
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
/*
Copyright 2020 The Regents of the University of California (Regents)
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 dotvisualizer.transforms

Expand Down
16 changes: 1 addition & 15 deletions src/main/scala/dotvisualizer/transforms/MakeOneDiagram.scala
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
/*
Copyright 2020 The Regents of the University of California (Regents)
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 dotvisualizer.transforms

Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
/*
Copyright 2020 The Regents of the University of California (Regents)
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 dotvisualizer.transforms

Expand Down
16 changes: 1 addition & 15 deletions src/main/scala/dotvisualizer/transforms/RemoveTempWires.scala
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
/*
Copyright 2020 The Regents of the University of California (Regents)
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 dotvisualizer.transforms

Expand Down
Loading

0 comments on commit 074a208

Please sign in to comment.