Exemplo n.º 1
0
 public ChangeInserter(VerilogProject project, VerilogModuleTree heirarchy)
 {
     this.project    = project;
     this.heirarchy  = heirarchy;
     this.snapArgLog = new StringBuilder();
     string[] args = new string[] { "Module Name", "# Local Dff Bits", "# Chains In", "# Chains Out", "Discrete DFFs" };
     snapArgLog.AppendLine(string.Join(",", args));
 }
Exemplo n.º 2
0
        public HomeScreen()
        {
            this.closeNow = false;
            InitializeComponent();
            StartProjectDialog startDialog = new StartProjectDialog(this);

            startDialog.ShowDialog();
            if (closeNow)
            {
                //this.Close();
            }
            else
            {
                this.moduleLibraryDisplay.Enabled   = true;
                this.moduleHeirarchyDisplay.Enabled = true;
            }
            this.project        = new VerilogProject(this.projectNameBox.Text, projectDirectory);
            this.parser         = new VerilogFileParser(this.project);
            this.project.Parser = this.parser;
            this.filesToParse   = new List <string>();
        }
Exemplo n.º 3
0
 public VerilogFileParser(VerilogProject project)
 {
     this.project = project;
 }