Created synthesizable block RAM entity.
- Added missing signals to the sensitivity list.
- Removed some inferred latches.