[qflow] 04/11: Corrected a bad error in the ypostproc.tcl script that was deleting the first cell of any netlist that contains the line ".names $undef", a line that has been generated by recent versions of yosys. Naturally, this produces bad output. . .

Ruben Undheim rubund-guest at moszumanska.debian.org
Thu Apr 16 18:01:06 UTC 2015


This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to tag upstream/1.0.93
in repository qflow.

commit 61af3ca19b729aa13417cb2b7a8a852e88c07a4b
Author: Tim Edwards <tim at opencircuitdesign.com>
Date:   Thu Feb 26 20:11:38 2015 -0500

    Corrected a bad error in the ypostproc.tcl script that was
    deleting the first cell of any netlist that contains the
    line ".names $undef", a line that has been generated by
    recent versions of yosys.  Naturally, this produces bad
    output. . .
---
 scripts/ypostproc.tcl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/ypostproc.tcl b/scripts/ypostproc.tcl
index d317341..06b98e2 100755
--- a/scripts/ypostproc.tcl
+++ b/scripts/ypostproc.tcl
@@ -112,7 +112,7 @@ while {1} {
    # pruned. . . 
 
    if [regexp {^.names} $line lmatch] {
-      if {![regexp {\$false$} $line lmatch]} {
+      if {[regexp {\$true$} $line lmatch]} {
          set line [string map [subst {\\\$false $gndnet \\\$true $vddnet}] $line]
 	 if [regexp {^.names[ \t]+([^ \t]+)[ \t]+([^ \t]+)[ \t]*$} $line lmatch sigin sigout] {
 	    puts $onet ".gate ${bufcell} ${bufpin_in}=${sigin} ${bufpin_out}=${sigout}"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/qflow.git



More information about the debian-science-commits mailing list