Skip to content

Commit b8df76a

Browse files
committed
ram: fixed comments and added block die area
Signed-off-by: braydenl9988 <[email protected]>
1 parent a03644e commit b8df76a

File tree

9 files changed

+47
-297
lines changed

9 files changed

+47
-297
lines changed

src/ram/include/ram/MakeRam.h

Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,5 @@
1-
/////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Copyright (c) 2023, Precision Innovations Inc.
4-
// All rights reserved.
5-
//
6-
// BSD 3-Clause License
7-
//
8-
// Redistribution and use in source and binary forms, with or without
9-
// modification, are permitted provided that the following conditions are met:
10-
//
11-
// * Redistributions of source code must retain the above copyright notice, this
12-
// list of conditions and the following disclaimer.
13-
//
14-
// * Redistributions in binary form must reproduce the above copyright notice,
15-
// this list of conditions and the following disclaimer in the documentation
16-
// and/or other materials provided with the distribution.
17-
//
18-
// * Neither the name of the copyright holder nor the names of its
19-
// contributors may be used to endorse or promote products derived from
20-
// this software without specific prior written permission.
21-
//
22-
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23-
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24-
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25-
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
26-
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27-
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28-
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29-
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30-
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31-
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32-
// POSSIBILITY OF SUCH DAMAGE.
33-
///////////////////////////////////////////////////////////////////////////////
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
// Copyright (c) 2024-2025, The OpenROAD Authors
343

354
#pragma once
365

src/ram/include/ram/ram.h

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,5 @@
1-
/////////////////////////////////////////////////////////////////////////////
2-
// BSD 3-Clause License
3-
//
4-
// Copyright (c) 2023, Precision Innovations Inc.
5-
// All rights reserved.
6-
//
7-
// Redistribution and use in source and binary forms, with or without
8-
// modification, are permitted provided that the following conditions are met:
9-
//
10-
// * Redistributions of source code must retain the above copyright notice, this
11-
// list of conditions and the following disclaimer.
12-
//
13-
// * Redistributions in binary form must reproduce the above copyright notice,
14-
// this list of conditions and the following disclaimer in the documentation
15-
// and/or other materials provided with the distribution.
16-
//
17-
// * Neither the name of the copyright holder nor the names of its
18-
// contributors may be used to endorse or promote products derived from
19-
// this software without specific prior written permission.
20-
//
21-
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22-
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23-
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24-
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
25-
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26-
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27-
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28-
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29-
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30-
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31-
// POSSIBILITY OF SUCH DAMAGE.
32-
///////////////////////////////////////////////////////////////////////////////
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
// Copyright (c) 2024-2025, The OpenROAD Authors
333

344
#pragma once
355

@@ -107,8 +77,7 @@ std::unique_ptr<Cell> makeCellBit(
10777
const std::array<odb::dbNet*, 8>& data_input,
10878
const std::vector<std::array<odb::dbBTerm*, 8>>& data_output);
10979

110-
odb::dbBTerm* makeBTerm(const std::string& name);
111-
odb::dbBTerm* makeOutputBTerm(const std::string& name);
80+
odb::dbBTerm* makeBTerm(const std::string& name, odb::dbIoType io_type);
11281

11382
std::unique_ptr<Cell> makeDecoder (const std::string& prefix,
11483
const int num_word, const int read_ports,
@@ -128,7 +97,6 @@ std::unique_ptr<Cell> makeCellBit(
12897
odb::dbMaster* and2_cell_;
12998
odb::dbMaster* clock_gate_cell_;
13099
odb::dbMaster* buffer_cell_;
131-
odb::dbMaster* filler_cell_;
132100

133101
};
134102

src/ram/src/MakeRam.cpp

Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,5 @@
1-
/////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Copyright (c) 2023, Precision Innovations Inc.
4-
// All rights reserved.
5-
//
6-
// BSD 3-Clause License
7-
//
8-
// Redistribution and use in source and binary forms, with or without
9-
// modification, are permitted provided that the following conditions are met:
10-
//
11-
// * Redistributions of source code must retain the above copyright notice, this
12-
// list of conditions and the following disclaimer.
13-
//
14-
// * Redistributions in binary form must reproduce the above copyright notice,
15-
// this list of conditions and the following disclaimer in the documentation
16-
// and/or other materials provided with the distribution.
17-
//
18-
// * Neither the name of the copyright holder nor the names of its
19-
// contributors may be used to endorse or promote products derived from
20-
// this software without specific prior written permission.
21-
//
22-
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23-
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24-
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25-
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
26-
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27-
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28-
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29-
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30-
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31-
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32-
// POSSIBILITY OF SUCH DAMAGE.
33-
///////////////////////////////////////////////////////////////////////////////
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
// Copyright (c) 2024-2025, The OpenROAD Authors
343

354
#include "ram/MakeRam.h"
365

src/ram/src/layout.cpp

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,5 @@
1-
/////////////////////////////////////////////////////////////////////////////
2-
// BSD 3-Clause License
3-
//
4-
// Copyright (c) 2023, Precision Innovations Inc.
5-
// All rights reserved.
6-
//
7-
// Redistribution and use in source and binary forms, with or without
8-
// modification, are permitted provided that the following conditions are met:
9-
//
10-
// * Redistributions of source code must retain the above copyright notice, this
11-
// list of conditions and the following disclaimer.
12-
//
13-
// * Redistributions in binary form must reproduce the above copyright notice,
14-
// this list of conditions and the following disclaimer in the documentation
15-
// and/or other materials provided with the distribution.
16-
//
17-
// * Neither the name of the copyright holder nor the names of its
18-
// contributors may be used to endorse or promote products derived from
19-
// this software without specific prior written permission.
20-
//
21-
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22-
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23-
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24-
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
25-
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26-
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27-
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28-
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29-
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30-
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31-
// POSSIBILITY OF SUCH DAMAGE.
32-
///////////////////////////////////////////////////////////////////////////////
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
// Copyright (c) 2024-2025, The OpenROAD Authors
333

344
#include "layout.h"
355

src/ram/src/layout.h

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,5 @@
1-
/////////////////////////////////////////////////////////////////////////////
2-
// BSD 3-Clause License
3-
//
4-
// Copyright (c) 2023, Precision Innovations Inc.
5-
// All rights reserved.
6-
//
7-
// Redistribution and use in source and binary forms, with or without
8-
// modification, are permitted provided that the following conditions are met:
9-
//
10-
// * Redistributions of source code must retain the above copyright notice, this
11-
// list of conditions and the following disclaimer.
12-
//
13-
// * Redistributions in binary form must reproduce the above copyright notice,
14-
// this list of conditions and the following disclaimer in the documentation
15-
// and/or other materials provided with the distribution.
16-
//
17-
// * Neither the name of the copyright holder nor the names of its
18-
// contributors may be used to endorse or promote products derived from
19-
// this software without specific prior written permission.
20-
//
21-
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22-
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23-
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24-
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
25-
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26-
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27-
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28-
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29-
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30-
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31-
// POSSIBILITY OF SUCH DAMAGE.
32-
///////////////////////////////////////////////////////////////////////////////
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
// Copyright (c) 2024-2025, The OpenROAD Authors
333

344
#pragma once
355

0 commit comments

Comments
 (0)