While Managing Blue Streak, I had a 30,000 sq. foot warehouse full of ecus.
I compared every bosch ecu sorting by connector and found many to be near identical to the nissan ecu from 1975 to 1983 non-turbo nissans with minor component differences from S30 to S130 applications.
Of course, the tunes on the rom are different for each application but I ran a 1984 maxima with turbo bits bolted on at 5psi for about 30,000 miles without any issues on non-turbo injectors but I did use a 1982 280zx ecu and air flow meter which might have allowed for more fuel flow as it was intended for an engine .4 liters larger.
The 280zx turbo ecus were the first in the newer nissan specific ecus that later ended up in the z31.
This doesn't mean you can put a datsun ecu in a bmw 530I but many of the components such as injector and coil drivers are similar (darlington...etc).