# Undeclared Identifiers in Conditional Generate Blocks

**URL:** <https://verificationacademy.com/forums/t/undeclared-identifiers-in-conditional-generate-blocks/29098>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, conditional, generate\
**Created:** [January 22, 2014, 5:14pm UTC](https://verificationacademy.com/forums/t/undeclared-identifiers-in-conditional-generate-blocks/29098 "2014-01-22T17:14:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [January 22, 2014, 8:30pm UTC](https://verificationacademy.com/forums/t/undeclared-identifiers-in-conditional-generate-blocks/29098/4 "2014-01-22T20:30:45Z")

</div>

_In reply to [dplumb](https://verificationacademy.com/forums/t/undeclared-identifiers-in-conditional-generate-blocks/29098/3):_

Yes, it seems that both the testbench and the DUT need to use either VPP or generate, but you can’t mix the two code generation schemes and have design references between them.

---

_[View the full topic](https://verificationacademy.com/forums/t/undeclared-identifiers-in-conditional-generate-blocks/29098)._
