Skip to content

Commit

Permalink
Merge pull request #37 from ogamespec/main
Browse files Browse the repository at this point in the history
GetVerilog script integrated with Deroute
  • Loading branch information
ogamespec authored Jan 17, 2023
2 parents 6113ade + 927f86f commit 1a07a95
Show file tree
Hide file tree
Showing 14 changed files with 21,366 additions and 7,148 deletions.
24 changes: 12 additions & 12 deletions Deroute/About.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25,794 changes: 20,650 additions & 5,144 deletions Deroute/About.resx

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Deroute/DerouteSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
<Compile Include="FormTrainMLModel.Designer.cs">
<DependentUpon>FormTrainMLModel.cs</DependentUpon>
</Compile>
<Compile Include="GraphMLExport.cs" />
<Compile Include="GetVerilog.cs" />
<Compile Include="KeyBind.cs">
<SubType>Form</SubType>
</Compile>
Expand Down
44 changes: 22 additions & 22 deletions Deroute/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions Deroute/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,10 @@ private void saveSceneAsNetlistToolStripMenuItem_Click(object sender, EventArgs

if (result == DialogResult.OK)
{
string text = GraphMLExport.ExportEntitiesNetlist(entityBox1.GetEntities(), entityBox1.ViasBaseSize);

File.WriteAllText(saveFileDialog3.FileName, text);
string verilog_name = saveFileDialog3.FileName;
string text = GetVerilog.EntitiesToVerilogSource(entityBox1, Path.GetFileNameWithoutExtension(verilog_name));
File.WriteAllText(verilog_name, text, Encoding.ASCII);
MessageBox.Show("Verilog successfully exported to file: " + verilog_name, "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}

Expand Down
Loading

0 comments on commit 1a07a95

Please sign in to comment.