Changing a variable when simulating??

Joined
Jun 4, 2007
Messages
1
Reaction score
0
How would one go about setting a variable when you are simulating. I want to have some variables set differently when I am simulating vs when I am using real hardware. The reason for this is that I am using a 16K serial EEPROM model that I got off the web, but my design really uses a 32K. I need to change my addressing scheme when I am simulating.

Thanks in advance,
Stan
 
Joined
Nov 21, 2006
Messages
31
Reaction score
0
You can make use of generic statement and then you can change it during your simulation.

:driver:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,533
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top