m-labs / nmigen

A refreshed Python toolbox for building complex digital hardware. See https://gitlab.com/nmigen/nmigen
https://nmigen.org
Other
646 stars 55 forks source link

Add option to specify spec_name #338

Closed DonaldKellett closed 3 years ago

DonaldKellett commented 3 years ago

When attempting to parallelize verification tasks from within the same file, the sby verification tasks may encounter an error due to an attempt to access the same directory simultaneously, arising from a name collision in the generated spec_name. Adding the option to specify spec_name within assertFormal allows the caller to manually resolve such issues, while maintaining full backwards compatibility with existing scripts.