New implementation of bipolar semiconductor memory