-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
29bca45
commit 4dda06d
Showing
852 changed files
with
7,417 additions
and
440,857 deletions.
There are no files selected for viewing
Binary file modified
BIN
+17.2 KB
(160%)
...atic/img/examples/03a_sax_active_cosimulation/simple_ideal_o3_mzi_2x2_plots.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+16.6 KB
(160%)
...atic/img/examples/03a_sax_active_cosimulation/simple_ideal_o4_mzi_2x2_plots.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.01 KB
(110%)
docs/_static/img/examples/04_spice_cosimulation/linear_phase_power_mapping.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+16.6 KB
(140%)
docs/_static/img/examples/04_spice_cosimulation/simple_ideal_o3_mzi_2x2_plots.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+20.7 KB
(150%)
docs/_static/img/examples/04_spice_cosimulation/simple_ideal_o4_mzi_2x2_plots.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+5.87 KB
(120%)
docs/_static/img/examples/04_spice_cosimulation/simple_transient_plot.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+37.7 KB
(200%)
docs/_static/img/examples/04_spice_cosimulation/simple_transient_plot_full.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.04 KB
(110%)
...c/img/examples/04_spice_cosimulation/simple_transient_plot_power_resistance.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+154 KB
..._static/img/examples/07_full_flow_demo_electronic_photonic/demo_design_flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+74.7 KB
docs/_static/img/examples/07_full_flow_demo_electronic_photonic/demo_schematic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+29 KB
...img/examples/07_full_flow_demo_electronic_photonic/example_gtk_wave_signals.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
Empty file.
Empty file.
Empty file.
89 changes: 89 additions & 0 deletions
89
...design_simulation/openlane_run/TruthTableModule/TruthTableModule/src/truth_table_module.v
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
/* Generated by Yosys 0.38 (git sha1 543faed9c8c, clang++ 17.0.6 -fPIC -Os) */ | ||
|
||
(* top = 1 *) | ||
(* generator = "Amaranth" *) | ||
module top(phase_map_out, clk, rst, detector_in); | ||
reg \$auto$verilog_backend.cc:2334:dump_module$1 = 0; | ||
(* src = "/home/daquintero/.pyenv/versions/3.10.13/envs/piel_0_57/lib/python3.10/site-packages/amaranth/hdl/ir.py:508" *) | ||
input clk; | ||
wire clk; | ||
(* src = "/home/daquintero/phd/piel/piel/tools/amaranth/construct.py:139" *) | ||
input [1:0] detector_in; | ||
wire [1:0] detector_in; | ||
(* src = "/home/daquintero/phd/piel/piel/tools/amaranth/construct.py:160" *) | ||
reg [1:0] next_state = 2'h0; | ||
(* src = "/home/daquintero/phd/piel/piel/tools/amaranth/construct.py:160" *) | ||
reg [1:0] \next_state$next ; | ||
(* src = "/home/daquintero/phd/piel/piel/tools/amaranth/construct.py:141" *) | ||
output [1:0] phase_map_out; | ||
reg [1:0] phase_map_out = 2'h0; | ||
(* src = "/home/daquintero/phd/piel/piel/tools/amaranth/construct.py:141" *) | ||
reg [1:0] \phase_map_out$next ; | ||
(* src = "/home/daquintero/.pyenv/versions/3.10.13/envs/piel_0_57/lib/python3.10/site-packages/amaranth/hdl/ir.py:508" *) | ||
input rst; | ||
wire rst; | ||
(* src = "/home/daquintero/phd/piel/piel/tools/amaranth/construct.py:154" *) | ||
reg [1:0] state = 2'h0; | ||
(* src = "/home/daquintero/phd/piel/piel/tools/amaranth/construct.py:154" *) | ||
reg [1:0] \state$next ; | ||
always @(posedge clk) | ||
state <= \state$next ; | ||
always @(posedge clk) | ||
next_state <= \next_state$next ; | ||
always @(posedge clk) | ||
phase_map_out <= \phase_map_out$next ; | ||
always @* begin | ||
if (\$auto$verilog_backend.cc:2334:dump_module$1 ) begin end | ||
\state$next = next_state; | ||
(* src = "/home/daquintero/.pyenv/versions/3.10.13/envs/piel_0_57/lib/python3.10/site-packages/amaranth/hdl/xfrm.py:503" *) | ||
if (rst) begin | ||
\state$next = 2'h0; | ||
end | ||
end | ||
always @* begin | ||
if (\$auto$verilog_backend.cc:2334:dump_module$1 ) begin end | ||
(* full_case = 32'd1 *) | ||
(* src = "/home/daquintero/phd/piel/piel/tools/amaranth/construct.py:165" *) | ||
casez (detector_in) | ||
/* src = "/home/daquintero/phd/piel/piel/tools/amaranth/construct.py:168" */ | ||
2'h0: | ||
\next_state$next = 2'h0; | ||
/* src = "/home/daquintero/phd/piel/piel/tools/amaranth/construct.py:168" */ | ||
2'h1: | ||
\next_state$next = 2'h1; | ||
/* src = "/home/daquintero/phd/piel/piel/tools/amaranth/construct.py:168" */ | ||
2'h2: | ||
\next_state$next = 2'h2; | ||
/* src = "/home/daquintero/phd/piel/piel/tools/amaranth/construct.py:168" */ | ||
2'h3: | ||
\next_state$next = 2'h3; | ||
endcase | ||
(* src = "/home/daquintero/.pyenv/versions/3.10.13/envs/piel_0_57/lib/python3.10/site-packages/amaranth/hdl/xfrm.py:503" *) | ||
if (rst) begin | ||
\next_state$next = 2'h0; | ||
end | ||
end | ||
always @* begin | ||
if (\$auto$verilog_backend.cc:2334:dump_module$1 ) begin end | ||
(* full_case = 32'd1 *) | ||
(* src = "/home/daquintero/phd/piel/piel/tools/amaranth/construct.py:165" *) | ||
casez (detector_in) | ||
/* src = "/home/daquintero/phd/piel/piel/tools/amaranth/construct.py:168" */ | ||
2'h0: | ||
\phase_map_out$next = 2'h0; | ||
/* src = "/home/daquintero/phd/piel/piel/tools/amaranth/construct.py:168" */ | ||
2'h1: | ||
\phase_map_out$next = 2'h2; | ||
/* src = "/home/daquintero/phd/piel/piel/tools/amaranth/construct.py:168" */ | ||
2'h2: | ||
\phase_map_out$next = 2'h3; | ||
/* src = "/home/daquintero/phd/piel/piel/tools/amaranth/construct.py:168" */ | ||
2'h3: | ||
\phase_map_out$next = 2'h3; | ||
endcase | ||
(* src = "/home/daquintero/.pyenv/versions/3.10.13/envs/piel_0_57/lib/python3.10/site-packages/amaranth/hdl/xfrm.py:503" *) | ||
if (rst) begin | ||
\phase_map_out$next = 2'h0; | ||
end | ||
end | ||
endmodule |
Empty file.
1 change: 1 addition & 0 deletions
1
...mples/02_digital_design_simulation/openlane_run/TruthTableModule/docs/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TruthTableModule |
11 changes: 11 additions & 0 deletions
11
docs/examples/02_digital_design_simulation/openlane_run/TruthTableModule/setup.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env python | ||
from distutils.core import setup | ||
|
||
setup(name="TruthTableModule", | ||
version="0.0.1", | ||
description="Example empty piel project." | ||
, author="Dario Quintero", | ||
author_email="[email protected]", | ||
url="https://github.com/daquintero/piel", | ||
packages=['TruthTableModule'], | ||
) |
24 changes: 0 additions & 24 deletions
24
docs/examples/02_digital_design_simulation/our_truth_table_module.vcd
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
from openlane.flows import SequentialFlow | ||
from openlane.steps import Yosys, Misc, OpenROAD, Magic, Netgen | ||
|
||
class MyFlow(SequentialFlow): | ||
Steps = [ | ||
Yosys.Synthesis, | ||
OpenROAD.Floorplan, | ||
OpenROAD.TapEndcapInsertion, | ||
OpenROAD.GeneratePDN, | ||
OpenROAD.IOPlacement, | ||
OpenROAD.GlobalPlacement, | ||
OpenROAD.DetailedPlacement, | ||
OpenROAD.GlobalRouting, | ||
OpenROAD.DetailedRouting, | ||
OpenROAD.FillInsertion, | ||
Magic.StreamOut, | ||
Magic.DRC, | ||
Magic.SpiceExtraction, | ||
Netgen.LVS | ||
] | ||
|
||
flow = MyFlow( | ||
{ | ||
"PDK": "sky130A", | ||
"DESIGN_NAME": "top", | ||
"VERILOG_FILES": ["/home/daquintero/phd/piel/docs/examples/designs/amaranth_driven_flow/amaranth_driven_flow/src/truth_table_module.v"], | ||
"CLOCK_PORT": "clk", | ||
"CLOCK_PERIOD": 10, | ||
}, | ||
design_dir=".", | ||
) | ||
flow.start() |
20 changes: 10 additions & 10 deletions
20
...esign_simulation/our_truth_table_module.v → ...al_design_simulation/truth_table_module.v
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.