Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Thread safe

Altera_Forum
Honored Contributor II
978 Views

Hello, 

 

in this forum someone said me that drivers of the jtag output are not thread safe, and the same for the Altera's macro to write in a cell of memory. Which is the reason? They are not reentrant? Or the reason is that are not predicibility? 

 

Thank you
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
320 Views

They are not reentrant. The JTAG Uart driver functions assume they have exclusive access to the component, and when you call them from two threads simultaneously strange things happen. 

At least this was what I saw a few years ago (Quartus II 7.2 IIRC) and it may have been fixed since.
0 Kudos
Reply