M
Merciadri Luca
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I generally write
==
architecture my_arch of my_stuff is
- -- signal, etc., declarations
begin
process
- -- var declarations
begin
- -- code
end process;
end my_arch;
==
but I saw lately, in VHDL Tutorial, by Peter J. Ashenden (Ashenden
designs PTY., LTD., consultant), that he did it this way:
==
architecture my_arch of my_stuff is
- -- signal, etc., declarations
begin
process is
begin
end process;
end architecture my_arch;
==
There are two main differences between our approaches. The first is
that he uses the `is' keyword after `process'. The second is that he
writes `architecture' before the architecture's name, in the closing
line of the architecture my_arch.
Is there a reason to prefer one of the approaches to the other?
Thanks.
- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- --
You can fool all of the people some of the time, some of the people all of the time, but you can't fool all of the people all of the time. (Abraham Lincoln)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iEYEARECAAYFAkzOwuwACgkQM0LLzLt8MhxR6ACfYQjriXTSFL//tixAmPpq8Nld
JM0AoJ8C3yx/nc11jJi6vcM7tnSw5Agm
=Qs9G
-----END PGP SIGNATURE-----
Hash: SHA1
Hi,
I generally write
==
architecture my_arch of my_stuff is
- -- signal, etc., declarations
begin
process
- -- var declarations
begin
- -- code
end process;
end my_arch;
==
but I saw lately, in VHDL Tutorial, by Peter J. Ashenden (Ashenden
designs PTY., LTD., consultant), that he did it this way:
==
architecture my_arch of my_stuff is
- -- signal, etc., declarations
begin
process is
begin
end process;
end architecture my_arch;
==
There are two main differences between our approaches. The first is
that he uses the `is' keyword after `process'. The second is that he
writes `architecture' before the architecture's name, in the closing
line of the architecture my_arch.
Is there a reason to prefer one of the approaches to the other?
Thanks.
- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- --
You can fool all of the people some of the time, some of the people all of the time, but you can't fool all of the people all of the time. (Abraham Lincoln)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iEYEARECAAYFAkzOwuwACgkQM0LLzLt8MhxR6ACfYQjriXTSFL//tixAmPpq8Nld
JM0AoJ8C3yx/nc11jJi6vcM7tnSw5Agm
=Qs9G
-----END PGP SIGNATURE-----