On Friday, January 26, 2018 08:03 PM, Kustaa Nyholm wrote:
I was looking for guidance/ideas for a less ambitious approach, something
like (sorry to borrow C syntax here):

#ifdef FOR_REAL_HARDWARE
         self.specials += Instance("vhdlmodule", ......
#elseif
        self.specials += ...migen version of vhdlmodule ...
#endif

Just don't do that, this is a good way to get simulation/synthesis mismatches and corresponding insufferable bugs.
_______________________________________________
M-Labs devel mailing list
https://ssl.serverraum.org/lists/listinfo/devel

Reply via email to