Related articles |
---|
constatnt initialization csosz77@axelero.hu (2003-12-03) |
Re: constatnt initialization wbs@wschindler.net (2003-12-08) |
Re: constatnt initialization clint@0lsen.net (Clint Olsen) (2003-12-13) |
Re: constatnt initialization nick.roberts@acm.org (Nick Roberts) (2003-12-13) |
Re: constatnt initialization joachim.durchholz@web.de (Joachim Durchholz) (2003-12-14) |
From: | wbs@wschindler.net (Bill) |
Newsgroups: | comp.compilers |
Date: | 8 Dec 2003 00:30:14 -0500 |
Organization: | http://groups.google.com |
References: | 03-12-046 |
Keywords: | code |
Posted-Date: | 08 Dec 2003 00:30:14 EST |
csosz77@axelero.hu (Attila Csosz) wrote
> I'm working a VHDL (hardware description language)
> compiler/interpreter. The language has a complex type system (like
> Pascal).
>
> There are constant initialziation in format
>
> constant name: type := expression;
>
> My question: how to check that this can be assigned? I generate
> pseudo-code. The "type" can complex: like multidimensional arrays
> containing records. Can you draft me how do it?
You are not at all clear what you are trying to do. Good you have the
Dragon book, so I assume that you want to write a syntax / semantics
checker for Verilog (I use it for CPLD and FPGA design).
Why not just let the VHDL compiler to issue an error, most do. So it
is not clear what you want to do.
Return to the
comp.compilers page.
Search the
comp.compilers archives again.