Skip to content

Commit

Permalink
feat(atoll): make MosTile and TapTile public (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulk29 authored Jun 19, 2024
1 parent 4d5498a commit b41eb3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pdks/sky130pdk/src/atoll/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ pub enum GateDir {
///
/// This tile does not contain internal taps.
#[derive(Debug, Clone, Copy, Hash, Eq, PartialEq, Serialize, Deserialize)]
struct MosTile {
pub struct MosTile {
/// Transistor width.
w: i64,

Expand All @@ -221,7 +221,7 @@ struct MosTile {

impl MosTile {
/// Create a new MOS tile with the given physical transistor dimensions.
fn new(w: i64, len: MosLength, nf: i64) -> Self {
pub fn new(w: i64, len: MosLength, nf: i64) -> Self {
Self {
w,
len,
Expand Down Expand Up @@ -562,7 +562,7 @@ struct TapTileData {

/// A tile containing taps.
#[derive(Debug, Clone, Copy, Hash, Eq, PartialEq, Serialize, Deserialize)]
struct TapTile {
pub struct TapTile {
/// x dimension, in number of li1 tracks
xtracks: i64,
/// y dimension, in number of m1 tracks
Expand All @@ -571,7 +571,7 @@ struct TapTile {

impl TapTile {
/// Create a new tap tile with the given dimensions.
fn new(xtracks: i64, ytracks: i64) -> Self {
pub fn new(xtracks: i64, ytracks: i64) -> Self {
Self { xtracks, ytracks }
}

Expand Down

0 comments on commit b41eb3f

Please sign in to comment.