Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions docs/docusaurus/docs/getting-started/inverter/assets/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@ Ensure that you have the [protocol buffer compiler](https://grpc.io/docs/protoc-
### Rust

Ensure that you have a recent version of Rust installed.
{ isRelease("{{VERSION}}") ? <div>
Add the Substrate registry to your Cargo config:

<SubstrateRegistryConfig/>

You only need to do this the first time you set up Substrate.
</div> : <div/> }

### Project Setup

Expand Down
7 changes: 2 additions & 5 deletions docs/docusaurus/docs/getting-started/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,12 @@ Ensure that you have version 1.80.0 or beyond.

Also ensure that you have the [protocol buffer compiler](https://grpc.io/docs/protoc-installation/) (`protoc`) installed.

{ isRelease("{{VERSION}}") ? <div>
First, add the Substrate registry to your Cargo config:
Then, add the Substrate registry to your Cargo config:

<SubstrateRegistryConfig/>

You only need to do this the first time you set up Substrate.

</div> : <div/> }

Next, create a new Rust project:

```bash
Expand Down Expand Up @@ -70,7 +67,7 @@ We now define the schematic of the voltage divider.

We can now write a Rust unit test to write the netlist to a file.

<CodeSnippet language="rust" title="lib/tb.rs" snippet="tests">{vdividerMod}</CodeSnippet>
<CodeSnippet language="rust" title="src/lib.rs" snippet="tests">{vdividerMod}</CodeSnippet>

To run the test, run

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@ Ensure that you have the [protocol buffer compiler](https://grpc.io/docs/protoc-
### Rust

Ensure that you have a recent version of Rust installed.
{ isRelease("{{VERSION}}") ? <div>
Add the Substrate registry to your Cargo config:

<SubstrateRegistryConfig/>

You only need to do this the first time you set up Substrate.
</div> : <div/> }

### Project Setup

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ We now define the schematic of the voltage divider.

We can now write a Rust unit test to write the netlist to a file.

<CodeSnippet language="rust" title="lib/tb.rs" snippet="tests">{vdividerMod}</CodeSnippet>
<CodeSnippet language="rust" title="src/lib.rs" snippet="tests">{vdividerMod}</CodeSnippet>

To run the test, run

Expand Down
2 changes: 0 additions & 2 deletions examples/latest/sky130_inverter/src/tb/cds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ use substrate::types::{Signal, TestbenchIo};

#[allow(dead_code)]
mod schematic_only_tb {
use sky130::Sky130CdsSchema;

use super::*;

// begin-code-snippet schematic-tb
Expand Down
2 changes: 0 additions & 2 deletions examples/release/sky130_inverter/src/tb/cds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ use substrate::types::{Signal, TestbenchIo};

#[allow(dead_code)]
mod schematic_only_tb {
use sky130::Sky130CdsSchema;

use super::*;

// begin-code-snippet schematic-tb
Expand Down
Loading