X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Virus-Scanned: by amavisd-new using ClamAV at gnubox.info From: "Simon P (simon DOT git AT le-huit DOT fr) [via geda-user AT delorie DOT com]" Subject: [geda-user] Re: [vhd2vl] bug: array types, array init, '-', when others. To: geda-user AT delorie DOT com References: <56E5E13B DOT 5080904 AT le-huit DOT fr> <20160314024213 DOT GA2612 AT revenge DOT localdomain> <56E93994 DOT 8030409 AT le-huit DOT fr> Message-ID: <5735E37D.8080608@le-huit.fr> Date: Fri, 13 May 2016 16:23:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0 MIME-Version: 1.0 In-Reply-To: <56E93994.8030409@le-huit.fr> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u4DEOeTq024015 Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Hi Larry, Le 16/03/2016 11:46, Simon a écrit : > I will produce more clean code in a new branch of my repo during the > next week-end. My code is cleaner now and partitioning in branches. All features/bug-fix branches are merged into the branch "vhdl2vl-simon". https://www.le-huit.fr/dev/vhd2vl4augh/git/vhdl2vl-simon/ to get it: git clone https://www.le-huit.fr/dev/vhd2vl4augh.git git checkout vhdl2vl-simon Branch "gitignore": just add a .gitignore file to ignore build files. Branch "function-to_integer": an expr can use a CONVFUNC_1. add to_integer as CONVFUNC_1 like conv_integer. Branch "convfunc_1_and_bitvect": CONVFUNC_1 and CONVFUNC_2 return a string containing the function name (usefull for a warning in branch "ignore-function-declaration") Allow to have a BITVEC as CONVFUNC_1 argument. Branch "ignore-function-declaration": Function declaration are now parsed, but it is ignored and a warning is emitted with the function name. It should be cool to enable/disable this feature by command line but I don't know how doing this with bison/flex. Branch "array-declaration-bugfix": bug fix: no delete declaration before array type declaration. Branch "array-init" add support of array init, useful for BRAM initial values in FPGA targets. What I don't fix: - "when others" is not fixed: > vhdl2vl doesn't support "when others=>" vhdl feature when it is mixed > with others assignation, for example: > a<=(1=>'0',6=>'0',when others=>'1'); - "-"/"U"/"X" is not fixed: > vhd2vl doesn't support the '-' std_logic character. Simon.