A
avishay
Guest
Hello all,
I'm designing a testbench that should work on a real device (i.e.
synthesizable). When working that way, it receives clock and reset from
and external source. However, when I simulate it (I use Modelsim) I
have to generate clock and reset myself, using unsynthesizable code. My
question is whether there is a way to make a single source file compile
differently in the synthesizer (I use Quartus) and in the simulator.
Thanks for any help
Avishay Orpaz
I'm designing a testbench that should work on a real device (i.e.
synthesizable). When working that way, it receives clock and reset from
and external source. However, when I simulate it (I use Modelsim) I
have to generate clock and reset myself, using unsynthesizable code. My
question is whether there is a way to make a single source file compile
differently in the synthesizer (I use Quartus) and in the simulator.
Thanks for any help
Avishay Orpaz