hdl/modules/sp_cores_pkg.vhd: add machine name constant

This is a temporary solution to supporting multiple
ring parameters. This constant should be modified
to the correct machine name as needed
hdl/*/position_calc/generated/*: add parametrized function

Instead of hardcoded filename paths we use a utility function
that does the job for us.