home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.verilog
- Path: sparky!uunet!mcsun!sunic!ericom!eos.ericsson.se!etxmesa
- From: etxmesa@eos.ericsson.se (Michael Salmon)
- Subject: Reliability of `undef
- Message-ID: <1992Jul29.071431.172@ericsson.se>
- Keywords: verilog-xl `undef
- Sender: news@ericsson.se
- Nntp-Posting-Host: eos6c02.ericsson.se
- Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
- Organization: Ericsson Telecom AB
- Date: Wed, 29 Jul 1992 07:14:31 GMT
- Lines: 26
-
- I am trying to include a computer generated casex into a verilog model.
- The inclusion was performed painlessly using `include however the casex
- has to be included in several places with different statements used in
- each place. To get around this the include file has numerous `ifdefs.
- My problem is that the `defines stay defined so if I `define a in
- module A and b in module B then in effect I get ab in module B. I
- guessed that an `undef existed but I couldn't find it in the
- documentation so I used strings to scan the executable and found the
- keyword, tried inserting `undefs and all worked as I wanted. Now I am
- worried about using an undocumented feature and about synthesising. I
- am using VERILOG-XL 1.6.0.1 and I wondered if anyone had any comments
- on my dilema. BTW basically my only control over the include file is to
- post process it, I can't change its format.
-
- Thank you in advance.
-
- --
-
- Michael Salmon
-
- #include <standard.disclaimer>
- #include <witty.saying>
- #include <fancy.pseudo.graphics>
-
- Ericsson Telecom AB
- Stockholm
-